Message346409
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:11 | vstinner | set | recipients:
+ vstinner, ezio.melotti, hroncok |
2019-06-24 14:15:11 | vstinner | set | messageid: <1561385711.6.0.00802558925599.issue37388@roundup.psfhosted.org> |
2019-06-24 14:15:11 | vstinner | link | issue37388 messages |
2019-06-24 14:15:11 | vstinner | create | |
|