Skip to content

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

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

Closed
wants to merge 1 commit into from
Closed

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

wants to merge 1 commit into from

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 7, 2018

  • 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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants