[Python-ideas] My objections to implicit package directories

Ronald Oussoren ronaldoussoren at mac.com
Tue Mar 20 16:49:14 CET 2012


On 13 Mar, 2012, at 9:15, Guido van Rossum wrote:

> 
> I think it comes down to this: I really, really, really hate
> directories with a suffix. I'd like to point out that the suffix is
> also introducing a backwards incompatibility: everybody will have to
> teach their tools, IDEs, and brains about .pyp directories, 

Directories with a suffix have the advantage that you could teach GUIs to treat
them differently, filemanagers could for example show a ".pyp" directory as
a folder with a python logo just like ".py"  files are shown as documents with
a python logo.

With the implicit approach it is much harder to recognize python packages as
such without detailed knowledge about the import algorithm and python search
path.

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4788 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120320/470034f0/attachment.bin>


More information about the Python-ideas mailing list