◐ Shell
clean mode source ↗

bpo-34595: Format string using %T in Python/ by vstinner · Pull Request #9103 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

vstinner

wants to merge 1 commit into

python:masterfrom

vstinner:python_tp_name

Closed

bpo-34595: Format string using %T in Python/#9103

vstinner

wants to merge 1 commit into

python:masterfrom

vstinner:python_tp_name

Conversation

@vstinner

@vstinner vstinner commented

Sep 7, 2018

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

  • PyErr_Format(): replace Py_TYPE(obj)->tp_name using "%s" formatter
    with the new %T formatter in the Python/ subdirectory.
  • For Python-ast.c, modify the Parser/asdl_c.py generator

https://bugs.python.org/issue34595

* PyErr_Format(): replace Py_TYPE(obj)->tp_name using "%s" formatter
  with the new %T formatter in the Python/ subdirectory.
* For Python-ast.c, modify the Parser/asdl_c.py generator

@vstinner

Copy link Copy Markdown

Member Author

The code and discussion evolved in the meanwhile. I will rewrite this change once the discussion moves on.

@vstinner vstinner closed this

Sep 11, 2018

@vstinner vstinner deleted the python_tp_name branch

September 11, 2018 22:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner @the-knights-who-say-ni @bedevere-bot