[issue13787] PyCode_New not round-trippable (TypeError)

Mahmoud Hashemi report at bugs.python.org
Tue Jan 17 22:16:36 CET 2012


Mahmoud Hashemi <makuro at gmail.com> added the comment:

Yes, I knew it was an issue with crossed wires somewhere. The Python 2 code doesn't translate well to Python 3 because the function signature changed to add kwargonlycount. And I guess the argument order is substantially different, too, as described in Objects/codeobject.c#l291.

Thanks for clearing that up, though,

Mahmoud

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13787>
_______________________________________


More information about the Python-bugs-list mailing list