# Sum Types in the stdlib

**URL:** <https://discuss.python.org/t/sum-types-in-the-stdlib/99879>\
**Category:** Ideas\
**Tags:** typing\
**Created:** [July 23, 2025, 3:43pm UTC](https://discuss.python.org/t/sum-types-in-the-stdlib/99879 "2025-07-23T15:43:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bschubert](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/bschubert/32/26920_2.png) [@bschubert](https://discuss.python.org/u/bschubert)\
**Post date:** [July 23, 2025, 4:10pm UTC](https://discuss.python.org/t/sum-types-in-the-stdlib/99879/3 "2025-07-23T16:10:03Z")

</div>

Some related previous discussions:

- [Another attempt at clean sum types/ADTs in Python](https://discuss.python.org/t/another-attempt-at-clean-sum-types-adts-in-python/21961)
- [Draft PEP: Sealed decorator for static typing](https://discuss.python.org/t/draft-pep-sealed-decorator-for-static-typing/49206)

---

_[View the full topic](https://discuss.python.org/t/sum-types-in-the-stdlib/99879)._
