STINNER Victor added the comment:

> Reopening. I still don't understand the issue for 3.4, especially in the 
> light of #21274

In Python 3.5, PATH_MAX is no more used in Modules/main.c nor 
Python/pythonrun.c. I removed the "#define PATH_MAX ..." on Windows on Hurd.

This issue is about supporting OpenWatcom which is not officially supported to 
compile Python on Windows, so I don't want to change Python 2.7 nor 3.4. If 
anyone disagree, please complain :-)

PATH_MAX is still used in posixmodule.c, but it looks to work on all platforms:

#ifndef MAXPATHLEN
#if defined(PATH_MAX) && PATH_MAX > 1024
#define MAXPATHLEN PATH_MAX
#else
#define MAXPATHLEN 1024
#endif
#endif /* MAXPATHLEN */

I'm now closing this issue.

----------
resolution: wont fix -> fixed
status: open -> closed

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

Reply via email to