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

P.J. Eby pje at telecommunity.com
Mon Jun 27 03:51:00 CEST 2011


At 12:53 PM 6/26/2011 +0100, Barry Warsaw wrote:
>On Jun 26, 2011, at 09:51 PM, Nick Coghlan wrote:
> >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.
>
>My preference would be for the PEP to state that the contents are ignored.

I'd be more inclined to say it's supposed to be an empty file, or 
contain only whitespace.  (That way, if we allow it to be something 
else in the future, we're starting from a known state as far as tools 
trying to read it.)

Also, I'm at least somewhat inclined to mandate a naming convention 
for the files, based on distribution names, but I'd be okay with just 
making that a recommendation rather than a requirement.



More information about the Import-SIG mailing list