[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PYTHONPATH anomaly
From: |
Ludovic Courtès |
Subject: |
Re: PYTHONPATH anomaly |
Date: |
Wed, 07 Sep 2016 11:17:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello!
Hartmut Goebel <address@hidden> skribis:
> Questions:
>
> 1) Is it intended that the current dir is not part of sys.path?
I don’t know about the specifics of Python here, but it’s always a
security problem to put “.” in a search path: users could end up
arbitrary code that just happens to be in $PWD.
So it’s probably intended.
Ludo’.