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 ezio.melotti
Recipients ezio.melotti, fbidu, lemburg, loewis, vstinner, zwol
Date 2018-10-31.12:25:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540988716.7.0.788709270274.issue25416@psf.upfronthosting.co.za>
In-reply-to
Content
Adding those aliases sounds good to me.  I think it would be good to add some tests first (possibly as a separate issue/pr), even though I'm not sure what would be the best way to test the aliases.

Testing if the list is complete/correct should be done against the HTML5/Unicode specs, but that, if automated, would require downloading/parsing the specs and is probably not worth doing it.

We can also check that all the aliases are accepted by str.encode/decode, and all corresponding aliases should give the same result, however if str.encode/decode use the aliases dict, the test is nothing more than a sanity check and won't detect e.g. typos in the aliases names, or wrongly assigned aliases.
History
Date User Action Args
2018-10-31 12:25:16ezio.melottisetrecipients: + ezio.melotti, lemburg, loewis, vstinner, zwol, fbidu
2018-10-31 12:25:16ezio.melottisetmessageid: <1540988716.7.0.788709270274.issue25416@psf.upfronthosting.co.za>
2018-10-31 12:25:16ezio.melottilinkissue25416 messages
2018-10-31 12:25:16ezio.melotticreate