This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tekknolagi
Recipients christian.heimes, tekknolagi
Date 2019-05-15.18:35:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557945330.73.0.750176002779.issue36929@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-15 18:35:30tekknolagisetrecipients: + tekknolagi, christian.heimes
2019-05-15 18:35:30tekknolagisetmessageid: <1557945330.73.0.750176002779.issue36929@roundup.psfhosted.org>
2019-05-15 18:35:30tekknolagilinkissue36929 messages
2019-05-15 18:35:30tekknolagicreate