-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Add support for async generators (PEP525) #6668
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
base: master
Are you sure you want to change the base?
Conversation
5907913
to
62588a1
Compare
* Tweak scroll area position so last line is complete and top is under the title bar. * Pick Blinka size based on the font to minimize unused space in title bar. Related to micropython#2791 * Update the title bar after terminal is started. Fixes micropython#6078 Fixes micropython#6668
* Tweak scroll area position so last line is complete and top is under the title bar. * Pick Blinka size based on the font to minimize unused space in title bar. Related to micropython#2791 * Update the title bar after terminal is started. Fixes micropython#6078 Fixes micropython#6668
* Tweak scroll area position so last line is complete and top is under the title bar. * Pick Blinka size based on the font to minimize unused space in title bar. Related to micropython#2791 * Update the title bar after terminal is started. Fixes micropython#6078 Fixes micropython#6668
Very basic support for PEP525, can create and iterate through async generators (no support yet for aclose/athrow/asend). Signed-off-by: Damien George <damien@micropython.org>
62588a1
to
ae5b21a
Compare
This requires a bump in the .mpy version due to the new scope flag |
Code size report:
|
This comment may be worth considering in our implementation of async generators: faster-cpython/ideas#570 (comment) |
This is an automated heads-up that we've just merged a Pull Request See #13763 A search suggests this PR might apply the STATIC macro to some C code. If it Although this is an automated message, feel free to @-reply to me directly if |
Conflicts notwithstanding, is it possible to merge this please @dpgeorge ? I have a use case and I'm already compiling MicroPython locally, so I'd be happy to try out the branch (once synced) if that helps. |
@ShadowLNC You can get that PR to your PC and try it locally. It does not have to be merged to the master branch for doing that. The sequence would be, assuming that
The you have that PR local as branch |
Any updates on this? |
Very basic support for PEP525, can create and iterate through async generators (no support yet for aclose/athrow/asend).