◐ Shell
clean mode source ↗

gh-88233: zipfile: refactor _strip_extra by jaraco · Pull Request #102084 · python/cpython

…tras instead of a heavy-state loop.

jaraco

@jaraco

@jaraco

@jaraco jaraco deleted the refactor/zipfile-extra branch

September 25, 2023 23:47

csm10495 pushed a commit to csm10495/cpython that referenced this pull request

Sep 28, 2023
* Refactor zipfile._strip_extra to use higher level abstractions for extras instead of a heavy-state loop.

* Add blurb

* Remove _strip_extra and use _Extra.strip directly.

* Use memoryview to avoid unnecessary copies while splitting Extras.

Glyphack pushed a commit to Glyphack/cpython that referenced this pull request

Sep 2, 2024
* Refactor zipfile._strip_extra to use higher level abstractions for extras instead of a heavy-state loop.

* Add blurb

* Remove _strip_extra and use _Extra.strip directly.

* Use memoryview to avoid unnecessary copies while splitting Extras.