Skip to content

gh-123424: add ZipInfo._for_archive to set suitable default properties - #123429

Merged
jaraco merged 8 commits into
python:mainfrom
picnixz:feat/zipfile-for-name-123424
Dec 29, 2024
Merged

jaraco merged 8 commits into
python:mainfrom
picnixz:feat/zipfile-for-name-123424

Conversation

@picnixz

@picnixz picnixz commented Aug 28, 2024 •

Copy link
Copy Markdown
Member

@jaraco jaraco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. I have some thoughts about alternative approaches. Interested to hear what you think.

Comment thread Lib/zipfile/__init__.py Resolved
Comment thread Lib/zipfile/__init__.py Resolved
@Wulian233

Copy link
Copy Markdown
Contributor

Is there anything else that needs to be changed/discussion in this PR? I had another PR #124435 (which has been completed) that conflicted with these changes.

After merge, I can continue handle my PR :)

#124435 (review)

@picnixz

picnixz commented Nov 2, 2024

Copy link
Copy Markdown
Member Author

I don't have time for this one sorry. I didn't implement the suggestion with composition due to other issues that seemed more pressing (and I don't plan to come back here before I'm done with providing HACL* HMAC, at least).

@jaraco jaraco self-assigned this Dec 29, 2024
@jaraco
jaraco force-pushed the feat/zipfile-for-name-123424 branch from f578f66 to 44e7b75 Compare December 29, 2024 18:07
@jaraco jaraco changed the title gh-123424: add ZipInfo.for_name to construct a ZipInfo for a file in an archive Dec 29, 2024
@jaraco
jaraco enabled auto-merge (squash) December 29, 2024 18:23
@jaraco
jaraco merged commit 7e819ce into python:main Dec 29, 2024
@picnixz

picnixz commented Dec 31, 2024

Copy link
Copy Markdown
Member Author

Thank you very much for taking over this @jaraco. Sorry for not honoring my initial commitment but I couldn't find the time/motivation to work on this one :(

@picnixz
picnixz deleted the feat/zipfile-for-name-123424 branch December 31, 2024 17:27
@jaraco

jaraco commented Dec 31, 2024

Copy link
Copy Markdown
Member

Thank you very much for taking over this @jaraco. Sorry for not honoring my initial commitment but I couldn't find the time/motivation to work on this one :(

No need to apologize. Thanks for the original work and being proactive about your availability.

srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
…roperties (python#123429)

---------

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
jaraco added a commit to jaraco/zipp that referenced this pull request May 12, 2025
python/cpython#123424: add `ZipInfo._for_archive` to set suitable default properties

---------

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
jaraco added a commit to jaraco/zipp that referenced this pull request May 12, 2025
python/cpython#123424: add `ZipInfo._for_archive` to set suitable default properties

---------

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
jaraco added a commit to jaraco/zipp that referenced this pull request May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants