Ivan Levkivskyi added the comment:

You could try changing this line in compile.c (in function 'assemble')

if (entryblock && entryblock->b_instr)

to

if (entryblock && entryblock->b_instr && entryblock->b_instr->i_lineno)

Does this help?

----------
nosy: +levkivskyi

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27594>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to