[Python-Dev] Any grammar experts?

Georg Brandl g.brandl at gmx.net
Mon Jan 26 21:36:29 CET 2015


On 01/26/2015 07:25 PM, Skip Montanaro wrote:
> On Mon, Jan 26, 2015 at 12:12 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
>> I also think the multiple-starargs function calls are completely
>> overboard:
>>
>>   f(**someargs, **someotherargs)
>>
>> (I might add I've never felt any need for those)
> 
> This makes sense to me, but I wonder how you resolve the case of
> overlapping keys.
> 
> I will note that pylint complains about any use of *args or **kwds
> (calling it "magic"), which seems a bit overboard to me. There's
> nothing magic in the current implementation as far as I can see.

Yeah, that's one of the sillier on-by-default warnings that I always
disable immediately.

Georg



More information about the Python-Dev mailing list