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 pablogsal, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-10-05.11:43:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633434194.55.0.174855569481.issue45375@roundup.psfhosted.org>
In-reply-to
Content
I believe this is because getpath has hit its final fallback case of looking in ".\DLLs" and ".\Lib" for the standard library, and has not performed proper normalisation on these paths. So after removing the last segment, the result is "." which does not end in SEP.

So at least in this case, we can probably just ignore the assertion. However, I'm concerned that this would open up other cases where search paths may be added that are otherwise unintended.

The expected behaviour when the stdlib can't be found is a detailed error message, not a debug assertion/crash.
History
Date User Action Args
2021-10-05 11:43:14steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, pablogsal
2021-10-05 11:43:14steve.dowersetmessageid: <1633434194.55.0.174855569481.issue45375@roundup.psfhosted.org>
2021-10-05 11:43:14steve.dowerlinkissue45375 messages
2021-10-05 11:43:14steve.dowercreate