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 remi.lapeyre
Recipients remi.lapeyre, serhiy.storchaka, vstinner
Date 2019-05-27.14:15:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
With the attached PR, the error message is now:

>>> def f(): pass
>>> code = f.__code__
>>> code.replace(co_lnotab=4)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: replace() argument 'co_lnotab' must be bytes, not int
Date User Action Args
2019-05-27 14:15:47remi.lapeyresetrecipients: + remi.lapeyre, vstinner, serhiy.storchaka
2019-05-27 14:15:47remi.lapeyresetmessageid: <>
2019-05-27 14:15:47remi.lapeyrelinkissue37034 messages
2019-05-27 14:15:47remi.lapeyrecreate