[Python-Dev] cpython (merge 3.2 -> default): Avoid codec spelling issues by just using the utf-8 default.

Antoine Pitrou solipsis at pitrou.net
Thu May 5 21:07:07 CEST 2011


Le jeudi 05 mai 2011 à 15:01 -0400, Alexander Belopolsky a écrit :
> On Thu, May 5, 2011 at 2:44 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> ..
> > (also, I don't understand the spelling issue: "utf-8" just works)
> 
> This is probably referring to the fact that while encode() accepts
> many spelling variants, some are short-circuited in C code while
> others require codec lookup implemented in python.

This sounds like a bug to fix (isn't it fixed it already, btw?) rather
than add hackish workarounds for in stdlib code.

Regards

Antoine.




More information about the Python-Dev mailing list