Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Python 3.5 “async for” compat to websocket #543

Merged
merged 1 commit into from
Oct 24, 2015

Commits on Oct 18, 2015

  1. Added Python 3.5 “async for” compat to websocket

    Instead of
    
    while True:
    	msg = await ws.receive()
    	...
    	elif msg.tp == web.MsgType.close:
    		break
    
    do:
    
    async for msg in ws:
    	...
    flying-sheep committed Oct 18, 2015
    Configuration menu
    Copy the full SHA
    c3da779 View commit details
    Browse the repository at this point in the history