[issue44465] html.escape can be used in a few places in the standard lib instead of similar existing code

2021-06-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44465] html.escape can be used in a few places in the standard lib instead of similar existing code

2021-06-19 Thread Andrei Kulakov
New submission from Andrei Kulakov : There are a few places where old code does essentially the same thing as `html.escape()`, and can be replaced with html.escape(): - more readable - less error prone on refactorings - will benefit if html.escape() performance is improved in the future -