Message91846
| Author |
amaury.forgeotdarc |
| Recipients |
amaury.forgeotdarc, ezio.melotti, solinym, travis |
| Date |
2009年08月21日.21:28:26 |
| SpamBayes Score |
1.0290056e-05 |
| Marked as misclassified |
No |
| Message-id |
<1250890107.94.0.019005014931.issue5210@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|