What are all these deprecated “loop” parameters in asyncio?
问题 A lot of the functions in asyncio have deprecated loop parameters, scheduled to be removed in Python 3.10. Examples include as_completed(), sleep(), and wait(). I'm looking for some historical context on these parameters and their removal. What problems did loop solve? Why would one have used it in the first place? What was wrong with loop ? Why is it being removed en masse? What replaces loop , now that it's gone? 回答1: What problems did loop solve? Why would one have used it in the first