Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
GH-121970: Extract pydoc_topics into a new extension#131256
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
AA-Turner commented Mar 14, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
hugovk commented Mar 14, 2025
Thanks! Do you have a good way to reproduce the original failure in a minimal way? |
AA-Turner commented Mar 14, 2025
$ git switch -C investigate db62557e3d1b0de4ca17786bd53f9c825ad88721 $ make -CDoc pydoc-topics $ cp Doc/build/pydoc-topics/topics.py Lib/pydoc_data/topics.py $ git commit -am "regenerate pydoc-topics" $ make ci |
AA-Turner commented Mar 19, 2025
Ok, let's try again... A |
c1a02f9 into python:mainUh oh!
There was an error while loading. Please reload this page.
hugovk commented Mar 20, 2025
🤞 And backport? |
Thanks @AA-Turner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @AA-Turner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, @AA-Turner, I could not cleanly backport this to |
Sorry, @AA-Turner, I could not cleanly backport this to |
…ythonGH-131256) (cherry picked from commit c1a02f9) Co-authored-by: Adam Turner <[email protected]>
GH-131511 is a backport of this pull request to the 3.13 branch. |
…ythonGH-131256) (cherry picked from commit c1a02f9) Co-authored-by: Adam Turner <[email protected]>
GH-131512 is a backport of this pull request to the 3.12 branch. |
bedevere-bot commented Mar 20, 2025
|
It seems the error was in #130492, the attempted fix. That PR stripped all trailing whitespace, which inadvertantley also removed the final newline, leading to syntax errors, as there were four consecutive quotation marks.
This PR reapplies the reverted commit (#131245), adds a trailing newline, and finally regenerates
pydoc_data/topics.py.A
pyspecific#121970📚 Documentation preview 📚: https://cpython-previews--131256.org.readthedocs.build/