PythonExtra/extmod/uasyncio
Damien George caaff940a2 extmod/uasyncio: Rename and merge TaskQueue push/pop methods.
These are internal names and can be safely renamed without affecting user
code.  push_sorted() and push_head() are merged into a single push()
method, which is already how the C version is implemented.  pop_head() is
simply renamed to pop().

The changes are:
- q.push_sorted(task, t) -> q.push(task, t)
- q.push_head(task) -> q.push(task)
- q.pop_head() -> q.pop()

The shorter names and removal of push_head() leads to a code size reduction
of between 40 and 64 bytes on bare-metal targets.

Signed-off-by: Damien George <damien@micropython.org>
2022-04-22 16:37:02 +10:00
..
__init__.py extmod/uasyncio: Add ThreadSafeFlag. 2021-02-16 16:35:37 +11:00
core.py extmod/uasyncio: Rename and merge TaskQueue push/pop methods. 2022-04-22 16:37:02 +10:00
event.py extmod/uasyncio: Rename and merge TaskQueue push/pop methods. 2022-04-22 16:37:02 +10:00
funcs.py extmod/uasyncio: Rename and merge TaskQueue push/pop methods. 2022-04-22 16:37:02 +10:00
lock.py extmod/uasyncio: Rename and merge TaskQueue push/pop methods. 2022-04-22 16:37:02 +10:00
manifest.py extmod/uasyncio: Add manifest.py for freezing uasyncio Py files. 2020-03-26 01:25:45 +11:00
stream.py extmod/uasyncio: In open_connection use address info in socket creation. 2021-07-31 15:33:48 +10:00
task.py extmod/uasyncio: Rename and merge TaskQueue push/pop methods. 2022-04-22 16:37:02 +10:00