Home
last modified time | relevance | path

Searched refs:exitfunc (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython2/Doc/library/
Datexit.rst27 .. index:: single: exitfunc (in sys)
30 :func:`sys.exitfunc` variable.
33 sets ``sys.exitfunc``. In particular, other core Python modules are free to use
35 ``sys.exitfunc`` should convert their code to use :mod:`atexit` instead. The
36 simplest way to convert code that sets ``sys.exitfunc`` is to import
37 :mod:`atexit` and register the function that had been bound to ``sys.exitfunc``.
D2to3.rst225 .. 2to3fixer:: exitfunc
227 Changes assignment of :attr:`sys.exitfunc` to use of the :mod:`atexit`
Dsys.rst248 .. data:: exitfunc
/external/python/cpython2/Lib/test/
Dtest_atexit.py48 exfunc = sys.exitfunc
49 sys.exitfunc = self.h1
55 sys.exitfunc = exfunc
/external/python/cpython2/Lib/
Datexit.py51 register(sys.exitfunc)
52 sys.exitfunc = _run_exitfuncs
/external/python/cpython2/Python/
Dpythonrun.c1762 PyObject *exitfunc = PySys_GetObject("exitfunc"); in call_sys_exitfunc() local
1764 if (exitfunc) { in call_sys_exitfunc()
1766 Py_INCREF(exitfunc); in call_sys_exitfunc()
1768 res = PyEval_CallObject(exitfunc, (PyObject *)NULL); in call_sys_exitfunc()
1775 Py_DECREF(exitfunc); in call_sys_exitfunc()
/external/python/cpython2/Lib/idlelib/
Dconfig-main.def51 delete-exitfunc= 1
Drun.py237 del sys.exitfunc
DNEWS.txt586 - There was an error on exit if no sys.exitfunc was defined. Issue 1647.
933 - Added the delete-exitfunc option to config-main.def. (This option is not
935 cause IDLE to not run sys.exitfunc/atexit when the subprocess exits.
/external/python/cpython3/Lib/idlelib/
Dconfig-main.def57 delete-exitfunc= 1
DNEWS2x.txt57 - atexit call replaces sys.exitfunc. The functionality of delete-exitfunc flag
83 - There was an error on exit if no sys.exitfunc was defined. Issue 1647.
433 - Added the delete-exitfunc option to config-main.def. (This option is not
435 cause IDLE to not run sys.exitfunc/atexit when the subprocess exits.
/external/python/cpython3/Doc/library/
D2to3.rst223 .. 2to3fixer:: exitfunc
225 Changes assignment of :attr:`sys.exitfunc` to use of the :mod:`atexit`
/external/python/cpython3/Python/
Dpylifecycle.c2420 void (*exitfunc)(void) = runtime->exitfuncs[runtime->nexitfuncs]; in call_ll_exitfuncs() local
2423 exitfunc(); in call_ll_exitfuncs()
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dminiterm.py146 sys.exitfunc = cleanup_console # terminal modes have to be restored on exit...
/external/tensorflow/tensorflow/tools/ci_build/
Dpylintrc314 …slate,string.upper,string.ljust,string.rjust,string.center,string.zfill,string.replace,sys.exitfunc
/external/tensorflow/
D.pylintrc314 …slate,string.upper,string.ljust,string.rjust,string.center,string.zfill,string.replace,sys.exitfunc
/external/autotest/contrib/
Dcoverage.py981 sys.exitfunc = the_coverage.save
/external/python/cpython2/Doc/whatsnew/
D2.4.rst1279 * The :func:`sys.exitfunc` function has been deprecated. Code should be using
1281 functions. Eventually :func:`sys.exitfunc` will become a purely internal
D2.0.rst1081 interpreter exits. Code that currently sets ``sys.exitfunc`` directly should be
/external/python/cpython3/Doc/whatsnew/
D2.4.rst1279 * The :func:`sys.exitfunc` function has been deprecated. Code should be using
1281 functions. Eventually :func:`sys.exitfunc` will become a purely internal
D3.0.rst631 * Cleanup of the :mod:`sys` module: removed :func:`sys.exitfunc`,
D2.0.rst1081 interpreter exits. Code that currently sets ``sys.exitfunc`` directly should be
/external/python/cpython2/Misc/
Dcheatsheet1339 exitfunc User can set to a parameterless fcn. It will getcalled
DHISTORY2602 - Deprecated sys.exitfunc in favor of the atexit module. The sys.exitfunc
16127 the interpreter. The "sys.exitfunc" feature still makes limited
16522 assign a function object to sys.exitfunc, it will be called when
/external/python/cpython3/Misc/
DHISTORY17197 - Patch #1680961: sys.exitfunc has been removed and replaced with a
19986 - Deprecated sys.exitfunc in favor of the atexit module. The sys.exitfunc
33506 the interpreter. The "sys.exitfunc" feature still makes limited
33901 assign a function object to sys.exitfunc, it will be called when