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, ncoghlan, ned.deily, nedbat, steve.dower
Date 2017-03-08.14:37:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> C:\Temp doesn't belong in sys.path in this case

Hang on, why not? If I were running a then it would be, so why is a package\ different (and not able to import itself or its siblings)? The package is the "script" being run here, yes?

Or is different from in this regard? (That is, it isn't *part* of the package, it's just a loose script that happens to inherit the name of its directory)
Date User Action Args
2017-03-08 14:37:18steve.dowersetrecipients: + steve.dower, ncoghlan, nedbat, ned.deily, eryksun
2017-03-08 14:37:18steve.dowersetmessageid: <>
2017-03-08 14:37:18steve.dowerlinkissue29723 messages
2017-03-08 14:37:18steve.dowercreate