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

github.com

Tin mới

jaraco:refactor/zipfile-extra

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

cmath module documentation is misleading on branch cuts #85417

gh-85417: Clarify behaviour on branch cuts in cmath module #102046

Misc improvements to the float tutorial #102052

PyErr_SetObject() behavior is strange and not as documented. #101578

gh-101578: Amend PyErr_{Set,Get}RaisedException docs #101962

Compiler warning for _Py_InIntegralTypeRange #97786

gh-97786: Fix compiler warnings in pytime.c #101826

CI: intermittent macOS failures for make checksharedmods #101981

gh-101981: Build macOS as recommended by the devguide #102070

Isolate the _io extension module #101819

gh-101819: Adapt _io types to heap types, batch 1 #101949

code.h uses MS-only C++ extensions #101907

gh-101907: Stop using _Py_OPCODE and _Py_OPARG macros #101912

gh-101981: Apply HOMEBREW related environment variables #102074

Zipfile lib overwrites the extra field during closing when the archive size is more then ZIP64_LIMIT #88233

zipfile: handle extras after a zip64 extra

Add NEWS entry for bugfix

Tweak style to conform to best conventions. Remove unused variable.

Reflow comment to 72 characters per PEP 8.

Replace literal and ambiguous comment with a self-documenting constant.

: Clarify behaviour on branch cuts in cmath module (

Misc improvements to the float tutorial (

: Amend PyErr_{Set,Get}RaisedException docs (

: Fix compiler warnings in pytime.c (

: Build macOS as recommended by the devguide (

: Adapt _io types to heap types, batch 1 (

gh-101907: Stop using `_Py_OPCODE` and `_Py_OPARG` macros (GH-101912) * gh-101907: Removes use of non-standard C++ extension from Include/cpython/code.h * Make cases_generator correct on Windows

: Apply HOMEBREW related environment variables (

Refactor zipfile._strip_extra to use higher level abstractions for ex…

awaiting core review

awaiting core review