Inada Naoki
cf3fd2b061
fix: add reentrant guard to Unpacker.feed() ( #704 )
...
fix ##695
2026-06-24 15:13:45 +09:00
Copilot
77395c19a5
Harden Unpacker.__init__ re-entry cleanup to prevent buffer/context leaks ( #687 )
2026-06-03 16:40:16 +09:00
Inada Naoki
33e0e86f4e
Cleanup code and pyproject ( #608 )
...
* use isort
* fallback: use BytesIO instead of StringIO. We had dropped Python 2
already.
2024-05-06 11:46:31 +09:00
Evgeny Markov
c8d0751fe3
Drop Python 3.6 support ( #543 )
...
The following steps have been taken:
1. Black was updated to latest version. The code has been formatted with
the new version.
2. The pyupgrade utility is installed. This helped to remove all the
code that was needed to support Python < 3.7.
Fix #541 .
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2023-05-24 01:41:08 +09:00
sblondon
feec06206c
Drop python2 support ( #519 )
...
The PR removes python2 references and cases.
Close #518
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2023-05-21 16:26:39 +09:00
Andrey Bienkowski
4b0819dca9
Remove redundant code ( #460 )
2021-02-16 22:38:06 +09:00
jfolz
c1b1a23f62
Fix Unpacker.tell() ( #427 )
...
Fixes #426 .
Co-authored-by: folz <joachim.folz@dfki.de>
2020-06-08 12:14:50 +09:00
Inada Naoki
10e5e39ff9
blacken test
2019-12-05 18:51:45 +09:00
INADA Naoki
5569a4efcd
s/raw_as_bytes/raw/g ( #276 )
...
fixes #273
2018-01-12 19:22:36 +09:00
INADA Naoki
5534d0c7af
Add raw_as_bytes option to Unpacker. ( #265 )
2018-01-11 17:02:41 +09:00
Ken Dreyer
f40fdf523a
tests: add pytest 2.3 compatibility
...
Adjust the skipif conditional to use the older pytest 2.3 syntax.
(This allows the tests to pass with the system pytest package on RHEL
7.0, since RHEL 7.0 ships pytest 2.3.5.)
2015-01-23 12:27:58 -07:00
Alexey Popravka
ee38505db5
fixed super() for python2
2014-03-24 15:42:16 +02:00
Alexey Popravka
d850e56dd0
Unpacker's ext_hook fixed + tests
2014-03-24 15:31:06 +02:00
INADA Naoki
cf63f19211
Fix test
2014-02-13 09:57:51 +09:00
INADA Naoki
0cab6092e4
Add refcount check.
2014-02-13 09:55:17 +09:00
INADA Naoki
38cf835c95
Rename
2014-02-13 09:40:12 +09:00