]> granicus.if.org Git - python/commitdiff
Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 7 Dec 2016 09:27:55 +0000 (11:27 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 7 Dec 2016 09:27:55 +0000 (11:27 +0200)
Original patch by Andreas Stührk.

1  2 
Misc/NEWS
Objects/typeobject.c

diff --cc Misc/NEWS
index d0760914815168600735d918bf412801ebf96ebc,c62543571a1c444484141eb638c7a9080ab7a7b1..1a874982e291a52a8a628f2e32b26e391bbd41c1
+++ b/Misc/NEWS
@@@ -10,6 -10,24 +10,9 @@@ What's New in Python 3.7.0 alpha 
  Core and Builtins
  -----------------
  
 -Library
 --------
 -
 -- Issue #28847: dbm.dumb now supports reading read-only files and no longer
 -  writes the index file when it is not changed.
 -
 -
 -What's New in Python 3.6.0 release candidate 1
 -==============================================
 -
 -*Release date: 2016-12-06*
 -
 -Core and Builtins
 ------------------
 -
+ - Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
+   Original patch by Andreas Stührk.
  - Issue #23722: Rather than silently producing a class that doesn't support
    zero-argument ``super()`` in methods, failing to pass the new
    ``__classcell__`` namespace entry up to ``type.__new__`` now results in a
Simple merge