extmod/asyncio: Rename uasyncio to asyncio.
The asyncio module now has much better CPython compatibility and deserves to be just called "asyncio". This will avoid people having to write `from uasyncio import asyncio`. Renames all files, and updates port manifests to use the new path. Also renames the built-in _uasyncio to _asyncio. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
ed962f1f23
commit
2fbc08c462
@@ -7,7 +7,7 @@
|
||||
<PyExtModSource Include="$(PyBaseDir)extmod\machine_pinbase.c" />
|
||||
<PyExtModSource Include="$(PyBaseDir)extmod\machine_pulse.c" />
|
||||
<PyExtModSource Include="$(PyBaseDir)extmod\machine_signal.c" />
|
||||
<PyExtModSource Include="$(PyBaseDir)extmod\moduasyncio.c" />
|
||||
<PyExtModSource Include="$(PyBaseDir)extmod\modasyncio.c" />
|
||||
<PyExtModSource Include="$(PyBaseDir)extmod\modbinascii.c" />
|
||||
<PyExtModSource Include="$(PyBaseDir)extmod\moductypes.c" />
|
||||
<PyExtModSource Include="$(PyBaseDir)extmod\modhashlib.c" />
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
include("$(PORT_DIR)/variants/manifest.py")
|
||||
include("$(MPY_DIR)/extmod/uasyncio")
|
||||
include("$(MPY_DIR)/extmod/asyncio")
|
||||
|
||||
@@ -38,6 +38,6 @@
|
||||
#define MICROPY_PY_BUILTINS_SLICE_INDICES (1)
|
||||
#define MICROPY_PY_SELECT (1)
|
||||
|
||||
#ifndef MICROPY_PY_UASYNCIO
|
||||
#define MICROPY_PY_UASYNCIO (1)
|
||||
#ifndef MICROPY_PY_ASYNCIO
|
||||
#define MICROPY_PY_ASYNCIO (1)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user