Commit Graph

7 Commits

Author SHA1 Message Date
Thomas Grainger
c522e8e53c contextlib.nullcontext is a class (#5695)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-06-26 08:19:03 -07:00
Thomas Grainger
74091411ea widen contextlib._SupportsClose and _SupportsAclose (#5655) 2021-06-17 11:58:49 +03:00
Jelle Zijlstra
4581501c98 use ParamSpec for @contextmanager (#5476) 2021-06-14 16:38:39 +02:00
Pavel Karateev
af376f4d1f Add contextlib.AsyncContextDecorator (#5550) 2021-05-29 06:44:10 -07:00
Akuli
17dcea4a68 Akuli and srittau: Remove Python 2 branches from Python 3 stubs (#5461)
* run script and do some manual changes (Akuli)

* do the whole thing manually (srittau)

* merge changes (Akuli)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2021-05-15 15:33:39 +03:00
Shantanu
11c673b681 contextlib: add aclosing in py310 (#5317)
* contextlib: add aclosing in py310

* use protocols for closing, aclosing
2021-05-02 14:53:06 -07:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00