I set breakpoint on _PyErr_SetObject, the error does not display, but the debugging stops without showing me the error, and it points to PyObject *tb = Null configure -with-pydebug -enable-profiling CFLAGS="-O0" OPT="-O0" I found out that I need to set the optimization level to zero, that is done by specifying -O0. configure -with-pydebug -enable-profiling I am currently on macOS, I did something like this, make distclean Like, function_1 at some_set_file_3.c, took: t sec, called: n timesĬould this traceback be passed as input to gprof? Then I would want the time, number of function calls associated with them also, Involves, function_3 at some_list_file_3.c raise TypeError('module, class, method, function, traceback, frame, or '. Which I am able to locate through the traceback in the IDE that is here, python/cpython/blob/28890427c58d30f1041b36859733159475c67496/Lib/inspect.py#L919 Gives error, TypeError: module, class, method, function, traceback, frame, or code object was expected, got builtin_function_or_method If I get an error for something like inspect module in the cpython repository, then I can use shortcut in my IDE to navigate to the reasoning for that error, because inspect module is written in python in the cpython repository, so it is easier for me to navigate/find the reason for an error. Which gives the error, Synta圎rror: invalid decimal literalīut to find where is this thing implemented in cpython I again need to manually search. Which probably is the reason for there being no multiply for set, as there is no set_mul.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |