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 steve.dower
Recipients eryksun, paul.moore, schwaerz, steve.dower, tim.golden, zach.ware
Date 2021-07-05.18:07:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625508427.76.0.661173774609.issue44567@roundup.psfhosted.org>
In-reply-to
Content
It enables it for accessing from within Python, but doesn't enable Python itself to be installed into a long path. And because a venv is essentially an installation, they're included in that. (Possibly %PYTHONPATH% entries are too.)

I haven't checked how widely MAXPATHLEN is used, but it may be safe enough to just raise it. However, I think that's going to have a memory impact, because the paths used for initialization are kept around for the whole length of the application now. It might be okay though, not sure how many paths are kept.

I'm still keen to see the whole getpath implementation replaced with Python code (with suitably injected native helpers), which would make it much easier for us to use dynamically allocated strings of any length. The current implementation is a way off being able to handle this.
History
Date User Action Args
2021-07-05 18:07:07steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, eryksun, schwaerz
2021-07-05 18:07:07steve.dowersetmessageid: <1625508427.76.0.661173774609.issue44567@roundup.psfhosted.org>
2021-07-05 18:07:07steve.dowerlinkissue44567 messages
2021-07-05 18:07:07steve.dowercreate