moerchendiser2k3, 19.03.2010 14:12:
In my case I call a funcion and I would like to get the line where the function returned.for instance: def my_function(): return 3 So I would like to get line 2(in C) somehow.
Ok, so you're looking for the C-level trace function in CPython, I guess. Could you explain why you want to know the line number? Stefan -- http://mail.python.org/mailman/listinfo/python-list