Message91846
Hm, I tried a modified version of your first test, and I found another
problem with the current zlib library;
starting with the input:
x = x1 + x2 + HAMLET_SCENE # both compressed and uncompressed data
The following scenario is OK:
dco.decompress(x) # returns HAMLET_SCENE
dco.unused_data # returns HAMLET_SCENE
But this one:
for c in x:
dco.decompress(x) # will return HAMLET_SCENE, in several pieces
dco.unused_data # only one character, the last of (c in x)!
This is a bug IMO: unused_data should accumulate all the extra uncompressed
data. |
|
Date |
User |
Action |
Args |
2009-08-21 21:28:28 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, ezio.melotti, travis, solinym |
2009-08-21 21:28:27 | amaury.forgeotdarc | set | messageid: <1250890107.94.0.019005014931.issue5210@psf.upfronthosting.co.za> |
2009-08-21 21:28:26 | amaury.forgeotdarc | link | issue5210 messages |
2009-08-21 21:28:26 | amaury.forgeotdarc | create | |
|