forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
__await__ magic method and async/await #3540
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
d94d2d2
Add async/await syntax to FULL_BUILD
kvc0 f5f1e29
disable async/await on a several small ucontrollers
kvc0 5cadf52
fix missing cflag defeating the board gating
kvc0 bf849ff
async def syntax rigor and __await__ magic method
kvc0 5d96afc
i do not know if this is needed but this is not the vm i use anymore
kvc0 98aa4b7
update async tests with less upython workaround and more cpython comp…
kvc0 88db16a
add translations
kvc0 3c46e3a
Turn off async for circuitplayground express
94beeab
remove unnecessary board configuration and address feedback
kvc0 10badd9
leftover newlines
kvc0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-10-06 13:26-0400\n" | ||
"POT-Creation-Date: 2020-10-10 23:49-0700\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -246,6 +246,10 @@ msgstr "" | |
msgid "'return' outside function" | ||
msgstr "" | ||
|
||
#: py/compile.c | ||
msgid "'yield from' inside async function" | ||
msgstr "" | ||
|
||
#: py/compile.c | ||
msgid "'yield' outside function" | ||
msgstr "" | ||
|
@@ -289,6 +293,7 @@ msgid "All I2C peripherals are in use" | |
msgstr "" | ||
|
||
#: ports/atmel-samd/common-hal/canio/Listener.c | ||
#: ports/stm/common-hal/canio/Listener.c | ||
msgid "All RX FIFOs in use" | ||
msgstr "" | ||
|
||
|
@@ -896,6 +901,7 @@ msgid "File exists" | |
msgstr "" | ||
|
||
#: ports/atmel-samd/common-hal/canio/Listener.c | ||
#: ports/stm/common-hal/canio/Listener.c | ||
msgid "Filters too complex" | ||
msgstr "" | ||
|
||
|
@@ -932,7 +938,8 @@ msgid "Group full" | |
msgstr "" | ||
|
||
#: ports/mimxrt10xx/common-hal/busio/SPI.c ports/stm/common-hal/busio/I2C.c | ||
#: ports/stm/common-hal/busio/SPI.c ports/stm/common-hal/sdioio/SDCard.c | ||
#: ports/stm/common-hal/busio/SPI.c ports/stm/common-hal/canio/CAN.c | ||
#: ports/stm/common-hal/sdioio/SDCard.c | ||
msgid "Hardware busy, try alternative pins" | ||
msgstr "" | ||
|
||
|
@@ -1002,7 +1009,8 @@ msgid "Invalid %q pin" | |
msgstr "" | ||
|
||
#: ports/stm/common-hal/busio/I2C.c ports/stm/common-hal/busio/SPI.c | ||
#: ports/stm/common-hal/busio/UART.c ports/stm/common-hal/sdioio/SDCard.c | ||
#: ports/stm/common-hal/busio/UART.c ports/stm/common-hal/canio/CAN.c | ||
#: ports/stm/common-hal/sdioio/SDCard.c | ||
msgid "Invalid %q pin selection" | ||
msgstr "" | ||
|
||
|
@@ -3426,6 +3434,10 @@ msgstr "" | |
msgid "type object '%q' has no attribute '%q'" | ||
msgstr "" | ||
|
||
#: py/objgenerator.c | ||
msgid "type object 'generator' has no attribute '__await__'" | ||
msgstr "" | ||
|
||
#: py/objtype.c | ||
msgid "type takes 1 or 3 arguments" | ||
msgstr "" | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.