[issue45997] asyncio.Semaphore waiters deque doesn't work

2021-12-11 Thread Yevhenii Hyzyla
Change by Yevhenii Hyzyla : -- versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue45997> ___ ___ Python-bugs-list mailin

[issue45997] asyncio.Semaphore waiters deque doesn't work

2021-12-06 Thread Yevhenii Hyzyla
Yevhenii Hyzyla added the comment: Thanks for response! > A hero who can help is welcome! I will try to make PR :raising_hand -- type: behavior -> versions: +Python 3.8 -Python 3.11 ___ Python tracker <https://bugs.python.org/i

[issue45997] asyncio.Semaphore waiters deqeueu doesn't work

2021-12-06 Thread Yevhenii Hyzyla
New submission from Yevhenii Hyzyla : Class `asyncio.Semaphore` has dequeue in implementation for waiters of semaphore and seems like the intention of this dequeue is to maintain FIFO queue of waiters. But it doesn't work, coroutine that releases semaphore can acquire semaphore again.

[issue45814] Use the same function signature for datetime.time.strftime

2021-11-16 Thread Yevhenii Hyzyla
Change by Yevhenii Hyzyla : -- title: Use same function signature for datetime.time.strftime -> Use the same function signature for datetime.time.strftime ___ Python tracker <https://bugs.python.org/issu

[issue45814] Use same function signature for datetime.time.strftime

2021-11-16 Thread Yevhenii Hyzyla
New submission from Yevhenii Hyzyla : Method datetime.time.strftime in Python and C implementation has different signature. Python implementation use `fmt` as argument and C implementation use `format` as argument. Python implementation: ```python def strftime(self, fmt): ... ``` C