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 <1558966547.63.0.238030284802.issue37034@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-05-27 14:15:47remi.lapeyresetrecipients: + remi.lapeyre, vstinner, serhiy.storchaka
2019-05-27 14:15:47remi.lapeyresetmessageid: <1558966547.63.0.238030284802.issue37034@roundup.psfhosted.org>
2019-05-27 14:15:47remi.lapeyrelinkissue37034 messages
2019-05-27 14:15:47remi.lapeyrecreate