Henning von Bargen wrote:
> I like the idea of the PEP.
> On the other hand, I dislike using directories for it.
> Others have explained enough reasons for why creating many
> directories is a bad idea; and there may be other reasons
> (file-system limits for number of directories, problems when
> the directories are located on the network).

Actually, this is the first post I've seen noting objective problems
with the use of a subdirectory. The others were just a subjective
difference in perspective that saw subdirectory clutter as somehow being
worse than file clutter.

Specific examples of filesystems with different limits on file and
subdirectory counts and network filesystems where opening a subdirectory
can result in a significant speed impact would be very helpful.

> The solution is so obvious:
> 
> Why not use a .pyr file that is internally a zip file?

Agreed this should be discussed in the PEP, but one obvious problem is
the speed impact. Picking up a file from a subdirectory is going to
introduce less overhead than unpacking it from a zipfile.

That said, using a non-compressed zipfile would make a lot more sense
than inventing our own archive format if a subdirectory is eventually
deemed unsuitable.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to