[issue32797] Tracebacks from Cython modules no longer work

Jeroen Demeyer report at bugs.python.org
Sun Aug 5 09:03:28 EDT 2018


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> The one possible fly in the ointment is if there are use cases that we
need to support where a single .so/.pyd file is built from *multiple*
source files, as get_source doesn't allow for that.

Yes, we must support that. A cython module may have multiple sources. The simplest solution to solve that would be a new PEP 302 API, something like get_source_from_filename(self, filename)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32797>
_______________________________________


More information about the Python-bugs-list mailing list