# Make asyncio eager task factory default

**URL:** <https://discuss.python.org/t/make-asyncio-eager-task-factory-default/75164>\
**Category:** Async-SIG\
**Created:** [December 24, 2024, 1:00pm UTC](https://discuss.python.org/t/make-asyncio-eager-task-factory-default/75164 "2024-12-24T13:00:41Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Rosuav](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/rosuav/32/3429_2.png) [@Rosuav](https://discuss.python.org/u/Rosuav)\
**Post date:** [December 25, 2024, 2:42pm UTC](https://discuss.python.org/t/make-asyncio-eager-task-factory-default/75164/10 "2024-12-25T14:42:22Z")

</div>

> [@guido](#):
>
> But I think it’s too soon to turn it on by default in 3.14. I would want a super simple way for users to decide whether to use lazy or eager, probably at event loop creation (maybe a new flag to asyncio.run()?)flag,

The docs currently recommend setting the task factory. How would such a super-simple way interact with other task factories?

(I’ve never used custom task types so I have no idea what the consequences would be. All I know is, that one-liner from the docs does indeed make Python behave the same way other languages do.)

---

_[View the full topic](https://discuss.python.org/t/make-asyncio-eager-task-factory-default/75164)._
