Author lemburg
Recipients akdor1154, ezio.melotti, hroncok, lemburg, mark, methane, qigangxu, shihai1991, vstinner
Date 2021-04-23.08:00:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <07f2cd8f-21ef-25a1-8d8d-c68fe4f56476@egenix.com>
In-reply-to <1619156853.14.0.898620471079.issue37751@roundup.psfhosted.org>
Content
On 23.04.2021 07:47, Inada Naoki wrote:
> 
> Inada Naoki <songofacandy@gmail.com> added the comment:
> 
> 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

I guess just an oversight on my part.

PEP 100 is certainly what I meant and implemented. I should have also
made it clear in PEP 100 that I meant lower case ASCII letters.
History
Date User Action Args
2021-04-23 08:00:59lemburgsetrecipients: + lemburg, vstinner, mark, ezio.melotti, methane, hroncok, shihai1991, qigangxu, akdor1154
2021-04-23 08:00:59lemburglinkissue37751 messages
2021-04-23 08:00:59lemburgcreate