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 <1402419984.13.0.783073510699.issue21707@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2014-06-10 17:06:24lemburgsetrecipients: + lemburg
2014-06-10 17:06:24lemburgsetmessageid: <1402419984.13.0.783073510699.issue21707@psf.upfronthosting.co.za>
2014-06-10 17:06:24lemburglinkissue21707 messages
2014-06-10 17:06:24lemburgcreate