Message220176
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:24 | lemburg | set | recipients:
+ lemburg |
2014-06-10 17:06:24 | lemburg | set | messageid: <1402419984.13.0.783073510699.issue21707@psf.upfronthosting.co.za> |
2014-06-10 17:06:24 | lemburg | link | issue21707 messages |
2014-06-10 17:06:24 | lemburg | create | |
|