[Import-SIG] Do we really need to read .pth files in PEP 382?

Nick Coghlan ncoghlan at gmail.com
Sun Jun 26 13:51:10 CEST 2011


On Sun, Jun 26, 2011 at 9:46 PM, Barry Warsaw <barry at python.org> wrote:
> On Jun 25, 2011, at 09:36 AM, Nick Coghlan wrote:
>
>>Just a comment on MvL's "user additions" use case: with the per-user site
>>packages dir, it should be easy for any user to extend any namespace
>>package. The security aspects should be OK, as I believe the installed
>>subpackages will take precedence.
>
> But does anybody actually do this?

I have no idea - I was merely pointing out that even that hypothetical
use case is still covered with the no-content approach.

The updated PEP should be explicit about whether or not the marker
file is required to be empty, or if the package is allowed to use it
to store arbitrary data, though.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Import-SIG mailing list