Message230682
| 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. |
|