would be nice: import from archive
Jorge Godoy
godoy at ieee.org
Mon Aug 30 09:23:12 EDT 2004
Just <just at xs4all.nl> writes:
> In article <m3ekloont2.fsf at g2ctech.com>, Jorge Godoy <godoy at ieee.org>
> wrote:
>
>> Because the implementation that allowed to unzip the "directory" and
>> find the files in there would also allow to place the '.pyc' in a
>> different place such as the real directory where the zip file resides.
>>
>> Python didn't use to open zip files also, and now it does. I don't see
>> nothing wrong with making it also writing the '.pyc' files. Do you?
>
> Yes, because it's conceptually inconsistent with how "regular" imports
> work.
So here, we have our thoughts taking two separate ways. I don't see too
much inconsistency here. You do. :-)
But, packaging the ".pyc" solves the problem... Just warning that they
are not generated after the packing is a good advice to have. It
wouldn't hurt anybody (and takes less time than we took talking about it
here).
Be seeing you,
--
Godoy. <godoy at ieee.org>
More information about the Python-list
mailing list