# Builtin "export" decorator/function

**URL:** <https://discuss.python.org/t/builtin-export-decorator-function/11757>\
**Category:** Ideas\
**Created:** [November 5, 2021, 8:40pm UTC](https://discuss.python.org/t/builtin-export-decorator-function/11757 "2021-11-05T20:40:25Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![malemburg](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/malemburg/32/50_2.png) [@malemburg](https://discuss.python.org/u/malemburg)\
**Post date:** [January 24, 2023, 9:02am UTC](https://discuss.python.org/t/builtin-export-decorator-function/11757/17 "2023-01-24T09:02:18Z")

</div>

> [@barry](#):
>
> OTOH, I really wonder how useful the inject-into-builtins feature really is.

I’d advise against this. I have been doing builtin injections with mxTools back in the days with many new builtins and esp. in larger projects this became a maintenance pain: figuring out whether a module used one of the many new builtins was getting increasingly difficult. It’s better to be explicit and import whatever you need at the top of the module.

---

_[View the full topic](https://discuss.python.org/t/builtin-export-decorator-function/11757)._
