Update zlib from 3.12.6 and _ZlibDecompressor implementation (#5476)

* add is_s390x and skip_on_s390x to test support

* update zlib tests to 3.12

* _ZlibDecompressor implementation
This commit is contained in:
Ashwin Naren
2025-01-15 20:28:09 -08:00
committed by GitHub
parent b7a7b6b923
commit 2d83a67bd6
4 changed files with 380 additions and 57 deletions

View File

@@ -394,4 +394,9 @@ impl VirtualMachine {
obj.as_object(),
)
}
pub fn new_eof_error(&self, msg: String) -> PyBaseExceptionRef {
let eof_error = self.ctx.exceptions.eof_error.to_owned();
self.new_exception_msg(eof_error, msg)
}
}