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 serhiy.storchaka
Recipients ezio.melotti, malin, serhiy.storchaka, vstinner
Date 2020-07-18.06:50:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595055015.01.0.535200614946.issue41330@roundup.psfhosted.org>
In-reply-to
Content
I am not even sure it was worth to add fast path for "xmlcharrefreplace". "surrogateescape" and "surrogatepass" are most likely used in performance critical cases. It is also easy to add support of "ignore" and "replace". "strict" raises an exception in any case, and "backslashreplace", "xmlcharrefreplace" and "namereplace" are too complex and used in cases when coding time is not dominant (error reporting, debugging, formatting complex documents).
History
Date User Action Args
2020-07-18 06:50:15serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ezio.melotti, malin
2020-07-18 06:50:15serhiy.storchakasetmessageid: <1595055015.01.0.535200614946.issue41330@roundup.psfhosted.org>
2020-07-18 06:50:14serhiy.storchakalinkissue41330 messages
2020-07-18 06:50:14serhiy.storchakacreate