microbit-foundation / micropython-microbit-stubs

Type stubs for MicroPython for micro:bit to support the micro:bit Python Editor V3
https://python.microbit.org/
Other
3 stars 2 forks source link

Review all buffer/bytes types, particularly for IO #11

Closed microbit-matt-hillsdon closed 1 year ago

microbit-matt-hillsdon commented 2 years ago

I'm not convinced these are right.

microbit-matt-hillsdon commented 2 years ago

ReadableBuffer / WritableBuffer as supplied via typeshed are probably the right answer. The situation seems imperfect and might change in future but these seem to be the consensus types for now.

microbit-matt-hillsdon commented 1 year ago

I switched to these a while back. Closing.