On 9/26/2014 12:10 PM, Ian Kelly wrote:
On Fri, Sep 26, 2014 at 6:12 AM, Stefan Behnel wrote:
On Fri, Sep 26, 2014 at 5:47 PM, Wolfgang Maier wrote:
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 befo
On Fri, Sep 26, 2014 at 6:12 AM, Stefan Behnel wrote:
> Chris Angelico schrieb am 26.09.2014 um 10:42:
>> On Fri, Sep 26, 2014 at 5:47 PM, Wolfgang Maier wrote:
>>> is there any reliable and inexpensive way to inspect a callable from running
>>> Python code to learn whether it is implemented in Py
Chris Angelico schrieb am 26.09.2014 um 10:42:
> On Fri, Sep 26, 2014 at 5:47 PM, Wolfgang Maier wrote:
>> 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 ?
>
> I'm not sure you
On Fri, Sep 26, 2014 at 5:47 PM, Wolfgang Maier
wrote:
> 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 ?
I'm not sure you can say for absolute certain, but the presence of
Wolfgang Maier schrieb am 26.09.2014 um 09:47:
> 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 ?
Not really. Both can have very different types and very different
interfaces. The
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
--
https://mail.python.org/mailman/listinfo/python-list