Message41854
| Author |
ahlstromjc |
| Recipients |
| Date |
2002年12月10日.18:31:55 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:18:42 | admin | link | issue645650 messages |
| 2007年08月23日 15:18:42 | admin | create |
|