A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-September/056459.html below:

[Python-Dev] removing nested tuple function parameters

[Python-Dev] removing nested tuple function parameters [Python-Dev] removing nested tuple function parametersBrett Cannon bcannon at gmail.com
Sun Sep 18 03:20:08 CEST 2005
Is anyone truly attached to nested tuple function parameters; ``def
fxn((a,b)): print a,b``?  At one of the PyCon sprints Guido seemed
okay with just having them removed when Jeremy asked about ditching
them thanks to the pain they caused in the AST branch.  I personally
don't see them being overly useful thanks to assignment unpacking. 
Plus I don't think they are used very much (gut feeling, though, and
not based on any grepping).

Would anyone really throw a huge fit if they went away?  I am willing
to write a PEP for their removal in 2.6 with a deprecation in 2.5 if
people are up for it.  Otherwise I say they should definitely go in
Python 3.

-Brett
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4