Message86227
| Author |
kristjan.jonsson |
| Recipients |
kristjan.jonsson |
| Date |
2009年04月21日.09:51:39 |
| SpamBayes Score |
5.107079e-07 |
| Marked as misclassified |
No |
| Message-id |
<1240307503.01.0.128578916914.issue5804@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It can be useful to get whatever remaining data there exists in the
decompression stream for further processing. This is currently possible
by creating a zlib.decompressobj and accessing its unused_data member,
but that is quite cumbersome.
The attached patch adds a 'tail' keyword argument to zlib.decompress
which causes the result to be a 2-tuple, with the first part containing
the decompressed data, and the second containing any remaining data |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年04月21日 09:51:43 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson |
| 2009年04月21日 09:51:43 | kristjan.jonsson | set | messageid: <1240307503.01.0.128578916914.issue5804@psf.upfronthosting.co.za> |
| 2009年04月21日 09:51:41 | kristjan.jonsson | link | issue5804 messages |
| 2009年04月21日 09:51:41 | kristjan.jonsson | create |
|