A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/030768.html below:

[Python-Dev] New Import Hook & New Zip Importer

[Python-Dev] New Import Hook & New Zip Importer [Python-Dev] New Import Hook & New Zip ImporterJust van Rossum just@letterror.com
Thu, 5 Dec 2002 10:31:13 +0100
Fredrik Lundh wrote:

> have you tested the following code with uncompressed PY files?
> 
>     buf[data_size] = 'Z'; /* saw this in zipfile.py */
>     data_size++;

No, whoops! The "zipped-uncompressed.zip" file that comes with the other patch
is actually compressed... I'll test & fix.

> unmarshal_code should check that PyString_Size(data) is at least
> eight (or perhaps nine) bytes.

Ok, done.

Thank you!

Just



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4