← index #4066Issue #10476
Related · high · value 1.608
QUERY · ISSUE

Copy code-emitter documentation from Kickstarter to docs.micropython.org

openby adritiumopened 2018-08-20updated 2024-07-27
docs

There is documentation of the different emitters at micropython.org but I still find myself going back to the Kickstarter page because there is a nice comparison between the 3 different emitters.

Someone should copy-paste from Kickstarter to docs.micropython.org

CANDIDATE · ISSUE

docs: Update native emitter limitations

closedby AmirHmZzopened 2023-01-12updated 2026-03-21
docs

According to docs native emitter has some limitations:

  • Context managers are not supported (the with statement).
  • Generators are not supported.
  • If raise is used an argument must be supplied.

But I've tested context managers and generators and they worked with native emitter correctly. As what @jimmo told me on discord:

I think these docs are out of date. the one thing that i know that isn't supported is "async with" but regular "with" works, as do generators

It would be better to update limitations of native emitter on docs.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied