8000 gh-104400: pygettext: use an AST parser instead of a tokenizer by tomasr8 · Pull Request #104402 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-104400: pygettext: use an AST parser instead of a tokenizer #104402

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

Merged
merged 40 commits into from
Feb 11, 2025
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ce99920
Move test_i18n into a separate folder
tomasr8 May 10, 2023
4234c0b
Switch to AST-based message extraction
tomasr8 May 10, 2023
d431951
Add news entry
tomasr8 May 11, 2023
5721857
Merge branch 'main' into better-pygettext
tomasr8 Jun 12, 2023
42277e8
Fix comment
tomasr8 Jun 13, 2023
03f698f
Merge branch 'main' into better-pygettext
tomasr8 Jun 13, 2023
705b608
Merge branch 'main' into better-pygettext
tomasr8 Jun 15, 2023
a16274f
Merge branch 'main' into better-pygettext
tomasr8 Jun 16, 2023
f291862
Merge branch 'main' into better-pygettext
tomasr8 Jul 19, 2023
ca4cd02
Merge remote-tracking branch 'upstream/main' into better-pygettext
tomasr8 Nov 29, 2024
22c44b4
Fix conflicts
tomasr8 Nov 29, 2024
5625422
Remove unrelated changes
tomasr8 Nov 29, 2024
a80d92e
Use match-case
tomasr8 Nov 29, 2024
7fe3df5
Reorder methods
tomasr8 Nov 29, 2024
a6b1d54
Test f-strings
tomasr8 Nov 29, 2024
46eba7a
Improve error messages
tomasr8 Nov 29, 2024
424ad6a
Update news entry
tomasr8 Nov 30, 2024
7d58283
Fix error messages
tomasr8 Nov 30, 2024
6e7ca58
Add tests for error messages
tomasr8 Nov 30, 2024
7cfa879
Normalize line endings on Windows
tomasr8 Nov 30, 2024
53e0664
Merge branch 'main' into better-pygettext
AA-Turner Feb 2, 2025
c85bc8e
Merge branch 'main' into better-pygettext
AA-Turner Feb 2, 2025
5170691
Merge remote-tracking branch 'upstream/main' into better-pygettext
tomasr8 Feb 5, 2025
de52a20
Simplify docstring extraction
tomasr8 Feb 5, 2025
7caef48
:seal:
tomasr8 Feb 5, 2025
2409f72
Readability improvements
tomasr8 Feb 5, 2025
3a84af8
Fix tests
tomasr8 Feb 5, 2025
7f9c244
Remove unused method
tomasr8 Feb 5, 2025
3efa0ba
PEP8 fixes
tomasr8 Feb 5, 2025
3f22a99
Use f-strings
tomasr8 Feb 5, 2025
9856868
Simplifications
tomasr8 Feb 5, 2025
84e2d24
Add a comment
tomasr8 Feb 6, 2025
006e4a8
Remove walrus
tomasr8 Feb 6, 2025
d684780
Remove redundant function
tomasr8 Feb 6, 2025
084405f
Add visit_file to GettextVisitor
tomasr8 Feb 6, 2025
1ad8d76
Simplify reading files
tomasr8 Feb 6, 2025
29ec497
Reject calls with var-positional arguments
tomasr8 Feb 6, 2025
621cf01
Use more specific visit functions
tomasr8 Feb 6, 2025
a3e866d
Use aliases for some visit methods
tomasr8 Feb 6, 2025
4d51b08
Remove walrus
tomasr8 Feb 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into better-pygettext
  • Loading branch information
tomasr8 authored Jun 13, 2023
commit 03f698f3bd5a72ae3717181abc6f9ee45801f57c

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.

0