[Python-ideas] get() method for list and tuples

Sven R. Kunze srkunze at mail.de
Thu Mar 2 15:36:02 EST 2017


On 01.03.2017 06:34, Ethan Furman wrote:
> On the bright side, if enough use-cases of this type come up (pesky 
> try/except for a simple situation), we may be able to get Guido to 
> reconsider PEP 463.  I certainly think PEP 463 makes a lot more sense 
> that adding list.get().

It then would make sense to remove .get() on dicts.  ;-)


Regards,
Sven


...
and to remove parameter "default" of max().
and to remove parameter "default" of getattr().
...



More information about the Python-ideas mailing list