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 rafaelblsilva
Recipients eryksun, ezio.melotti, lemburg, paul.moore, python-dev, rafaelblsilva, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-09-17.20:16:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631909767.24.0.844508608999.issue45120@roundup.psfhosted.org>
In-reply-to
Content
Eryk 

Regarding the codecsmodule.c i don't really know its inner workings and how it is connected to other modules, and as of it, changes on that level for this use case are not critical. But it is nice to think and evaluate on that level too, since there might be some tricky situations on windows systems because of that grey zone. 

My proposal really aims to enhance the Lib/encodings/ module. And as Marc-Andre Lemburg advised, to only change those mappings in case of official corrections on the standard itself. Now i think that really following those standards "strictly" seems to be a good idea. 

On top of that, adding them under different naming seems like a better idea anyway, since those standards can be seen as different if you take a strict look at the Unicode definitions. Adding them would suffice for the needs that might arise, would still allow for catching mismatched encodings, and can even be "backported" to older python versions.

I will adjust the PR accordingly to these comments, thanks for the feedback!
History
Date User Action Args
2021-09-17 20:16:07rafaelblsilvasetrecipients: + rafaelblsilva, lemburg, paul.moore, vstinner, tim.golden, ezio.melotti, python-dev, zach.ware, serhiy.storchaka, eryksun, steve.dower
2021-09-17 20:16:07rafaelblsilvasetmessageid: <1631909767.24.0.844508608999.issue45120@roundup.psfhosted.org>
2021-09-17 20:16:07rafaelblsilvalinkissue45120 messages
2021-09-17 20:16:07rafaelblsilvacreate