mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
In current state `mp_get_stream_raise` assumes that `self_in` is an object and always performs a pointer derefence which may cause a segfault. This function shall throw an exception whenever `self_in` does not implement a stream protocol, that includes qstr's and numbers. fixes #2331
21 KiB
21 KiB