This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Optimal BPM
Recipients Optimal BPM, docs@python, skrah
Date 2015-09-19.20:37:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442695030.59.0.419698792893.issue25079@psf.upfronthosting.co.za>
In-reply-to
Content
OK.
But just to make me understand, would that explain why an else statement gets its DEDENT before the else, instead of before an dedented comment just before it? 
Even if the comment is visually dedented as the else?

Example where tokenize returns the DEDENT in a separate place than where it is visually:

if a=b:
  statement
# Comment
else:
  other statement

In the above case, the DEDENT is reportet before the else, instead of before the comment.
History
Date User Action Args
2015-09-19 20:37:10Optimal BPMsetrecipients: + Optimal BPM, skrah, docs@python
2015-09-19 20:37:10Optimal BPMsetmessageid: <1442695030.59.0.419698792893.issue25079@psf.upfronthosting.co.za>
2015-09-19 20:37:10Optimal BPMlinkissue25079 messages
2015-09-19 20:37:10Optimal BPMcreate