Nick Coghlan added the comment: Actually, since this is intended primarily for debugging:
Doug, do you actually need the type information? Or would combining inspect.getsourcefile() and inspect.getlines() with super().__init__ to locate the source code for the offending method implementation be sufficient? If that's the case, then the only benefit of this API would be to extend such debugging to extension module types in addition to regular Python classes. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26961> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com