New submission from Larry Hastings:

Some of the methods on the inspect module behave differently depending on 
whether the callable passed in was implemented in C or in Python.  For example, 
ismethod() only returns True for bound methods implemented in Python.

I assert that the interface presented by inspect should be agnostic about the 
underlying implementation.  So for example ismethod() should return True for 
bound methods on builtin classes.

----------
assignee: larry
messages: 211783
nosy: larry, yselivanov
priority: normal
severity: normal
stage: needs patch
status: open
title: Make inspect agnostic about whether functions are implemented in Python 
or C
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20712>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to