This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author levkivskyi
Recipients Quentin.Pradet, SilentGhost, ap, benjamin.peterson, georg.brandl, levkivskyi
Date 2016-08-12.11:54:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471002899.34.0.550246617515.issue27594@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2016-08-12 11:54:59levkivskyisetrecipients: + levkivskyi, georg.brandl, benjamin.peterson, SilentGhost, Quentin.Pradet, ap
2016-08-12 11:54:59levkivskyisetmessageid: <1471002899.34.0.550246617515.issue27594@psf.upfronthosting.co.za>
2016-08-12 11:54:59levkivskyilinkissue27594 messages
2016-08-12 11:54:59levkivskyicreate