Barry A. Warsaw added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22995> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com