##// END OF EJS Templates
Backport PR #8405: FIX : flip atexit registration...
Backport PR #8405: FIX : flip atexit registration Register the sphinx spcefic atexit function before InteractiveShell can register it's clean up function. The functions are executed last-in, first-out which means in this case the temporary profile directory is deleted before the final history writing can be done which results in exceptions/warnings coming out of sphinx.

File last commit:

r13347:54891794
r21459:46d3d76e
Show More
__init__.py
5 lines | 98 B | text/x-python | PythonLexer
try:
import pexpect
from pexpect import *
except ImportError:
from ._pexpect import *