]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get and
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Jul 2014 20:32:47 +0000 (22:32 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Jul 2014 20:32:47 +0000 (22:32 +0200)
commit1db9e7bb19909ed56821b1580cbb024faccac041
tree20043197ec08844340c9ac039fe26c630bd4189d
parent6aa4269ed25f7fdddd99fe1d7b09b8406ecb05ea
Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get and
set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is
set, True otherwise). These functions are not available on Windows.
13 files changed:
Doc/library/os.rst
Include/fileutils.h
Lib/asyncio/unix_events.py
Lib/asyncore.py
Lib/test/test_asyncio/test_unix_events.py
Lib/test/test_io.py
Lib/test/test_os.py
Lib/test/test_posix.py
Lib/test/test_pty.py
Lib/test/test_signal.py
Misc/NEWS
Modules/posixmodule.c
Python/fileutils.c