[Python-Dev] Use our strict mbcs codec instead of the Windows ANSI API

"Martin v. Löwis" martin at v.loewis.de
Tue Oct 25 20:00:11 CEST 2011


> My proposition is a fix to user reported by a user:
> http://bugs.python.org/issue13247

So your proposal is that abspath(b".") shall raise a UnicodeError in
this case?

Are you serious???

> In practice, characters not encodable to the ANSI code page are very rare. For 
> example: it's difficult to write such characters directly with the keyboard. I 
> bet that very few people will notify the change.

Except people running into the very issues you are trying to resolve.
I'm not sure these people are really helped by having their applications
crash all of a sudden.

Regards,
Martin


More information about the Python-Dev mailing list