Message90521
| Author |
solinym |
| Recipients |
solinym |
| Date |
2009年07月14日.22:30:21 |
| SpamBayes Score |
5.3999338e-05 |
| Marked as misclassified |
No |
| Message-id |
<1247610623.98.0.0463299283071.issue6485@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The zlib C library has the capability to indicate the end of a
compressed stream by returning a Z_STREAM_END from a call to inflate.
This allows uncompressed data to follow some compressed data. It is
necessary to know when the end of the compressed stream has been reached
so that one can query the "unused_data" attribute.
However, there is no way for python to know that the end of a compressed
stream has been reached.
I will shortly be submitting a small patch that creates a python integer
attribute called "is_finished" which evaluates to 1 when the end of a
compressed stream has been reached. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年07月14日 22:30:24 | solinym | set | recipients:
+ solinym |
| 2009年07月14日 22:30:23 | solinym | set | messageid: <1247610623.98.0.0463299283071.issue6485@psf.upfronthosting.co.za> |
| 2009年07月14日 22:30:22 | solinym | link | issue6485 messages |
| 2009年07月14日 22:30:22 | solinym | create |
|