Dennis Sweeney <sweeney.dennis...@gmail.com> added the comment:
### Simplified crasher from weakref import ref def f(): ref(lambda: 0, []) f() f() ######################## Running this in debug mode, I got a failed assertion at traceback.c, line 746, `assert(source_line);`. If that assertion is commented out, a null pointer is dereferenced in _PyPegen_byte_offset_to_character_offset() ---------- nosy: +Dennis Sweeney _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44719> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com