[Python-Dev] email package status in 3.X

James Y Knight foom at fuhm.net
Mon Jun 21 22:54:06 CEST 2010


On Jun 21, 2010, at 4:29 PM, M.-A. Lemburg wrote:
> Here's a little known fact: by changing the Python2 default
> encoding to 'undefined' (yes, that's a real codec !), you can disable
> all automatic string coercion in Python2.

I tried that once: half the stdlib stops working if you do (for  
example, the re module), so it's not particularly useful for checking  
if your own code is unicode-safe.

James


More information about the Python-Dev mailing list