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 methane
Recipients akdor1154, ezio.melotti, hroncok, lemburg, methane, qigangxu, shihai1991, vstinner
Date 2021-04-23.05:47:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619156853.14.0.898620471079.issue37751@roundup.psfhosted.org>
In-reply-to
Content
I think it is too late. Python 3.9 has been released already.  Reverting the change is also breaking change.

PEP 100 says:
"Search functions are expected to take one argument, the encoding name in all lower case letters and with hyphens and spaces converted to underscores"
https://www.python.org/dev/peps/pep-0100/#codecs-coder-decoders-lookup

But codecs.register() says:
"Search functions are expected to take one argument, being the encoding name in all lower case letters".

I don't know historical reason why two document are inconsistent.
https://docs.python.org/3/library/codecs.html#codecs.register
History
Date User Action Args
2021-04-23 05:47:33methanesetrecipients: + methane, lemburg, vstinner, ezio.melotti, hroncok, shihai1991, qigangxu, akdor1154
2021-04-23 05:47:33methanesetmessageid: <1619156853.14.0.898620471079.issue37751@roundup.psfhosted.org>
2021-04-23 05:47:33methanelinkissue37751 messages
2021-04-23 05:47:32methanecreate