How can I get the source file name and current line number inside executed C-function

Marek Prerovsky marek.prerovsky at seznam.cz
Wed Feb 16 13:37:59 EST 2005


Hello,

I implemented some Python functions in my C/C++ code. I need to know the Python source file name and line number of just executed 
Python command which calls my function.
How can I get this information inside my C/C++ function?

Thanks for any help.

Marek 




More information about the Python-list mailing list