Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-133829: Update zipimport example to not be from Python 2 #133835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
Loading
from

Conversation

sharktide
Copy link
Contributor

@sharktide sharktide commented May 10, 2025

#133829

Updates this zipimport example: https://docs.python.org/3.14/library/zipimport.html#examples which uses Python 2.3 to use 3.x and pip.pyz as the new example

This will close #133829

Ready for review


📚 Documentation preview 📚: https://cpython-previews--133835.org.readthedocs.build/en/133835/library/zipimport.html#examples

@tomasr8 tomasr8 changed the title gh-133829 Update zipimport example to use pip.pyz gh-133829: Update zipimport example to use pip.pyz May 10, 2025
Doc/library/zipimport.rst Outdated Show resolved Hide resolved
@bedevere-app
Copy link

bedevere-app bot commented May 10, 2025

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@sharktide
Copy link
Contributor Author

I have made the requested changes; please review again.

@bedevere-app bedevere-app bot requested a review from AA-Turner May 10, 2025 22:53
@sharktide
Copy link
Contributor Author

@AA-Turner i completely removed the bash part to make a MWE

@AA-Turner
Copy link
Member

I'd suggest using Ryan's example on the issue, currently there's no provenance for pip.pyz.

@sharktide
Copy link
Contributor Author

sharktide commented May 10, 2025 via email

Doc/library/zipimport.rst Outdated Show resolved Hide resolved
@sharktide sharktide requested a review from sobolevn May 11, 2025 13:05
@sharktide sharktide requested a review from sobolevn May 11, 2025 16:32
Doc/library/zipimport.rst Show resolved Hide resolved
Doc/library/zipimport.rst Outdated Show resolved Hide resolved
@sharktide sharktide requested a review from sobolevn May 11, 2025 16:50
Doc/library/zipimport.rst Outdated Show resolved Hide resolved
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

LGTM!

@AA-Turner, what do you think?

Doc/library/zipimport.rst Outdated Show resolved Hide resolved
Doc/library/zipimport.rst Show resolved Hide resolved
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@sharktide

This comment was marked as resolved.

@sharktide
Copy link
Contributor Author

@AA-Turner Please give final review

@sharktide sharktide changed the title gh-133829: Update zipimport example to use pip.pyz gh-133829: Update zipimport example to not be from Python 2 May 17, 2025
@sharktide
Copy link
Contributor Author

Someone please merge this since @AA-Turner isnt reviewing any time soon

@ZeroIntensity
Copy link
Member

Let's be patient! Adam will review when he gets a chance to do so. People are busy, and complaining doesn't get it landed any faster (though sometimes I wish it did 😉)

@sharktide
Copy link
Contributor Author

sharktide commented May 18, 2025 via email

Copy link
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

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

LGTM with one suggestion

Doc/library/zipimport.rst Outdated Show resolved Hide resolved
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

Update zipimport example (uses Python 2.3)
6 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.