A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://ipython.readthedocs.io/en/latest/api/generated/IPython.core.async_helpers.html below:

Website Navigation


core.async_helpers — IPython 9.5.0.dev documentation

Important

This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7.

If you are looking for an IPython version compatible with Python 2.7, please use the IPython 5.x LTS release and refer to its documentation (LTS is the long term support release).

Module: core.async_helpers

Async helper function that are invalid syntax on Python 3.5 and below.

This code is best effort, and may have edge cases not behaving as expected. In particular it contain a number of heuristics to detect whether code is effectively async and need to run in an event loop or not.

Some constructs (like top-level return, or yield) are taken care of explicitly to actually raise a SyntaxError and stay as close as possible to Python semantics.

1 Function
IPython.core.async_helpers.get_asyncio_loop()

asyncio has deprecated get_event_loop

Replicate it here, with our desired semantics:

Added in version 8.0.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4