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


Groups > comp.lang.python > #78370 > unrolled thread

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

Started byWolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
First post2014-09-26 09:47 +0200
Last post2014-09-26 09:47 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  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

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

FromWolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Date2014-09-26 09:47 +0200
Subjectany way to tell at runtime whether a callable is implemented in Python or C ?
Message-ID<mailman.14387.1411717605.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web