Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sage.misc.temporary_file: Remove use of SAGE_TMP #33797

Closed
mkoeppe opened this issue May 4, 2022 · 7 comments
Closed

sage.misc.temporary_file: Remove use of SAGE_TMP #33797

mkoeppe opened this issue May 4, 2022 · 7 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented May 4, 2022

(split out from #33213)

Until tmp_filename and tmp_dir are eliminated from the library, we don't want them cluttering up /tmp. In typical usage, this is easy enough to avoid by using one parent temporary directory to contain all the other temporary files and directories, and then removing that one parent as sage exits.

CC: @orlitzky

Component: refactoring

Author: Michael Orlitzky

Branch: bd76501

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/33797

@mkoeppe mkoeppe added this to the sage-9.7 milestone May 4, 2022
@mkoeppe
Copy link
Member Author

mkoeppe commented May 4, 2022

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Member Author

mkoeppe commented May 4, 2022

Commit: bd76501

@mkoeppe
Copy link
Member Author

mkoeppe commented May 4, 2022

New commits:

4182565Trac #33213: remove SAGE_TMP from tmp_dir() and tmp_filename().
bd76501Trac #33213: clean up after tmp_filename() and tmp_dir() for now.

@vbraun
Copy link
Member

vbraun commented May 22, 2022

@seblabbe
Copy link
Contributor

seblabbe commented Jun 1, 2022

Changed commit from bd76501 to none

@seblabbe
Copy link
Contributor

seblabbe commented Jun 1, 2022

comment:6

a follow-up is at #33944

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants