minus-squareZoteTheMighty@lemmy.ziptoProgrammer Humor@programming.dev•wait what...linkfedilinkarrow-up4·3 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. linkfedilink
minus-squareZoteTheMighty@lemmy.ziptoProgrammer Humor@programming.dev•JPEG XL is Dead. Long Live JPEG XLlinkfedilinkarrow-up1·2 months agoGoogle is just a small indie company after all. linkfedilink
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.