Skip to content

add MicroPython protocols to stubs #798

Open
@Josverl

Description

@Josverl

Based on the finding of io.Stream class/Protocol defined by Andy ion #781
that I think related to : https://github.com/micropython/micropython/blob/2c80d369988a84d85efe0483f9cf469ff27b70f9/py/stream.h#L69-L92

the naming convention in MicroPython's C source appears to be :

  • struct _mp_stream_p_t
  • struct _<protocol>_p_t

Protocols

Stubs:
define in _mpt_shed , expose in the relevant modules - assuming they are consistent across boards an ports

Documentation:
these are sparsely documented , may need a separate page for it

Metadata

Metadata

Assignees

No one assigned

    Labels

    _mpy_shedCommon types across ports and boardsstdlibmicropython version of stdlib

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions