# Extend PEP 562 with \_\_setattr\_\_ for modules?

**URL:** <https://discuss.python.org/t/extend-pep-562-with-setattr-for-modules/25506>\
**Category:** Ideas\
**Created:** [April 6, 2023, 5:26am UTC](https://discuss.python.org/t/extend-pep-562-with-setattr-for-modules/25506 "2023-04-06T05:26:16Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![vstinner](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/vstinner/32/15130_2.png) [@vstinner](https://discuss.python.org/u/vstinner)\
**Post date:** [June 23, 2023, 10:12am UTC](https://discuss.python.org/t/extend-pep-562-with-setattr-for-modules/25506/29 "2023-06-23T10:12:01Z")

</div>

Hi, I created [Support defining \_\_setattr\_\_() and \_\_delattr\_\_() in a module · Issue #106016 · python/cpython · GitHub](https://github.com/python/cpython/issues/106016) to propose the same idea.

---

_[View the full topic](https://discuss.python.org/t/extend-pep-562-with-setattr-for-modules/25506)._
