aboutsummaryrefslogtreecommitdiff
path: root/setjmp
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-10-29 17:49:07 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-10-29 17:49:07 +0000
commit954cf3c29bd0b32bd11d5235b7e36148b187e77d (patch)
treea04ccceb5f3d1297961da55309aaf36b003be093 /setjmp
parentc6982f7efc1c70fe2d6160a87ee44d871ac85ab0 (diff)
downloadglibc-954cf3c29bd0b32bd11d5235b7e36148b187e77d.tar
glibc-954cf3c29bd0b32bd11d5235b7e36148b187e77d.tar.gz
glibc-954cf3c29bd0b32bd11d5235b7e36148b187e77d.tar.bz2
glibc-954cf3c29bd0b32bd11d5235b7e36148b187e77d.zip
Use tempfile.TemporaryDirectory in conform/glibcconform.py.
Now that we require Python 3.4 or later, Python code creating temporary directories can use tempfile.TemporaryDirectory in "with" to have the directory deleted automatically instead of needing to use try/finally to handle removing a directory created with tempfile.mkdtemp. This patch does so in conform/glibcconform.py. Tested for x86_64. * conform/glibcconform.py: Do not import shutil. (list_exported_functions): Use tempfile.TemporaryDirectory instead of mkdtemp.
Diffstat (limited to 'setjmp')
0 files changed, 0 insertions, 0 deletions