[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

[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-30 Thread Georgy Kibardin
Georgy Kibardin added the comment: Please, reopen. -- ___ Python tracker <https://bugs.python.org/issue40037> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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.websocket('/ws') async

[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

list index out of range

2008-05-13 Thread Georgy Panterov
I am a relatively new python user. I am writing an economic simulation of a card-game. The simulation runs fine for a few iteration but then it gives an error of list index out of range. The strange thing is that it will sometimes run for 10 iterations sometimes for only a few and sometimes