Python 3.5 "async def"

Hi, all,

According to the Python 3.5 library reference, this syntax is valid:

async def myCoroutine( stream ):     do_something_here

However, PyCharm 4.5.4 hates that syntax.  Okay, it's some inspection not quite up to state of the art, I can deal with that.  But will 4.5.4 at least run the program properly, or am I screwed until 5.0?
3 comments
Comment actions Permalink
PyCharm 4.5.4 doesn't have python 3.5 support, but PyCharm 5.0 EAP has: http://confluence.jetbrains.com/display/PYH/JetBrains+PyCharm+Preview+%28EAP%29.
0
Comment actions Permalink
Hi Jeff, sure PyCharm 4.5.4 can run your Python 3.5 program.
0
Comment actions Permalink

Should it work in Pycharm 2016.2 Community Edition? I mean correct recognition of "async/await" syntax by editor. In my installation it doesn't work. Maybe I do something wrong...

0

Please sign in to leave a comment.