Message257720
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. |
|
Date |
User |
Action |
Args |
2016-01-07 22:11:11 | barry | set | recipients:
+ barry, pitrou, alexandre.vassalotti, nadeem.vawda, Arfrever, kitterma, python-dev, serhiy.storchaka, josh.r |
2016-01-07 22:11:11 | barry | set | messageid: <1452204671.36.0.184557186184.issue22995@psf.upfronthosting.co.za> |
2016-01-07 22:11:11 | barry | link | issue22995 messages |
2016-01-07 22:11:11 | barry | create | |
|