Show More
@@ -132,6 +132,15 b' allow ``IPython.embed()`` to be nested. Though this will prevent usage of the' | |||
|
132 | 132 | You can set explicitly a coroutine runner for ``embed()`` if you desire to run |
|
133 | 133 | asynchronous code, the exact behavior is though undefined. |
|
134 | 134 | |
|
135 | Effects on Magics | |
|
136 | ================= | |
|
137 | ||
|
138 | A couple of magics (``%%timeit``, ``%timeit``, ``%%time``, ``%%prun``) have not | |
|
139 | yet been updated to work with asynchronous code and will raise syntax errors | |
|
140 | when trying to use top-level ``await``. We welcome any contribution to help fix | |
|
141 | those, and extra cases we haven't caught yet. We hope for better support in Cor | |
|
142 | Python for top-level Async code. | |
|
143 | ||
|
135 | 144 | Internals |
|
136 | 145 | ========= |
|
137 | 146 |
@@ -77,6 +77,12 b' The introduction of the ability to run async code had some effect on the' | |||
|
77 | 77 | ``IPython.embed()`` API. By default embed will not allow you to run asynchronous |
|
78 | 78 | code unless a event loop is specified. |
|
79 | 79 | |
|
80 | Effects on Magics | |
|
81 | ----------------- | |
|
82 | ||
|
83 | Some magics will not work with Async, and will need updates. Contribution | |
|
84 | welcome. | |
|
85 | ||
|
80 | 86 | Expected Future changes |
|
81 | 87 | ----------------------- |
|
82 | 88 |
General Comments 0
You need to be logged in to leave comments.
Login now