[issue18199] No long filename support for Windows

2013-06-12 Thread STINNER Victor
STINNER Victor added the comment: > it'd be nice if we could fix it at the source Yes, it is what we are trying to do. But it's not so simple. That's why the issue is splitted into more specific issues. > If I provide unit tests for all the involved file system > functions and fix the issues (

[issue18199] No long filename support for Windows

2013-06-12 Thread Daniel Sturm
Daniel Sturm added the comment: > In my opinion, it is a bug in Windows I don't think calling every complicated API a "bug" is useful. Is the Win32 API exceedingly annoying? I think everybody agrees on that, but imo it's better to fix this once in python itself and don't force all developers t

[issue18199] No long filename support for Windows

2013-06-12 Thread STINNER Victor
Changes by STINNER Victor : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue18199] No long filename support for Windows

2013-06-12 Thread STINNER Victor
STINNER Victor added the comment: > The problem is that we never prepend "\\?\" to the pathname hence getting the > old MAX_PATH limit. I would not call this a "problem". In my opinion, it is a bug in Windows: I don't understand why we should preprend something to support longer path. I'm not

[issue18199] No long filename support for Windows

2013-06-12 Thread STINNER Victor
STINNER Victor added the comment: Using extended path ("\\?\" prefix) causes new issues. * #13234: issue in os.listdir() * #13772: issue with os.symlink() * #9949: issue in os.path.realpath() -- nosy: +brian.curtin, haypo, loewis, pitrou, serhiy.storchaka, tim.golden ___

[issue18199] No long filename support for Windows

2013-06-12 Thread Daniel Sturm
Changes by Daniel Sturm : -- components: +IO type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18199] No long filename support for Windows

2013-06-12 Thread Daniel Sturm
New submission from Daniel Sturm: Python at the moment does not handle paths with more than MAX_PATH characters well under Windows. With Windows 7 x64, Python 3.3 32bit, the attached file fails with: Traceback (most recent call last): File ".\filename_bug.py", line 4, in os.makedirs(dir)