[issue36352] Modules/getpath.c should not use hardcoded buffer sizes (MAXPATHLEN)

2019-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset faddaedd05ca81a9fed3f315e7bc8dcf455824a2 by Victor Stinner in branch 'master': bpo-36352: Avoid hardcoded MAXPATHLEN size in getpath.c (GH-12423) https://github.com/python/cpython/commit/faddaedd05ca81a9fed3f315e7bc8dcf455824a2 -- ___

[issue36352] Modules/getpath.c should not use hardcoded buffer sizes (MAXPATHLEN)

2019-03-18 Thread STINNER Victor
STINNER Victor added the comment: These changes are intrusive. I don't think that it's worth it to backport them to 3.7 (or 2.7). Just don't play with paths close to MAXPATHLEN bytes on Python 2.7 or 3.7 :-) I close the issue. -- resolution: -> fixed stage: patch review -> resolved

[issue36352] Modules/getpath.c should not use hardcoded buffer sizes (MAXPATHLEN)

2019-03-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12378 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36352] Modules/getpath.c should not use hardcoded buffer sizes (MAXPATHLEN)

2019-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7b14f0c02ce9d919c503119db190dbca0e703393 by Victor Stinner in branch 'master': bpo-36352: Add error handling to getpath.c (GH-12421) https://github.com/python/cpython/commit/7b14f0c02ce9d919c503119db190dbca0e703393 --

[issue36352] Modules/getpath.c should not use hardcoded buffer sizes (MAXPATHLEN)

2019-03-18 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12376 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36352] Modules/getpath.c should not use hardcoded buffer sizes (MAXPATHLEN)

2019-03-18 Thread STINNER Victor
New submission from STINNER Victor : I'm working on a change to avoid hardcoded buffer sizes (MAXPATHLEN) in Modules/getpath.c. This issue is a place holder to discuss it. -- components: Interpreter Core messages: 338255 nosy: vstinner priority: normal severity: normal status: open tit

[issue36352] Modules/getpath.c should not use hardcoded buffer sizes (MAXPATHLEN)

2019-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1be0d1135f5627d0525eab635cf2da441d9cbc08 by Victor Stinner in branch 'master': bpo-36352: Clarify fileutils.h documentation (GH-12406) https://github.com/python/cpython/commit/1be0d1135f5627d0525eab635cf2da441d9cbc08 -- __