'Has Python ever had a bug caused by comments?
I was curios to know if among the various Python's versions (and different interpreters, not only CPython but also PyPy or Jython) there was one in which an error could be caused by comments (#).
I was writing something like this:
if (condition):
pass
# And then I added a comment here, where it's not permitted to write
and my intellisense (then I noticed it wasn't a great one and I changed it) was telling me the comment would have caused an IndentationError or something like this, then I ran the code from the command line and it didn't give me any error.
So I had the idea to ask this question, because I was wondering if (like my old intellisense) old Python's versions could have this kind of problems.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
