Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78370 > unrolled thread
| Started by | Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> |
|---|---|
| First post | 2014-09-26 09:47 +0200 |
| Last post | 2014-09-26 09:47 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
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
| From | Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> |
|---|---|
| Date | 2014-09-26 09:47 +0200 |
| Subject | any 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
Back to top | Article view | comp.lang.python
csiph-web