> The problem is that the snippet itself is not very helpful. Explain please.
The good thing is that, if this snippet will be somewhere (asyncio or docs), then user will not decide by its own about "what is a long running task", because good default value will be there. This also reduce time to fix such cases, sometimes when you write code you don't expect huge data in your loops, but if your case allows to "interrupt" your loop by context switch, then you can just use wrapper and forget about this. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/Y6BW6USOZISKGHBTVHGDBBQJCO2MSW33/ Code of Conduct: http://python.org/psf/codeofconduct/