this post was submitted on 17 Jan 2026
641 points (98.1% liked)
Programmer Humor
28593 readers
991 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That happens all the time with Python. It often shows me errors in the imported modules, which are easily confused with my own code if I'm tired and don't read the message properly.
how's that the same thing as in the picture?
Here it is in greentext form:
Python stack traces give you all files involved in the error, with their lines. I don't know what you're talking about
hence the
it happens all the time in bash. i write some and there's no error but everyone complains that i didn't use brainfuck
You dont like brainfuck!?😨
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.