Re: [Python-Dev] PEP 0492 __aenter__ & __aexit__

2016-02-07 Thread Daniel Miller
6:00 Brett Cannon : > > > On Sat, 6 Feb 2016 at 13:50 Daniel Miller > 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 se

[Python-Dev] PEP 0492 __aenter__ & __aexit__

2016-02-06 Thread Daniel Miller
Hi Python-Dev Group, I am trying to implement __aenter__ and __aexit__ for the RethinkDB 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.