[issue26286] dis module: coroutine opcode documentation clarity

2018-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: (2) is already fixed. SETUP_ASYNC_WITH talks about the same frame blocks as pushed by SETUP_FINALLY, SETUP_EXCEPT, SETUP_LOOP and popped by POP_BLOCK. But unlike to SETUP_FINALLY it pushes a frame block pointing below TOS. This detail needs to be documented

[issue26286] dis module: coroutine opcode documentation clarity

2016-02-04 Thread Jim Jewett
New submission from Jim Jewett: https://docs.python.org/3/library/dis.html includes a section describing the various opcodes. Current documentation: """ Coroutine opcodes GET_AWAITABLE Implements TOS = get_awaitable(TOS), where get_awaitable(o) returns o if o is a coroutine object or a genera