Re: [Python-ideas] My objections to implicit package directories

On Tue, Mar 27, 2012 at 1:20 PM, Phil Vandry <vandry@tzone.org> wrote:
Oh, I remember those from hacking MacOS decades ago... I suspect they have fallen by the wayside because only Mac-specific tools keep track of these as files are copied, moved, backed up, archived, restored, uploaded and downloaded, etc. -- --Guido van Rossum (python.org/~guido)

On 27 Mar, 2012, at 22:25, Guido van Rossum wrote:
That, and probably also because the foundations of the osx architecture are based on nextstep which also didn't use the creator and filetype. The reason I didn't claim extensions are always a convention (and which I should have mentioned before) is that at the FAT filesystem has explicit support for extentensions (the old 8+3 filename length restriction). That's totally off-topic though. To get back on topic, I don't particularly dislike directory extensions and would prefer the ".pyp" extension for python packages withouth an __init__.py file because that is more explicit and makes it clear which directories are intented to be a python package. With the other proposal it is not clear which directories are python packages and which are directories that just happen to be on sys.path (for example because they are in the same directory as the python script you're running). Ronald

On 27 Mar, 2012, at 22:25, Guido van Rossum wrote:
That, and probably also because the foundations of the osx architecture are based on nextstep which also didn't use the creator and filetype. The reason I didn't claim extensions are always a convention (and which I should have mentioned before) is that at the FAT filesystem has explicit support for extentensions (the old 8+3 filename length restriction). That's totally off-topic though. To get back on topic, I don't particularly dislike directory extensions and would prefer the ".pyp" extension for python packages withouth an __init__.py file because that is more explicit and makes it clear which directories are intented to be a python package. With the other proposal it is not clear which directories are python packages and which are directories that just happen to be on sys.path (for example because they are in the same directory as the python script you're running). Ronald
participants (2)
-
Guido van Rossum
-
Ronald Oussoren