Re: Crazy what-if idea for function/method calling syntax

2011-07-21 Thread ΤΖΩΤΖΙΟΥ
Thanks for your input, everyone. -- http://mail.python.org/mailman/listinfo/python-list

Re: Crazy what-if idea for function/method calling syntax

2011-07-18 Thread Pierre Quentel
On 18 juil, 07:54, Steven D'Aprano wrote: > On Mon, 18 Jul 2011 08:54 am ΤΖΩΤΖΙΟΥ wrote: > > > Jumping in: > > > What if a construct > > >    xx(*args1, **kwargs1)yy(*args2, **kwargs2) > > > was interpreted as > > >   xxyy(*(args1+args2), **(kwargs1+kwargs2)) > > > (Note: with **(kwargs1+kwargs2)

Re: Crazy what-if idea for function/method calling syntax

2011-07-17 Thread Steven D'Aprano
On Mon, 18 Jul 2011 08:54 am ΤΖΩΤΖΙΟΥ wrote: > Jumping in: > > What if a construct > >xx(*args1, **kwargs1)yy(*args2, **kwargs2) > > was interpreted as > > xxyy(*(args1+args2), **(kwargs1+kwargs2)) > > (Note: with **(kwargs1+kwargs2) I mean “put keyword arguments in the > order given”,

Re: Crazy what-if idea for function/method calling syntax

2011-07-17 Thread Ian Kelly
2011/7/17 ΤΖΩΤΖΙΟΥ : > Jumping in: > > What if a construct > > xx(*args1, **kwargs1)yy(*args2, **kwargs2) > > was interpreted as > > xxyy(*(args1+args2), **(kwargs1+kwargs2)) > > (Note: with **(kwargs1+kwargs2) I mean "put keyword arguments in the > order given", since dicts can't be added) > >

Re: Crazy what-if idea for function/method calling syntax

2011-07-17 Thread Cameron Simpson
On 17Jul2011 15:54, ΤΖΩΤΖΙΟΥ wrote: | What if a construct | |xx(*args1, **kwargs1)yy(*args2, **kwargs2) | | was interpreted as | | xxyy(*(args1+args2), **(kwargs1+kwargs2)) | | (Note: with **(kwargs1+kwargs2) I mean “put keyword arguments in the | order given”, since dicts can't be added

Re: Crazy what-if idea for function/method calling syntax

2011-07-17 Thread Thomas Jollans
On 07/18/2011 12:54 AM, ΤΖΩΤΖΙΟΥ wrote: > Jumping in: > > What if a construct > >xx(*args1, **kwargs1)yy(*args2, **kwargs2) > > was interpreted as > > xxyy(*(args1+args2), **(kwargs1+kwargs2)) > > (Note: with **(kwargs1+kwargs2) I mean “put keyword arguments in the > order given”, since

Crazy what-if idea for function/method calling syntax

2011-07-17 Thread ΤΖΩΤΖΙΟΥ
Jumping in: What if a construct xx(*args1, **kwargs1)yy(*args2, **kwargs2) was interpreted as xxyy(*(args1+args2), **(kwargs1+kwargs2)) (Note: with **(kwargs1+kwargs2) I mean “put keyword arguments in the order given”, since dicts can't be added) This construct is currently a syntax erro