SIGN IN SIGN UP

gh-88233: zipfile: refactor _strip_extra (#102084)

* 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.
J
Jason R. Coombs committed
e9791ba35175171170ff09094ea46b91fc18c654
Parent: 25bb266
Committed by GitHub <noreply@github.com> on 9/25/2023, 11:46:58 PM