Hofmaimaier@feddit.org to Programmer Humor@programming.dev · 2 days agowait what...feddit.orgimagemessage-square44fedilinkarrow-up1631
arrow-up1631imagewait what...feddit.orgHofmaimaier@feddit.org to Programmer Humor@programming.dev · 2 days agomessage-square44fedilink
minus-squareZoteTheMighty@lemmy.ziplinkfedilinkarrow-up4·1 day agoIt can also happen in Python if you edit the file after runtime. It parses the code on import, but re-reads the file as text during the error message, so if you added or deleted lines, the error report can report a dubious line.
It can also happen in Python if you edit the file after runtime. It parses the code on import, but re-reads the file as text during the error message, so if you added or deleted lines, the error report can report a dubious line.