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 levineds
Recipients levineds, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-03-23.22:56:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Windows file paths are limited to 256 characters, and one of Windows's prescribed methods to address this is to prepend "\\?\" before a Windows absolute path (see:

urllib.request.pathname2url raises an error on such paths as this function calls's pathname2url function which explicitly checks that the number of characters before the ":" in a Windows path is precisely one, which is, of course, not the case if you are using an extended-length path (e.g. "\\?\C:\Python39").

As a result, urllib cannot handle pathname2url conversion for some valid Windows paths.
Date User Action Args
2021-03-23 22:56:49levinedssetrecipients: + levineds, paul.moore, tim.golden, zach.ware, steve.dower
2021-03-23 22:56:49levinedssetmessageid: <>
2021-03-23 22:56:49levinedslinkissue43607 messages
2021-03-23 22:56:49levinedscreate