This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Jeffrey.Armstrong, larry, loewis, python-dev, serhiy.storchaka, vstinner
Date 2014-11-05.14:18:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415197115.47.0.902332381637.issue20597@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2014-11-05 14:18:35vstinnersetrecipients: + vstinner, loewis, larry, python-dev, serhiy.storchaka, Jeffrey.Armstrong
2014-11-05 14:18:35vstinnersetmessageid: <1415197115.47.0.902332381637.issue20597@psf.upfronthosting.co.za>
2014-11-05 14:18:35vstinnerlinkissue20597 messages
2014-11-05 14:18:35vstinnercreate