[Python-Dev] cpython (merge 3.2 -> default): Avoid codec spelling issues by just using the utf-8 default. (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Thu May 5 21:07:07 CEST 2011
- Previous message: [Python-Dev] cpython (merge 3.2 -> default): Avoid codec spelling issues by just using the utf-8 default.
- Next message: [Python-Dev] cpython (merge 3.2 -> default): Avoid codec spelling issues by just using the utf-8 default.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] cpython (merge 3.2 -> default): Avoid codec spelling issues by just using the utf-8 default.
- Next message: [Python-Dev] cpython (merge 3.2 -> default): Avoid codec spelling issues by just using the utf-8 default.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]