← 输入框|bugs.python.org|刷新

➜

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.

作者 mbussonn
收信人 mbussonn, minrk, njs, willingc, yselivanov
日期 2018-12-10.17:11:39
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1544461899.73.0.788709270274.issue34616@psf.upfronthosting.co.za>
In-reply-to
内容
So through time our heuristic to check wether a code should be async or not grew: 

https://github.com/ipython/ipython/blob/320d21bf56804541b27deb488871e488eb96929f/IPython/core/async_helpers.py#L94-L165

There also seem to be some code that uses `codeop.compile_command` to figure out wether the user code is valid syntax (or not), so that would need some update too. 

I'm thinking of submitting a talk at PyCon to explain what we've discover so far in IPython.
历史
日期 用户 动作 参数
2018-12-10 17:11:39mbussonn修改recipients: + mbussonn, njs, yselivanov, willingc, minrk
2018-12-10 17:11:39mbussonn修改messageid: <1544461899.73.0.788709270274.issue34616@psf.upfronthosting.co.za>
2018-12-10 17:11:39mbussonn链接issue34616 messages
2018-12-10 17:11:39mbussonn创建