# Add the export keyword to Python

**URL:** <https://discuss.python.org/t/add-the-export-keyword-to-python/28444>\
**Category:** Ideas\
**Created:** [June 24, 2023, 3:26pm UTC](https://discuss.python.org/t/add-the-export-keyword-to-python/28444 "2023-06-24T15:26:15Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![jamestwebber](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/jamestwebber/32/12799_2.png) [@jamestwebber](https://discuss.python.org/u/jamestwebber)\
**Post date:** [June 25, 2023, 3:00am UTC](https://discuss.python.org/t/add-the-export-keyword-to-python/28444/13 "2023-06-25T03:00:25Z")

</div>

> [@Rosuav](#):
>
> I mean, looking at something like `asyncio/ __init__.py`, it’s pretty clear that there’s a problem here, but I’m not sure what the solution is.

To be honest I’m not sure why `asyncio/ __init__.py` is going to such great lengths to prevent users from accessing…`asyncio.sys`?

And also all the stuff from `asyncio.taskgroups` (not included in the ` __all__ = ... ` block) but I’m guessing that’s not on purpose? \[1\]

To be less snarky about it and more on-topic: I don’t use this pattern a whole lot and don’t find it useful when I encounter it, because I almost never use `import *` anyway. I personally wouldn’t want to encourage more of it, but that’s just me.

* * *

1. I opened [an issue](https://github.com/python/cpython/issues/106075) for this

---

_[View the full topic](https://discuss.python.org/t/add-the-export-keyword-to-python/28444)._
