circuitpython/extmod
Damien George 90aaf2dbef extmod/uasyncio: Fix gather cancelling and handling of exceptions.
The following fixes are made:
- cancelling a gather now cancels all sub-tasks of the gather (previously
  it would only cancel the first)
- if any sub-task of a gather raises an exception then the gather finishes
  (previously it would only finish if the first sub-task raised)

Fixes issues #5798, #7807, #7901.

Signed-off-by: Damien George <damien@micropython.org>
2022-03-30 16:07:44 +11:00
..
axtls-include extmod: Update for move of crypto-algorithms, re1.5, uzlib to lib. 2021-07-12 16:37:07 +10:00
btstack extmod/modbluetooth: Support gap_connect(None) to cancel a connection. 2021-12-01 11:56:37 +11:00
lwip-include all: Unify header guard usage. 2017-07-18 11:57:39 +10:00
nimble extmod/modbluetooth: Support gap_connect(None) to cancel a connection. 2021-12-01 11:56:37 +11:00
uasyncio extmod/uasyncio: Fix gather cancelling and handling of exceptions. 2022-03-30 16:07:44 +11:00
webrepl all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
extmod.cmake extmod/moduos: Create general uos module to be used by all ports. 2022-03-09 10:03:23 +11:00
extmod.mk all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
machine_bitstream.c extmod: Add machine.bitstream. 2021-08-19 22:50:11 +10:00
machine_bitstream.h extmod: Add machine.bitstream. 2021-08-19 22:50:11 +10:00
machine_i2c.c extmod/machine_i2c: Increase default SoftI2C timeout to 50ms. 2022-01-21 15:10:30 +11:00
machine_i2c.h extmod/machine_i2c: Add init protocol method for generic I2C bindings. 2020-11-23 19:45:04 +11:00
machine_mem.c extmod/machine_mem: Only allow integers in machine.memX subscript. 2020-11-13 11:13:37 +11:00
machine_mem.h all: Use the name MicroPython consistently in comments 2017-07-31 18:35:40 +10:00
machine_pinbase.c extmod/machine_pinbase: Put PinBase singleton in ROM. 2017-09-12 16:00:21 +10:00
machine_pinbase.h all: Unify header guard usage. 2017-07-18 11:57:39 +10:00
machine_pulse.c esp8266: Provide custom machine_time_pulse_us that feeds soft WDT. 2019-07-01 22:53:00 +10:00
machine_pulse.h all: Unify header guard usage. 2017-07-18 11:57:39 +10:00
machine_pwm.c extmod/machine_pwm: Factor out machine.PWM bindings to common code. 2021-09-04 16:31:17 +10:00
machine_pwm.h extmod/machine_pwm: Factor out machine.PWM bindings to common code. 2021-09-04 16:31:17 +10:00
machine_signal.c all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
machine_signal.h all: Unify header guard usage. 2017-07-18 11:57:39 +10:00
machine_spi.c extmod/machine_spi: Make SoftSPI configurable via macro option. 2021-09-02 13:11:23 +10:00
machine_spi.h ports: Support legacy soft I2C/SPI construction via id=-1 arg. 2020-10-01 12:57:10 +10:00
misc.h stm32/moduos: Convert module to use extmod version. 2022-03-09 10:03:23 +11:00
modbluetooth.c extmod/modbluetooth: Fix conditional compilation of ringbuf_put_uuid. 2022-01-13 13:45:07 +11:00
modbluetooth.h extmod/modbluetooth: Put declaration of connect_cancel in correct place. 2022-01-13 13:45:43 +11:00
modbtree.c extmod/modbtree: Retain reference to underlying stream so it's not GC'd. 2020-05-02 16:08:04 +10:00
modframebuf.c extmod/modframebuf: Enable blit between different formats via a palette. 2021-08-25 15:31:23 +10:00
modlwip.c extmod/modlwip: Fix close and clean up of UDP and raw sockets. 2021-08-13 23:46:11 +10:00
modnetwork.c extmod/modnetwork: Remove STM32 references. 2021-09-15 11:27:38 +10:00
modnetwork.h extmod/modusocket: Add makefile() method and common socket options. 2022-01-21 13:34:06 +11:00
modonewire.c extmod/modonewire: Make _onewire module configurable via macro option. 2021-09-02 13:11:23 +10:00
moduasyncio.c extmod/uasyncio: Allow task state to be a callable. 2022-03-30 16:07:44 +11:00
modubinascii.c extmod/modubinascii: Add newline keyword to b2a_base64 function. 2022-01-23 10:18:01 +11:00
moducryptolib.c all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
moductypes.c extmod/moductypes: Fix size and offset calculation for ARRAY of FLOAT32. 2021-05-06 13:11:33 +10:00
moduhashlib.c extmod: Update for move of crypto-algorithms, re1.5, uzlib to lib. 2021-07-12 16:37:07 +10:00
moduheapq.c all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
modujson.c extmod/modujson: Add support for dump/dumps separators keyword-argument. 2021-08-07 13:52:16 +10:00
moduos.c unix/moduos: Convert module to use extmod version. 2022-03-09 21:13:57 +11:00
moduplatform.c extmod/moduplatform: Move platform PP definitions into a header. 2022-02-22 00:59:14 +11:00
moduplatform.h extmod/moduplatform: Move platform PP definitions into a header. 2022-02-22 00:59:14 +11:00
modurandom.c extmod/modurandom: Support an argument of bits=0 to getrandbits. 2021-05-30 17:05:56 +10:00
modure.c extmod/modure: Set subject begin_line so ^ doesn't match interior. 2022-03-16 12:21:00 +11:00
moduselect.c extmod/moduselect: Conditionally compile select(). 2021-07-17 23:32:39 +10:00
modusocket.c extmod/modusocket: Support additional args to getaddrinfo. 2022-01-21 13:40:06 +11:00
modussl_axtls.c extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking. 2021-02-17 11:50:54 +11:00
modussl_mbedtls.c extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking. 2021-02-17 11:50:54 +11:00
modutimeq.c all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
moduwebsocket.c all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
moduwebsocket.h extmod/moduwebsocket: Refactor `websocket` to `uwebsocket`. 2019-02-14 00:35:45 +11:00
moduzlib.c extmod/moduzlib: Fix parsing zlib header dict size. 2022-03-08 23:16:14 +11:00
modwebrepl.c all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
mpbthci.c extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00
mpbthci.h extmod/mpbthci.h: Add mp_bluetooth_hci_uart_any prototype. 2021-09-19 23:00:39 +10:00
network_cyw43.c extmod/network_cyw43: Make consistent use of STA and AP constants. 2021-09-15 01:37:27 +10:00
network_cyw43.h extmod: Add network-level class binding to cyw43 driver. 2019-06-03 16:47:35 +10:00
network_ninaw10.c drivers/ninaw10: Add NIC-level ioctl function. 2022-02-18 14:35:26 +11:00
uos_dupterm.c stm32/moduos: Convert module to use extmod version. 2022-03-09 10:03:23 +11:00
utime_mphal.c extmod/utime: Always invoke mp_hal_delay_ms when >= to 0ms. 2021-07-22 00:05:17 +10:00
utime_mphal.h extmod/utime_mphal: Add generic utime.time_ns() function. 2020-10-01 14:20:42 +10:00
vfs.c extmod/vfs: Check block 0 and 1 when auto-detecting littlefs. 2021-01-29 15:02:55 +11:00
vfs.h extmod/vfs: Factor out vfs mount-and-chdir helper from stm32. 2020-03-11 14:24:26 +11:00
vfs_blockdev.c all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
vfs_fat.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
vfs_fat.h extmod: Factor out block-device struct to make independent of fatfs. 2019-10-29 12:12:37 +11:00
vfs_fat_diskio.c tools/uncrustify: Enable more opts to remove space between func and '('. 2020-06-19 22:07:32 +10:00
vfs_fat_file.c all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
vfs_lfs.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
vfs_lfs.h extmod: Add VFS littlefs bindings. 2019-10-29 14:17:29 +11:00
vfs_lfsx.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
vfs_lfsx_file.c extmod/vfs_lfs: Add mtime support to littlefs files. 2020-08-25 17:35:19 +10:00
vfs_posix.c windows: Switch to VFS subsystem and use VfsPosix. 2022-03-10 00:26:36 +11:00
vfs_posix.h extmod/vfs: Introduce a C-level VFS protocol, with fast import_stat. 2018-06-06 14:33:42 +10:00
vfs_posix_file.c extmod/vfs_posix_file: Support MP_STREAM_POLL in vfs_posix_file_ioctl. 2021-10-19 22:47:18 +11:00
vfs_reader.c extmod/vfs_reader: Fix mp_reader_new_file to open file in "rb" mode. 2020-08-12 23:40:50 +10:00
virtpin.c all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
virtpin.h all: Unify header guard usage. 2017-07-18 11:57:39 +10:00