# Binding a new variable automatically in match-case should be explicit

**URL:** <https://discuss.python.org/t/binding-a-new-variable-automatically-in-match-case-should-be-explicit/103844>\
**Category:** Ideas\
**Created:** [September 19, 2025, 12:48pm UTC](https://discuss.python.org/t/binding-a-new-variable-automatically-in-match-case-should-be-explicit/103844 "2025-09-19T12:48:00Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Eneg](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/eneg/32/18177_2.png) [@Eneg](https://discuss.python.org/u/Eneg)\
**Post date:** [July 25, 2026, 3:18pm UTC](https://discuss.python.org/t/binding-a-new-variable-automatically-in-match-case-should-be-explicit/103844/11 "2026-07-25T15:18:46Z")

</div>

See [Pattern matching on constants that aren't in a namespace (especially sentinels)](https://discuss.python.org/t/pattern-matching-on-constants-that-arent-in-a-namespace-especially-sentinels/107916/)

---

_[View the full topic](https://discuss.python.org/t/binding-a-new-variable-automatically-in-match-case-should-be-explicit/103844)._
