[Python-Dev] Re: Questions about about the DLS 2020

2020年11月20日 09:45:20 -0800

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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/PVETCKEWNZI5LCI7BSXKRIHYD77734MJ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to