[issue31253] Python fails to parse triple quoted (commented out) code

2017-08-22 Thread R. David Murray
R. David Murray added the comment: And being "accepted" does not change the fact that one needs to be aware of the fact that syntactically they are string literals and not syntactic comments. Which was your point. -- ___ Python tracker

[issue31253] Python fails to parse triple quoted (commented out) code

2017-08-22 Thread R. David Murray
R. David Murray added the comment: Just FYI, Vedran, almost everyone gets this one wrong :) I too once thought that triple quoted text used as comments was bad style, but in fact I learned they are an accepted way in Python to do multiline comments. Accepted by Guido, at least: https://sgil