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 Claudiu.Popa, benjamin.peterson, hynek, josh.r, pitrou, rhettinger, serhiy.storchaka, stutzbach
Date 2014-07-13.15:24:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I now see that this issue is not so easy from C side.

And more, it is very uncommon for either Python or C implementations (especial C implementations) to introspect to figure out their "real" name. Existing cases are rather exceptions. And in many case this is only a side effect of sharing an implementation between several classes (set and frozenset, three buffered file classes in io, etc). In many cases repr's flexibility is limited: hardcoded or omitted module name, used class's __name__ instead of __qualname__, etc.

This should be discussed on Python-Dev maillist.
Date User Action Args
2014-07-13 15:24:09serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, benjamin.peterson, stutzbach, Claudiu.Popa, hynek, josh.r
2014-07-13 15:24:09serhiy.storchakasetmessageid: <>
2014-07-13 15:24:09serhiy.storchakalinkissue21861 messages
2014-07-13 15:24:09serhiy.storchakacreate