Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78370

any way to tell at runtime whether a callable is implemented in Python or C ?

From Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Subject any way to tell at runtime whether a callable is implemented in Python or C ?
Date 2014-09-26 09:47 +0200
Newsgroups comp.lang.python
Message-ID <mailman.14387.1411717605.18130.python-list@python.org> (permalink)

Show all headers | View raw


Hi,
is there any reliable and inexpensive way to inspect a callable from 
running Python code to learn whether it is implemented in Python or C 
before calling into it ?

Thanks,
Wolfgang

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

any way to tell at runtime whether a callable is implemented in Python or C ? Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2014-09-26 09:47 +0200

csiph-web