Message413806
Inside the discussion an ExitPool class is sketched (https://mail.python.org/archives/list/python-ideas@python.org/message/66W55FRCYMYF73TVMDMWDLVIZK4ZDHPD/), which provides this removal of context managers.
What I learned is that this would have different cleanup mode (atexit style), as compared to present ExitStack cleanup (nested style).
So contrary to what I was originally thinking ExitPool functionality would be close to, but not a strict superset of ExitStack functionality. Still such an ExitPool functionality would be extremely useful. |
|
Date |
User |
Action |
Args |
2022-02-23 15:24:26 | andreash | set | recipients:
+ andreash, ncoghlan, serhiy.storchaka, yselivanov, vbrozik |
2022-02-23 15:24:26 | andreash | set | messageid: <1645629866.64.0.765265450506.issue45184@roundup.psfhosted.org> |
2022-02-23 15:24:26 | andreash | link | issue45184 messages |
2022-02-23 15:24:26 | andreash | create | |
|