Message342593
For a vanishingly small number of internal types, CPython sets the
tp_name slot to mod_name.type_name, either in the PyTypeObject or the
PyType_Spec. There are a few minor places where this surfaces:
* Custom repr functions for those types (some of which ignore the
tp_name in favor of using a string literal, such as _io.TextIOWrapper)
* Pickling error messages
The existing test suite only tests the former.
This makes it tricky for other Python implementations to pass the test suite if
they do not expose the module name (_io, _ssl, _tkinter, etc) in their type
names. |
|
Date |
User |
Action |
Args |
2019-05-15 18:35:30 | tekknolagi | set | recipients:
+ tekknolagi, christian.heimes |
2019-05-15 18:35:30 | tekknolagi | set | messageid: <1557945330.73.0.750176002779.issue36929@roundup.psfhosted.org> |
2019-05-15 18:35:30 | tekknolagi | link | issue36929 messages |
2019-05-15 18:35:30 | tekknolagi | create | |
|