mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
![]() Add a closefd flag to open() which can be set to False to prevent closing the file descriptor when close() is called or when the object is destroyed. Useful to ensure that sys.std{in,out,err} keep their file descriptors open when Python is uninitialized. (This was always a feature in 2.x, it just wasn't implemented in 3.0 yet.) |
||
---|---|---|
.. | ||
abstract.rst | ||
concrete.rst | ||
exceptions.rst | ||
index.rst | ||
init.rst | ||
intro.rst | ||
memory.rst | ||
newtypes.rst | ||
refcounting.rst | ||
utilities.rst | ||
veryhigh.rst |