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 blueyed
Recipients BTaskaya, blueyed, brett.cannon, eric.snow, ncoghlan
Date 2019-12-24.18:29:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577212174.43.0.235131612.issue34444@roundup.psfhosted.org>
In-reply-to
Content
> And changing this to have to check every time import runs if an entry in sys.path is absolute would be costly (that's not a insignificant number of stat calls which we always try to avoid during import when possible).

This could be done when inserting something into `sys.path` maybe then only?
But might only make sense when there is some special handling in that case already though - and would change existing behavior of course.
(Therefore I am OK with rejecting this, but wanted to mention it anyway)

> Your best option is to insert an absolute path to begin with.

That's a good enough option to have anyway, of course.
History
Date User Action Args
2019-12-24 18:29:34blueyedsetrecipients: + blueyed, brett.cannon, ncoghlan, eric.snow, BTaskaya
2019-12-24 18:29:34blueyedsetmessageid: <1577212174.43.0.235131612.issue34444@roundup.psfhosted.org>
2019-12-24 18:29:34blueyedlinkissue34444 messages
2019-12-24 18:29:34blueyedcreate