Debian Patches

Status for python-pegen/0.3.0-3

Patch Description Author Forwarded Bugs Origin Last update
Add-tests-for-comprehension-unpacking-on-Python-3.15.patch Add tests for comprehension unpacking on Python 3.15 Add test data and test cases for PEP 742 / PEP 646 comprehension unpacking
in test_ast_parsing.py, test_syntax_error_handling.py, and test_unsupported_syntax.py.

===================================================================
yes
Remove-broken-links-from-documentation.patch Remove broken links from documentation
This removes three broken links just cluttering the documentation:
* The genindex is currently empty, because no index directives are used.
* The modindes is not generated at all and the link is invalid, because no
python modules are documented.
* The search page is just empty, because the search is triggered from the input
field in the sidebar.

===================================================================
Alexander Sulfrian <alexander@sulfrian.net> yes
Add-support-for-Python-3.14.patch Add support for Python 3.14
This adjusts the grammar and tests to support the changes introduced
with Python 3.14.

===================================================================
Alexander Sulfrian <alexander@sulfrian.net> yes
Add-tests-for-unparenthesized-except-on-Python-3.14.patch Add unsupported syntax test for unparenthesized except on Python < 3.14 Verify that targeting py_version < (3, 14) properly rejects unparenthesized
multiple exception types.

===================================================================
yes
Fix-ast-Expression-locations-in-tests.patch Remove invalid LOCATIONS argument from ast.Expression in tests In Python 3.15, passing location attributes to ast.Expression raises TypeError
because ast.Expression does not accept location fields.

===================================================================
yes
Fix-ast-node-argument-typos-in-grammar.patch Fix ast node constructor argument typos in grammar Fix typos in ast.arg (annotations -> annotation), ast.MatchAs (target -> name),
and ast.MatchStar (target -> name), which are strictly validated in Python 3.15.

===================================================================
yes
Support-is_lazy-in-Import-AST-nodes-for-Python-3.15.patch Support is_lazy attribute in Import and ImportFrom AST nodes for Python 3.15 Python 3.15 added the is_lazy attribute (default 0) to ast.Import and
ast.ImportFrom AST nodes.

===================================================================
yes
Add-tests-for-is_lazy-imports-on-Python-3.15.patch Add tests for is_lazy import AST nodes on Python 3.15 Verify that parsed ast.Import and ast.ImportFrom nodes have is_lazy set to 0.

===================================================================
yes
Update-syntax-error-handling-tests-for-Python-3.15.patch Update syntax error handling tests for Python 3.15 Normalize diagnostic message phrasing changes in Python 3.15 (e.g., parameter vs
argument, * argument may appear only once, double starred expression).

===================================================================
yes
Support-unpacking-in-comprehensions-for-Python-3.15.patch Support unpacking in comprehensions for Python 3.15 Support iterable unpacking and dictionary unpacking in comprehensions (PEP 742 /
PEP 646) which is valid syntax in Python 3.15.

===================================================================
yes
Fix-broken-testcase-for-Python-3.12.patch Fix broken testcase for Python 3.12
This patch was applied upstream to fix a testcase with Python 3.12.
Yifei <directoryyf@gmail.com> not-needed
Fix-python-grammar-to-compile-under-python-3.13.patch Fix Python grammar to compile under Python 3.13
This patch was applied upstream to fix the compatibility with Python
3.13.
Daniel Fremont <dfremont@ucsc.edu> not-needed
Use-more-generic-python3-shebang.patch Fix shebang
Replace the oddly specific python3.8 in the shebang line with the more general
python3.

===================================================================
Alexander Sulfrian <alexander@sulfrian.net> yes

All known versions for source package 'python-pegen'

Links