homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: is_finished not exported by zlib
Type: Stage: resolved
Components: Extension Modules Versions: Python 2.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder: zlib does not indicate end of compressed stream properly
View: 5210
Assigned To: Nosy List: exarkun, solinym
Priority: normal Keywords:

Created on 2009年07月14日 22:30 by solinym, last changed 2022年04月11日 14:56 by admin. This issue is now closed.

Messages (2)
msg90521 - (view) Author: Travis H. (solinym) Date: 2009年07月14日 22:30
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.
msg90522 - (view) Author: Jean-Paul Calderone (exarkun) * (Python committer) Date: 2009年07月14日 22:32
This is a duplicate of #5210, which has a patch attached.
History
Date User Action Args
2022年04月11日 14:56:51adminsetgithub: 50734
2009年07月14日 22:38:08ezio.melottisetstatus: open -> closed
resolution: duplicate
superseder: zlib does not indicate end of compressed stream properly
stage: resolved
2009年07月14日 22:32:03exarkunsetnosy: + exarkun
messages: + msg90522
2009年07月14日 22:30:22solinymcreate

AltStyle によって変換されたページ (->オリジナル) /