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 josh.r, methane
Date 2018-04-06.06:46:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522997170.36.0.682650639539.issue33231@psf.upfronthosting.co.za>
In-reply-to
Content
> Only reason I can see to avoid this would be if the codec names could contain arbitrary Unicode encoded as UTF-8 (and therefore strlen wouldn't tell you the final length in Unicode ordinals), but I'm pretty sure that's not the case (if it is, we're not normalizing properly, since we only lower case ASCII). If Unicode codec names need to be handled, there are other options, though the easy savings go away.

Maybe, we can add "encoding name must be ascii" restriction in future version (3.8+).
But for now, I want to avoid any potential backward incompatibility.
History
Date User Action Args
2018-04-06 06:46:10methanesetrecipients: + methane, josh.r
2018-04-06 06:46:10methanesetmessageid: <1522997170.36.0.682650639539.issue33231@psf.upfronthosting.co.za>
2018-04-06 06:46:10methanelinkissue33231 messages
2018-04-06 06:46:10methanecreate