Nikolaus Rath personal blog
On the Beauty of Python's ExitStack (2015)
I believe Python's ExitStack feature does not get the recognition it deserves. I think part of the reason for this is that its documentation is somewhere deep down in the (already obscure) contextlib module because formally ExitStack is just one of many available context managers for Python's with statement . But…
- Points
- 135
- HN comments
- 39
- Submissions
- 1
- Cited by
- 0 commenters
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Nov 9, 2020 | On the Beauty of Python's ExitStack (2015) by polm23 | 135 | 39 |