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

Antoine Pitrou solipsis at pitrou.net
Tue Oct 25 10:08:12 CEST 2011


On Tue, 25 Oct 2011 00:57:42 +0200 Victor Stinner <victor.stinner at haypocalc.com> wrote:

Hi,

I propose to raise Unicode errors if a filename cannot be decoded on Windows, instead of creating a bogus filenames with questions marks. Because this change is incompatible with Python 3.2, even if such filenames are unusable and I consider the problem as a (Python?) bug, I would like your opinion on such change before working on a patch.

+1 from me.

Regards

Antoine.



More information about the Python-Dev mailing list