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 lemburg
Recipients lemburg
Date 2014-06-10.17:06:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The fix is easy. Simply change the call to:

        return types.CodeType(co.co_argcount, co.co_kwonlyargcount,
                              co.co_nlocals, co.co_stacksize,
                              co.co_flags, co.co_code, tuple(consts),
                              co.co_names, co.co_varnames,
                              new_filename, co.co_name,
                              co.co_firstlineno, co.co_lnotab,
                              co.co_freevars, co.co_cellvars)

(ie. add the missing argument)
Date User Action Args
2014-06-10 17:06:24lemburgsetrecipients: + lemburg
2014-06-10 17:06:24lemburgsetmessageid: <>
2014-06-10 17:06:24lemburglinkissue21707 messages
2014-06-10 17:06:24lemburgcreate