[Python-Dev] PEP 0492 aenter & aexit (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Mon Feb 8 12:33:27 EST 2016
- Previous message (by thread): [Python-Dev] PEP 0492 __aenter__ & __aexit__
- Next message (by thread): [Python-Dev] PEP 0492 __aenter__ & __aexit__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Brett,
Do you think we should update PEP 492 with links to the docs? I'm thinking of adding a new section to the top.
Yury
On 2016-02-06 5:05 PM, Brett Cannon wrote:
On Sat, 6 Feb 2016 at 13:50 Daniel Miller <dalanmiller at rethinkdb.com_ _<mailto:dalanmiller at rethinkdb.com>> wrote: Hi Python-Dev Group, I am trying to implement aenter and aexit for the RethinkDB <https://rethinkdb.com> Python driver. Looking at the PEP I don't see any definitions as to what the expected parameters that exit are supposed to take and couldn't find any other similar implementations. Is there a piece of documentation I should be looking at that I'm missing? https://www.python.org/dev/peps/pep-0492/#asynchronous-context-managers-and-async-with The arguments to aexit are the same as exit in a normal context manager. See https://docs.python.org/3.5/reference/datamodel.html#object._aexit for the official docs for aexit.
Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/yselivanov.ml%40gmail.com
- Previous message (by thread): [Python-Dev] PEP 0492 __aenter__ & __aexit__
- Next message (by thread): [Python-Dev] PEP 0492 __aenter__ & __aexit__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]