Atsuo Ishimoto <ishim...@gembook.org> added the comment:

On Wed, Oct 26, 2011 at 3:36 PM, Yuval Greenfield
<rep...@bugs.python.org> wrote:

> If the current situation isn't fixed though - you just can't use the 
> resulting path for almost anything. Do you have a use case Ishimoto?

I don't have use case. But does raising UnicodeEncodeError fix
problems?  It could break existing code, but I don't see much
difference over WindowsError caused by the broken file names.

> The fact is you shouldn't be doing os.path.abspath(b'.') in windows to begin 
> with.

Agreed. So I think adding Windows specific check to Byte API does not
improve situation, but increase complexity of std lib.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13247>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to