Skip to content

gh-82312: Further improvement of error messages for generating AST nodes#150912

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:ast-err-messages
Jun 29, 2026
Merged

gh-82312: Further improvement of error messages for generating AST nodes#150912
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:ast-err-messages

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jun 4, 2026

Copy link
Copy Markdown
Member

This is a follow up of GH-17715.

  • Use %T instead of _PyType_Name().
  • Add the wrong type name we got for identifier and string.

…AST nodes

This is a follow up of pythonGH-17715.

* Use %T instead of _PyType_Name().
* Add the wrong type name we got for identifier and string.
@serhiy-storchaka serhiy-storchaka requested a review from tomasr8 as a code owner June 4, 2026 11:57
@serhiy-storchaka serhiy-storchaka merged commit bc3fa17 into python:main Jun 29, 2026
56 checks passed
@serhiy-storchaka serhiy-storchaka deleted the ast-err-messages branch June 29, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant