Here's something that's been bugging me for years. I'll suggest something, but since I'm a total newbie about this area, it's possible that everything I'm saying is impossible or doesn't make sense.
I'm working with some Pandas code now, and there's an exception because I'm doing something wrong. I get a traceback, but some of the frames are in pyd files (C code I guess?) so I don't see the code for them. This is frustrating, because the exception message isn't that clear, so I would at least like to know what the code was trying to do when it got the exception. Maybe this will give me more hints about what's going wrong. *Would it be possible to have Python tracebacks include code for C code that's called in Python?* I know very little about how the C-to-Python interaction works, and I assume we'd need something complicated like packaging the source code with the binaries in some way that lets Python get the right line of C code to put in the traceback. This can get complicated. Do you think it's possible? Thanks, Ram.
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/2EAJ6IZ5QHW6GNPIQQBOOZ2MT4WLBCQT/ Code of Conduct: http://python.org/psf/codeofconduct/