Searched refs:exitfunc (Results 1 – 23 of 23) sorted by relevance
/external/python/cpython2/Doc/library/ |
D | atexit.rst | 27 .. 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``.
|
D | 2to3.rst | 225 .. 2to3fixer:: exitfunc 227 Changes assignment of :attr:`sys.exitfunc` to use of the :mod:`atexit`
|
D | sys.rst | 248 .. data:: exitfunc
|
/external/python/cpython2/Lib/test/ |
D | test_atexit.py | 48 exfunc = sys.exitfunc 49 sys.exitfunc = self.h1 55 sys.exitfunc = exfunc
|
/external/python/cpython2/Lib/ |
D | atexit.py | 51 register(sys.exitfunc) 52 sys.exitfunc = _run_exitfuncs
|
/external/python/cpython2/Python/ |
D | pythonrun.c | 1762 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/ |
D | config-main.def | 51 delete-exitfunc= 1
|
D | run.py | 237 del sys.exitfunc
|
D | NEWS.txt | 586 - 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/ |
D | config-main.def | 57 delete-exitfunc= 1
|
D | NEWS2x.txt | 57 - 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/ |
D | 2to3.rst | 225 .. 2to3fixer:: exitfunc 227 Changes assignment of :attr:`sys.exitfunc` to use of the :mod:`atexit`
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | miniterm.py | 146 sys.exitfunc = cleanup_console # terminal modes have to be restored on exit...
|
/external/tensorflow/tensorflow/tools/ci_build/ |
D | pylintrc | 314 …slate,string.upper,string.ljust,string.rjust,string.center,string.zfill,string.replace,sys.exitfunc
|
/external/autotest/contrib/ |
D | coverage.py | 981 sys.exitfunc = the_coverage.save
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.4.rst | 1279 * The :func:`sys.exitfunc` function has been deprecated. Code should be using 1281 functions. Eventually :func:`sys.exitfunc` will become a purely internal
|
D | 2.0.rst | 1081 interpreter exits. Code that currently sets ``sys.exitfunc`` directly should be
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.4.rst | 1279 * The :func:`sys.exitfunc` function has been deprecated. Code should be using 1281 functions. Eventually :func:`sys.exitfunc` will become a purely internal
|
D | 3.0.rst | 631 * Cleanup of the :mod:`sys` module: removed :func:`sys.exitfunc`,
|
D | 2.0.rst | 1081 interpreter exits. Code that currently sets ``sys.exitfunc`` directly should be
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1339 exitfunc User can set to a parameterless fcn. It will getcalled
|
D | HISTORY | 2602 - 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/ |
D | HISTORY | 17197 - 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
|