]> granicus.if.org Git - python/commitdiff
Issue #25441: asyncio: Raise error from drain() when socket is closed. (Merge 3.4...
authorGuido van Rossum <guido@python.org>
Mon, 19 Oct 2015 18:54:04 +0000 (11:54 -0700)
committerGuido van Rossum <guido@python.org>
Mon, 19 Oct 2015 18:54:04 +0000 (11:54 -0700)
1  2 
Misc/NEWS

diff --cc Misc/NEWS
index c7f58076f355355af4b3fd7178e7a1863cd7f97d,01fbf1786c48b25b3cfd40c4c662eb92cca075de..658c9189324c6fc292d41c250e1e69eb747e2eea
+++ b/Misc/NEWS
@@@ -35,36 -28,78 +35,38 @@@ Core and Builtin
  - Issue #25182: The stdprinter (used as sys.stderr before the io module is
    imported at startup) now uses the backslashreplace error handler.
  
 -- Issue #24891: Fix a race condition at Python startup if the file descriptor
 -  of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
 -  sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set
 -  to None if the creation of the object failed, instead of raising an OSError
 -  exception. Initial patch written by Marco Paolini.
 -
 -- Issue #21167: NAN operations are now handled correctly when python is
 -  compiled with ICC even if -fp-model strict is not specified.
 -
 -- Issue #4395: Better testing and documentation of binary operators.
 -  Patch by Martin Panter.
 -
 -- Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray
 -  object now always allocates place for trailing null byte and it's buffer now
 -  is always null-terminated.
 -
 -- Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
 -  PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
 -  to check for and handle errors correctly.
 -
 -- Issue #24257: Fixed system error in the comparison of faked
 -  types.SimpleNamespace.
 -
 -- Issue #22939: Fixed integer overflow in iterator object.  Patch by
 -  Clement Rouault.
 -
 -- Issue #23985: Fix a possible buffer overrun when deleting a slice from
 -  the front of a bytearray and then appending some other bytes data.
 -
 -- Issue #24102: Fixed exception type checking in standard error handlers.
 -
 -- Issue #23757: PySequence_Tuple() incorrectly called the concrete list API
 -  when the data was a list subclass.
 -
 -- Issue #24407: Fix crash when dict is mutated while being updated.
 -
 -- Issue #24096: Make warnings.warn_explicit more robust against mutation of the
 -  warnings.filters list.
 -
 -- Issue #23996: Avoid a crash when a delegated generator raises an
 -  unnormalized StopIteration exception.  Patch by Stefan Behnel.
 -
 -- Issue #24022: Fix tokenizer crash when processing undecodable source code.
 +- Issue #25131: Make the line number and column offset of set/dict literals and
 +  comprehensions correspond to the opening brace.
  
 -- Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted
 -  while it is holding a lock to a buffered I/O object, and the main thread
 -  tries to use the same I/O object (typically stdout or stderr).  A fatal
 -  error is emitted instead.
 +- Issue #25150: Hide the private _Py_atomic_xxx symbols from the public
 +  Python.h header to fix a compilation error with OpenMP. PyThreadState_GET()
 +  becomes an alias to PyThreadState_Get() to avoid ABI incompatibilies.
  
 -- Issue #22977: Fixed formatting Windows error messages on Wine.
 -  Patch by Martin Panter.
 +Library
 +-------
  
 -- Issue #23803: Fixed str.partition() and str.rpartition() when a separator
 -  is wider then partitioned string.
++- Issue #25441: asyncio: Raise error from drain() when socket is closed.
 -- Issue #23192: Fixed generator lambdas.  Patch by Bruno Cauet.
 +- Issue #25410: Cleaned up and fixed minor bugs in C implementation of
 +  OrderedDict.
  
 -- Issue #23629: Fix the default __sizeof__ implementation for variable-sized
 -  objects.
 +- Issue #25411: Improved Unicode support in SMTPHandler through better use of
 +  the email package. Thanks to user simon04 for the patch.
  
 -- Issue #24044: Fix possible null pointer dereference in list.sort in out of
 -  memory conditions.
 +- Issue #25407: Remove mentions of the formatter module being removed in
 +  Python 3.6.
  
 -- Issue #21354: PyCFunction_New function is exposed by python DLL again.
 +- Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end()
 +  that caused segmentation fault or hang in iterating after moving several
 +  items to the start of ordered dict.
  
 -Library
 --------
 +- Issue #25364: zipfile now works in threads disabled builds.
  
 -- Issue #25441: asyncio: Raise error from drain() when socket is closed.
 +- Issue #25328: smtpd's SMTPChannel now correctly raises a ValueError if both
 +  decode_data and enable_SMTPUTF8 are set to true.
  
 -- Issue #25411: Improved Unicode support in SMTPHandler through better use of
 -  the email package. Thanks to user simon04 for the patch.
 +- Issue #25316: distutils raises OSError instead of DistutilsPlatformError
 +  when MSVC is not installed.
  
  - Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in
    pickletools.opcodes.