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 malin
Recipients corona10, ezio.melotti, malin, methane, serhiy.storchaka, vstinner
Date 2020-08-01.05:44:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596260658.71.0.622281127081.issue41330@roundup.psfhosted.org>
In-reply-to
Content
At least fix this bug:

    the error-handler object is not cached, it needs to be
    looked up from a dict every time, which is very inefficient.

The code:
https://github.com/python/cpython/blob/v3.9.0b4/Modules/cjkcodecs/multibytecodec.c#L81-L98

I will submit a PR at some point.
History
Date User Action Args
2020-08-01 05:44:18malinsetrecipients: + malin, vstinner, ezio.melotti, methane, serhiy.storchaka, corona10
2020-08-01 05:44:18malinsetmessageid: <1596260658.71.0.622281127081.issue41330@roundup.psfhosted.org>
2020-08-01 05:44:18malinlinkissue41330 messages
2020-08-01 05:44:18malincreate