Open brainysmurf opened 1 year ago
Please note: this library may not be actively maintained (see #17).
The changes in #11 offer a similar solution that should (I think?) also be Python 3.11 compatible. A tradeoff is that #11 avoids conditional assignment to __aexit__
(nice), but drops compatibility with some older Python versions as a side-effect (less nice).
backward behavior for python 3.5 - 3.10; no need for decorator if deprecated in python >= 3.11