A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-July/154642.html below:

[Python-Dev] Specification of C function profiling?

[Python-Dev] Specification of C function profiling? [Python-Dev] Specification of C function profiling?Jeroen Demeyer J.Demeyer at UGent.be
Mon Jul 16 15:58:09 EDT 2018
Hello,

it seems to me that there is no clear specification for the 
sys.setprofile() event c_call: the docs say "A C function is about to be 
called" but it's not clear what that means exactly, in particular when 
that C function is an unbound method like list.append.

I also noticed that Lib/test/test_sys_setprofile.py doesn't test any of 
the c_* events.

I'm asking in the context of https://bugs.python.org/issue34125
I found out that list.append([], None) *does* generate a c_call event 
but list.append([], None, **{}) does not.


Jeroen.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4