Skip to content

Remove or move non-CPython asyncio functionality #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
9 tasks
dhalbert opened this issue Nov 18, 2021 · 0 comments
Open
9 tasks

Remove or move non-CPython asyncio functionality #3

dhalbert opened this issue Nov 18, 2021 · 0 comments

Comments

@dhalbert
Copy link
Contributor

dhalbert commented Nov 18, 2021

These things are in the MicroPython implementation of asyncio but not in CPython asyncio:

core.py:

  • SingletonGenerator: maybe rename to _SingletonGenerator
  • sleep_ms():omit, rename to _sleep_ms or move.
  • IOQueue
  • Loop -> _Loop

event.py:

  • ThreadSafeFlag

funcs.py:

  • wait_for_ms()

stream.py:

  • Stream: serves for StreamReader and StreamWriter, maybe _Stream
  • stream_awrite, Stream.aclose (?), Stream.awrite, Stream.awritestr: legacy uasyncio

task.py:

  • most things could be underscored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant