I think it would be easiest to reason about if an Exception is always raised when not everything is assigned to. Just like the behavior of other unpacking assignment, either everything is assigned or there's an error. My apologies if that wasn't clear from the examples. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/BCSI2TNFZHHWASCX6WHKNOLWWIPUWXJA/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Re: f-strings as assign... Ricky Teachey
- [Python-ideas] Re: f-strings as a... Chris Angelico
- [Python-ideas] Re: f-strings as a... Ricky Teachey
- [Python-ideas] Re: f-strings as a... Chris Angelico
- [Python-ideas] Re: f-strings as a... Ricky Teachey
- [Python-ideas] Re: f-strings as a... Wes Turner
- [Python-ideas] Re: f-strings as a... Ricky Teachey
- [Python-ideas] Re: f-strings as a... Eric V. Smith
- [Python-ideas] Re: f-strings as a... Ricky Teachey
- [Python-ideas] Re: f-strings as assign... David Mertz
- [Python-ideas] Re: f-strings as a... Dennis Sweeney
- [Python-ideas] Re: f-strings as a... Chris Angelico
- [Python-ideas] Re: f-strings as assignment targets Brendan Barnwell
- [Python-ideas] Re: f-strings as assignment targets Ricky Teachey
- [Python-ideas] Re: f-strings as assignment targets Alex Hall
- [Python-ideas] Re: f-strings as assignment tar... Ricky Teachey
- [Python-ideas] Re: f-strings as assignment... Alex Hall
- [Python-ideas] Re: f-strings as assign... Christopher Barker
- [Python-ideas] Re: f-strings as a... Chris Angelico
- [Python-ideas] Re: f-strings as a... Christopher Barker
- [Python-ideas] Re: f-strings as a... Wes Turner