On Mon, Dec 13, 2010 at 9:44 PM, Jan Kaliszewski <[email protected]> wrote:
> I think that seeing that:
>
> def f(a, b): ...
> def f(a, *, b): ...
> def f(a, *args, b): ...
> x(1, 2, 3, 4, z=5)
> x(1, *(2,3,4), z=5)
As per the closure of the affected tickets, the likely outcome of such
a discussion would be the deprecation and subsequent removal of
support for the following two options:
def f(a, b,): ...
x(1, 2, 3, 4, z=5,): ...
Function arguments are not lists. Even when separated onto multiple
lines, the closing "):" should remain on the final line with other
content.
That would be a lot of hassle to get rid of something that people
probably aren't doing in the first place, though.
Regards,
Nick.
--
Nick Coghlan | [email protected] | Brisbane, Australia
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com