We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aafbdd0 commit 130840cCopy full SHA for 130840c
vm/src/stdlib/zlib.rs
@@ -150,6 +150,19 @@ impl PyValue for PyDecompress {
150
}
151
#[pyimpl]
152
impl PyDecompress {
153
+ #[pyproperty]
154
+ fn eof(&self) -> bool {
155
+ self.eof.load()
156
+ }
157
158
+ fn unused_data(&self) -> PyBytesRef {
159
+ self.unused_data.lock().unwrap().clone()
160
161
162
+ fn unconsumed_tail(&self) -> PyBytesRef {
163
+ self.unconsumed_tail.lock().unwrap().clone()
164
165
+
166
fn save_unconsumed_input(
167
&self,
168
d: &mut Decompress,
0 commit comments