Message230682
> 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. |
|
Date |
User |
Action |
Args |
2014-11-05 14:18:35 | vstinner | set | recipients:
+ vstinner, loewis, larry, python-dev, serhiy.storchaka, Jeffrey.Armstrong |
2014-11-05 14:18:35 | vstinner | set | messageid: <1415197115.47.0.902332381637.issue20597@psf.upfronthosting.co.za> |
2014-11-05 14:18:35 | vstinner | link | issue20597 messages |
2014-11-05 14:18:35 | vstinner | create | |
|