SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 38 Python

Patch 1329 (partial) by Christian Heimes.

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.)
G
Guido van Rossum committed
2dced8b602df10531cab6cd87da5503c06f14888
Parent: 2673a57