Author mbussonn
Recipients mbussonn, minrk, njs, willingc, yselivanov
Date 2018-09-14.09:53:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> A utility to check whether an AST requires async mode should be fairly straightforward.

Here is one case we forgot in IPython apparently :

In [1]: x = 1
   ...: def f():
   ...:     nonlocal x
   ...:     x = 10000

This is not detected as a syntax error, but considered as asyn, we took an approach that prefer false positive (try to run invalid syntax as async) than false negative (reject valid async-code). Add this to the test suite for this feature.
Date User Action Args
2018-09-14 09:53:54mbussonnsetrecipients: + mbussonn, njs, yselivanov, willingc, minrk
2018-09-14 09:53:53mbussonnsetmessageid: <>
2018-09-14 09:53:53mbussonnlinkissue34616 messages
2018-09-14 09:53:53mbussonncreate