Skip to content

Commit

Permalink
Use sage_ prefix for the main temporary directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
tornaria committed Dec 24, 2024
1 parent 54fc1e6 commit 1e5947a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/temporary_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# as the parent for all temporary files & directories created by them.
# This lets us clean up after those two functions when sage exits normally
# using an atexit hook
TMP_DIR_FILENAME_BASE = tempfile.TemporaryDirectory()
TMP_DIR_FILENAME_BASE = tempfile.TemporaryDirectory(prefix='sage_')
atexit.register(lambda: TMP_DIR_FILENAME_BASE.cleanup())


Expand Down

0 comments on commit 1e5947a

Please sign in to comment.