gh-95731: Fix module docstring extraction in pygettext#95732
Merged
JelleZijlstra merged 5 commits intopython:mainfrom Oct 15, 2022
Jackenmen:fix_module_docstring_bug
Merged
gh-95731: Fix module docstring extraction in pygettext#95732JelleZijlstra merged 5 commits intopython:mainfrom Jackenmen:fix_module_docstring_bug
JelleZijlstra merged 5 commits intopython:mainfrom
Jackenmen:fix_module_docstring_bug
Conversation
Contributor
Author
|
I'm unsure whether it's supposed to be like this but the test run on GitHub Actions doesn't run tests in |
Misc/NEWS.d/next/Tools-Demos/2022-08-05-23-25-59.gh-issue-95731.N2KohU.rst
Outdated
Show resolved
Hide resolved
Contributor
|
Thanks @jack1142 for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Oct 15, 2022
|
GH-98281 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
Oct 15, 2022
|
GH-98282 is a backport of this pull request to the 3.10 branch. |
miss-islington
added a commit
that referenced
this pull request
Oct 15, 2022
JelleZijlstra
pushed a commit
that referenced
this pull request
Oct 16, 2022
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added module docstrings tests and fixed the issue.
pygettext --docstringsdoesn't actually extract module docstring due to tokenize returning ENCODING token #95731