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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2017-09-17.16:33:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505665989.11.0.582498752837.issue31497@psf.upfronthosting.co.za>
In-reply-to
Content
Proposed PR adds a helper function _PyType_Name() which returns the last component of tp_name after dot. This allows to avoid duplication of the code.

I'm going to use this helper in more places in future for getting rid of hardcoded type names (issue27541, issue21861).
History
Date User Action Args
2017-09-17 16:33:09serhiy.storchakasetrecipients: + serhiy.storchaka
2017-09-17 16:33:09serhiy.storchakasetmessageid: <1505665989.11.0.582498752837.issue31497@psf.upfronthosting.co.za>
2017-09-17 16:33:08serhiy.storchakalinkissue31497 messages
2017-09-17 16:33:08serhiy.storchakacreate