mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-19 20:15:33 -04:00

All exceptions that unwind through the async-with must be caught and BaseException is the top-level class, which includes Exception and others. Fixes issue #4552.
12 lines
136 B
Plaintext
12 lines
136 B
Plaintext
enter
|
|
body
|
|
exit None None
|
|
finished
|
|
enter
|
|
1
|
|
exit <class 'ValueError'> error
|
|
ValueError
|
|
enter
|
|
exit <class 'BaseException'>
|
|
BaseException
|