[issue27585] asyncio.Lock deadlock after cancellation

2017-05-18 Thread Alexey Popravka

Alexey Popravka added the comment:

Also there is the same problem with asyncio.Condition wait() / notify() couple 
as it repeats the same Lock.acquire()/release() logic

--

___
Python tracker 
<http://bugs.python.org/issue27585>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27585] asyncio.Lock deadlock after cancellation

2017-05-18 Thread Alexey Popravka

Alexey Popravka added the comment:

Hi guys! Any update on this?
I've just hit this issue.
Cancelled futures in _waiters is not a problem (any more).

There is still a problem when release() wakes up next waiter
but task waiting for it gets cancelled and so all the rest waiters
are in pending state forever.
I've attach one more test to reproduce this issue.

--
nosy: +Alexey Popravka
Added file: http://bugs.python.org/file46876/deadlock2.py

___
Python tracker 
<http://bugs.python.org/issue27585>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29281] json.loads documentation missing "versionchanged" statement

2017-01-16 Thread Alexey Popravka

New submission from Alexey Popravka:

json.loads function was changed in Python 3.6 to accept
bytes and bytearrays, however documentation is missing
`versionchanged` block describing this changes.

--
assignee: docs@python
components: Documentation
messages: 285545
nosy: Alexey Popravka, docs@python
priority: normal
severity: normal
status: open
title: json.loads documentation missing "versionchanged" statement
versions: Python 3.6, Python 3.7

___
Python tracker 
<http://bugs.python.org/issue29281>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com