Hofmaimaier@feddit.org to Programmer Humor@programming.dev · 26 days agowait what...feddit.orgimagemessage-square46linkfedilinkarrow-up1666
arrow-up1666imagewait what...feddit.orgHofmaimaier@feddit.org to Programmer Humor@programming.dev · 26 days agomessage-square46linkfedilink
minus-squareZoteTheMighty@lemmy.ziplinkfedilinkarrow-up4·25 days 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.