Jim J. Jewett writes:

 > I *hope* this was a typo!  If 
 > 
 >     case Point(x=a, y=b):
 > 
 > assigns to a and b (instead of x and y, as in a normal call), then
 > that is ... going to be very easy for me to forget, and to miss
 > even when I'm aware of it.

I don't argue with your main point as a general principle, but I think
I myself would probably be OK with real code where Points are probably
used quite frequently (instead of being introduced in this line ;-)
and the identifiers being bound aren't named "a" and "b".

Steve
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/XGFUWTOPW2JJDGYGOD3AM4HMLA6RMCTZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to