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 skrah
Recipients gvanrossum, martin.panter, ncoghlan, python-dev, skrah, vstinner, yselivanov
Date 2015-07-22.14:47:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437576448.31.0.392187084251.issue24619@psf.upfronthosting.co.za>
In-reply-to
Content
This is a very nice solution!

I'm just curious if the 'ctx' is still needed:  It looks like
the outermost "async def" dominates all further nested scopes
w.r.t the tokenizer mode, no matter whether they're "def" or
"async def" scopes.

IOW, a single indent_level variable that follows all INDENTs/DEDENTs
once the outermost "async def" scope is entered might be sufficient.


[This is in no way urgent, please do not feel obliged to respond
during your holiday.]
History
Date User Action Args
2015-07-22 14:47:28skrahsetrecipients: + skrah, gvanrossum, ncoghlan, vstinner, python-dev, martin.panter, yselivanov
2015-07-22 14:47:28skrahsetmessageid: <1437576448.31.0.392187084251.issue24619@psf.upfronthosting.co.za>
2015-07-22 14:47:28skrahlinkissue24619 messages
2015-07-22 14:47:28skrahcreate