]> granicus.if.org Git - python/commitdiff
Issue #15972: Fix error messages when os functions expecting a file name or
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 7 Jan 2013 21:16:49 +0000 (23:16 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 7 Jan 2013 21:16:49 +0000 (23:16 +0200)
file descriptor receive the incorrect type.

1  2 
Lib/test/test_posix.py
Misc/NEWS
Modules/posixmodule.c

Simple merge
diff --cc Misc/NEWS
index 53e5cbac01061d1dcd1a781966fff80657d9e7fb,00fc9a6367f3630571d7b51a9c9ff9c624adb14f..d073441427c5924e8a35d9b29402dd0ba2448ee6
+++ b/Misc/NEWS
@@@ -206,17 -136,9 +206,20 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #15972: Fix error messages when os functions expecting a file name or
+   file descriptor receive the incorrect type.
 +- Issue #8109: The ssl module now has support for server-side SNI, thanks
 +  to a :meth:`SSLContext.set_servername_callback` method.  Patch by Daniel
 +  Black.
 +
 +- Issue #16860: In tempfile, use O_CLOEXEC when available to set the
 +  close-on-exec flag atomically.
 +
 +- Issue #16674: random.getrandbits() is now 20-40% faster for small integers.
 +
 +- Issue #16009: JSON error messages now provide more information.
 +
  - Issue #16828: Fix error incorrectly raised by bz2.compress(b'') and
    bz2.BZ2Compressor.compress(b''). Initial patch by Martin Packman.
  
Simple merge