Marc-Andre Lemburg <m...@egenix.com> added the comment:
Update: I've been trying hard to find a short version which triggers the issue, but so far it seems to only trigger when using exec() from a frozen Python module. There don't appear to be many ways frame->f_lineno can end up being -1 (which then gets translated into None in Python). _PyCode_CheckLineNumber() is one source I found. Any hints where to look for the cause of this weird effect ? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45563> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com