[issue28777] Add asyncio.Queue __aiter__, __anext__ methods

2017-08-03 Thread Georgy
Georgy added the comment: I successfully use my code: import asyncio, sanic class MyQueue(asyncio.Queue): def __aiter__(self): return self async def __anext__(self): return await self.get() app = sanic.Sanic() ws_set = set() app.static('/', 'async.html') @app.we

[issue28777] asinc iter queue

2016-11-22 Thread Georgy
New submission from Georgy: adding to asyncio.Queue class following methods: def __aiter__(self): return self async def __anext__(self): return await self.get() let use asyncio.Queue follow: queue = asyncio.Queue() ... async for item in queue: do_something_with(item

[issue40037] py_compile.py quiet undefined in main function

2020-03-30 Thread Georgy Kibardin
Georgy Kibardin added the comment: Please, reopen. -- ___ Python tracker <https://bugs.python.org/issue40037> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40037] py_compile.py quiet undefined in main function

2020-03-30 Thread Georgy Kibardin
Georgy Kibardin added the comment: This is not a duplicate of https://bugs.python.org/issue38731. quiet is is still undefined in main() -- nosy: +Georgy Kibardin ___ Python tracker <https://bugs.python.org/issue40

[issue40037] py_compile.py quiet undefined in main function

2020-03-31 Thread Georgy Kibardin
Georgy Kibardin added the comment: https://bugs.python.org/issue39743 is closed as duplicate of https://bugs.python.org/issue38731. https://bugs.python.org/issue38731 fixes undeclared variable "quiet" in function compile(). At the same time variable "quiet" is used in f