Not being able to use a particular variable name (such as match or case) in the 
limited context of matching is only a minor wart.  Unfortunately, _ for 
internationalization is already a well-established convention for something 
that you might well want to do within each separate case.  It isn't just that 
you can't call your variable match; it is that you can't do output without 
renaming what seems like a standard library function.

Not insurmountable, but also not trivial.
_______________________________________________
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/PVETCKEWNZI5LCI7BSXKRIHYD77734MJ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to