]> granicus.if.org Git - python/commitdiff
Issue 23898: Fix inspect.classify_class_attrs() to work with __eq__
authorYury Selivanov <yselivanov@sprymix.com>
Thu, 21 May 2015 19:45:08 +0000 (15:45 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Thu, 21 May 2015 19:45:08 +0000 (15:45 -0400)
Patch by Mike Bayer.

1  2 
Lib/inspect.py
Lib/test/test_inspect.py
Misc/NEWS

diff --cc Lib/inspect.py
Simple merge
Simple merge
diff --cc Misc/NEWS
index 643278f0f9aca5321af12a1c3aedd6dee2a9e361,0593d89c43d29eb7fa800e330d0301e853203d56..7a72f6b38417090c2a4af9f0a489facdb63e509c
+++ b/Misc/NEWS
@@@ -37,21 -30,29 +37,24 @@@ Core and Builtin
  - 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 #23910: Optimize property() getter calls.  Patch by Joe Jevnik.
  
 -- 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 #23911: Move path-based importlib bootstrap code to a separate
 +  frozen module.
  
 -- Issue #22977: Fixed formatting Windows error messages on Wine.
 -  Patch by Martin Panter.
 +- Issue #24192: Fix namespace package imports.
  
 -- Issue #23803: Fixed str.partition() and str.rpartition() when a separator
 -  is wider then partitioned string.
 +- Issue #24022: Fix tokenizer crash when processing undecodable source code.
  
 -- Issue #23192: Fixed generator lambdas.  Patch by Bruno Cauet.
 +- Issue #9951: Added a hex() method to bytes, bytearray, and memoryview.
  
 -- Issue #23629: Fix the default __sizeof__ implementation for variable-sized
 -  objects.
 +- Issue #22906: PEP 479: Change StopIteration handling inside generators.
  
 -- Issue #24044: Fix possible null pointer dereference in list.sort in out of
 -  memory conditions.
 +- Issue #24017: PEP 492: Coroutines with async and await syntax.
  
 -- Issue #21354: PyCFunction_New function is exposed by python DLL again.
++- Issue #23898: Fix inspect.classify_class_attrs() to support attributes
++  with overloaded __eq__ and __bool__.  Patch by Mike Bayer.
  Library
  -------