Hofmaimaier@feddit.org to Programmer Humor@programming.dev · 1 day agowait what...feddit.orgimagemessage-square44linkfedilinkarrow-up1628arrow-down113
arrow-up1615arrow-down1imagewait what...feddit.orgHofmaimaier@feddit.org to Programmer Humor@programming.dev · 1 day agomessage-square44linkfedilink
minus-squareZoteTheMighty@lemmy.ziplinkfedilinkarrow-up4·22 hours 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.