[issue36794] asyncio.Lock documentation in Py3.8 lacks parts presented in documentation in Py3.6

2019-05-04 Thread Mikhail Gerasimov


New submission from Mikhail Gerasimov :

Compare:
https://docs.python.org/3.6/library/asyncio-sync.html#asyncio.Lock
https://docs.python.org/3.8/library/asyncio-sync.html#asyncio.Lock

First version is much more detailed.
It allows to avoid confusions like one with unlocking order:
https://stackoverflow.com/q/55951233/1113207

--
assignee: docs@python
components: Documentation, asyncio
messages: 341385
nosy: asvetlov, docs@python, germn, yselivanov
priority: normal
severity: normal
status: open
title: asyncio.Lock documentation in Py3.8 lacks parts presented in 
documentation in Py3.6
type: enhancement
versions: Python 3.8

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



[issue31539] asyncio.sleep may sleep less time then it should

2017-09-21 Thread Mikhail Gerasimov

Mikhail Gerasimov added the comment:

STINNER Victor, thanks for explanation!

I don't know if this issue has practical disadvantages, but such behavior seems 
to be confusing, especially, since it can be reproduced with event_loop.time() 
and asyncio doc says nothing about resolution -
https://docs.python.org/3/library/asyncio-eventloop.html#delayed-calls

Do you think this issue should be closed?
Should I make PR to add info about clock's resolution to asyncio documentation?

--

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