From: Senthil Kumaran Date: Thu, 9 Feb 2012 09:55:56 +0000 (+0800) Subject: merged from 3.2 X-Git-Tag: v3.3.0a1~207 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0bfa963fbb45602923b858d00a44e788a4a42ad5;p=python merged from 3.2 Issue #6005: Examples in the socket library documentation use sendall, where relevant, instead send method. --- 0bfa963fbb45602923b858d00a44e788a4a42ad5 diff --cc Misc/NEWS index acc90bd015,242c08ca2c..7fe19e04cd --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -466,24 -113,9 +466,27 @@@ Core and Builtin Library ------- +- When '' is a path (e.g. in sys.path), make sure __file__ uses the current + working directory instead of '' in importlib. + +- Issue #13609: Add two functions to query the terminal size: + os.get_terminal_size (low level) and shutil.get_terminal_size (high level). + Patch by Zbigniew Jędrzejewski-Szmek. + +- Issue #13845: On Windows, time.time() now uses GetSystemTimeAsFileTime() + instead of ftime() to have a resolution of 100 ns instead of 1 ms (the clock + accuracy is between 0.5 ms and 15 ms). + +- Issue #13846: Add time.monotonic(), monotonic clock. + +- Issue #8184: multiprocessing: On Windows, don't set SO_REUSEADDR on + Connection sockets, and set FILE_FLAG_FIRST_PIPE_INSTANCE on named pipes, to + make sure two listeners can't bind to the same socket/pipe (or any existing + socket/pipe). + + - Issue #6005: Examples in the socket library documentation use sendall, where + relevant, instead send method. + - Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now.