FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-93610: Improve docs for importlib.resources by encukou · Pull Request #93611 · python/cpython · GitHub

/ cpython Public

gh-93610: Improve docs for importlib.resources - #93611

Merged
ambv merged 18 commits into
python:mainfrom
encukou:impres-docs
Jul 25, 2022
Merged

gh-93610: Improve docs for importlib.resources#93611
ambv merged 18 commits into
python:mainfrom
encukou:impres-docs

Conversation

encukou commented Jun 8, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

This PR aims to make importlib.resources docs more usable.
@jaraco, do these look reasonable?


Please, if you have suggestions for more improvements, use the issue (or another PR). This PR does not aim to make the docs perfect, just better.

encukou requested a review from jaraco June 8, 2022 17:27
bedevere-bot added docs Documentation in the Doc dir awaiting core review labels Jun 8, 2022
Comment thread Doc/library/importlib.resources.rst Outdated

AA-Turner 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nothing major:

A

Comment thread Doc/library/importlib.resources.abc.rst Outdated
Comment thread Doc/library/importlib.resources.rst Outdated
Comment thread Doc/library/importlib.resources.rst Outdated
Comment thread Doc/library/importlib.resources.rst Outdated
Comment thread Doc/library/importlib.resources.rst Outdated
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>

encukou commented Jun 16, 2022

Copy link
Copy Markdown
Member Author

Hm, I see the mistake I made here: I moved all of importlib.abc to a new file, but in reality that page should be split between importlib.abc and importlib.resources.abc.
One day I'll learn how this package works, but it's not today!

encukou commented Jun 16, 2022

Copy link
Copy Markdown
Member Author

Here's a fix.
There's a remaining reference to a importlib.abc.TraversableReader, which is undocumented and actually lives in the undocumented module importlib.resources.simple, but declare that out of scope of this PR.

Copy link
Copy Markdown
Member

It might make sense to break out importlib.abc to its own page, but out of scope for this importlib.resouces-specific PR.

A

ambv added the needs backport to 3.11 only security fixes label Jul 25, 2022
ambv merged commit ccd7c7a into python:main Jul 25, 2022

Copy link
Copy Markdown
Contributor

Thanks @encukou for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 25, 2022

Copy link
Copy Markdown

GH-95247 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 25, 2022
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit ccd7c7a)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
ambv added a commit that referenced this pull request Jul 25, 2022
(cherry picked from commit ccd7c7a)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news topic-importlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL