[issue20712] Make inspect agnostic about whether functions are implemented in Python or C

Nick Coghlan report at bugs.python.org
Fri Feb 21 16:08:34 CET 2014


Nick Coghlan added the comment:

Right, the lower level APIs in the inspect module *aren't* designed to hide the implementation details from introspection code, they're there as helpers to let introspection code decide what assumptions are valid. For true Python code, you can do many more interesting things (like bytecode hacks) that simply aren't possible with native implementations in C, Java, C#, etc.

A lot of the names aren't great, but I think that's just because so many parts of the API have been around for so long.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20712>
_______________________________________


More information about the Python-bugs-list mailing list