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 eric.snow
Recipients eamanu, eric.snow, p-ganssle, vstinner, xtreak
Date 2019-02-12.15:55:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On Tue, Feb 12, 2019 at 3:57 AM STINNER Victor <> wrote:
> A long term solution would to enable -I behavior by default: don't add the current directory to sys.path when using -c CMD.

From what I can recall, it was a conscious decision to include CWD in sys.path.  Doing so benefits some scripting use cases.  The downside is the effect when running an app.
Date User Action Args
2019-02-12 15:55:30eric.snowsetrecipients: + eric.snow, vstinner, p-ganssle, eamanu, xtreak
2019-02-12 15:55:30eric.snowsetmessageid: <>
2019-02-12 15:55:30eric.snowlinkissue35969 messages
2019-02-12 15:55:30eric.snowcreate