DO-NOT-MERGE: bpo-34595: Add %t format to PyUnicode_FromFormatV() by vstinner · Pull Request #9122 · python/cpython
* The %T format of PyUnicode_FromFormatV() now returns the fully qualified name of an object type (ex: "module.namespace.typename"). * Add %t format to PyUnicode_FromFormatV(), and so to PyUnicode_FromFormat() and PyErr_Format(), to format the "short name" of an object type: equivalent to "%s" with _PyType_Name(Py_TYPE(obj)). * Replace %T format with %t format in unicodeobject.c. * Update existing NEWS entry
vstinner
changed the title
bpo-34595: Add %t format to PyUnicode_FromFormatV()
DO-NOT-MERGE: bpo-34595: Add %t format to PyUnicode_FromFormatV()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters