Message41854
Logged In: YES
user_id=64929
> Support for compressed
> files didn't work from the build directory, since the zlib
> import happens before site.py is run.
I imported zlib before site.py is imported because site.py
may itself be in a compressed zip archive. It looks like
your trick of importing zlib in site.py works, and there is
no need to limit it to running from the build directory
since "import zlib" is cheap. An alternative is to try a
zlib import after site.py is imported.
As noted, this patch may not be accepted anyway, so I will
stand by on this and any other problems. |
|
Date |
User |
Action |
Args |
2007-08-23 15:18:42 | admin | link | issue645650 messages |
2007-08-23 15:18:42 | admin | create | |
|