This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients Arfrever, alexandre.vassalotti, barry, josh.r, kitterma, nadeem.vawda, pitrou, python-dev, serhiy.storchaka
Date 2016-01-07.22:11:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452204671.36.0.184557186184.issue22995@psf.upfronthosting.co.za>
In-reply-to
Content
You asked what reductor(4) returns in Python 3.5.0:

> /usr/lib/python3.5/copy.py(176)deepcopy()
-> rv = reductor(4)
(Pdb) reductor(4)
(<function __newobj__ at 0x7f7a5f77e158>, (<class 'Cython.Compiler.FlowControl.NameAssignment'>,), None, None, None)

And this is completely reasonable:

(Pdb) p rv
(<function __newobj__ at 0x7f7a5f77e158>, (<class 'Cython.Compiler.FlowControl.NameAssignment'>,), None, None, None)
(Pdb) p rv[0](*rv[1])
NameAssignment(entry=None)

I'm doing another debug build of Python to get more information about which extra bit of basicsize is getting added to trigger the TypeError.
History
Date User Action Args
2016-01-07 22:11:11barrysetrecipients: + barry, pitrou, alexandre.vassalotti, nadeem.vawda, Arfrever, kitterma, python-dev, serhiy.storchaka, josh.r
2016-01-07 22:11:11barrysetmessageid: <1452204671.36.0.184557186184.issue22995@psf.upfronthosting.co.za>
2016-01-07 22:11:11barrylinkissue22995 messages
2016-01-07 22:11:11barrycreate