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 vstinner
Recipients ezio.melotti, hroncok, vstinner
Date 2019-06-24.14:15:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Getting an error handler is expensive compared to the time to encode text/decode bytes. Python loads the error handler lazily to provide best performances. Text codecs are performance critical for Python.

If we add a check, it should only be enabled in development (python3 -X dev) and/or debug mode (./configure --with-pydebug).
Date User Action Args
2019-06-24 14:15:11vstinnersetrecipients: + vstinner, ezio.melotti, hroncok
2019-06-24 14:15:11vstinnersetmessageid: <>
2019-06-24 14:15:11vstinnerlinkissue37388 messages
2019-06-24 14:15:11vstinnercreate