Skip to content

Commit a40fc0a

Browse files
author
Release Manager
committed
gh-36311: src/sage/doctest/control.py: log cysignals crashes to DOT_SAGE The long version is in the commit message, but the short version is: don't override `CYSIGNALS_CRASH_LOGS` with a `tmp_dir()` because we try very hard to delete every `tmp_dir()` as soon as sage exits. URL: #36311 Reported by: Michael Orlitzky Reviewer(s): Dima Pasechnik
2 parents 85c8f1e + 9862c18 commit a40fc0a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/sage/doctest/control.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
from sage.doctest.util import Timer, count_noun, dict_difference
5656
from sage.env import DOT_SAGE, SAGE_EXTCODE, SAGE_LIB, SAGE_SRC
5757
from sage.misc import randstate
58-
from sage.misc.temporary_file import tmp_dir
5958
from sage.structure.sage_object import SageObject
6059

6160
# Optional tags which are always automatically added
@@ -1368,8 +1367,6 @@ def run_val_gdb(self, testing=False):
13681367
return
13691368

13701369
# Setup signal handlers.
1371-
# Save crash logs in temporary directory.
1372-
os.putenv('CYSIGNALS_CRASH_LOGS', tmp_dir("crash_logs_"))
13731370
init_cysignals()
13741371

13751372
import signal

0 commit comments

Comments
 (0)