Pythonification of the asterisk-based collection packing/unpacking syntax

Neal Becker ndbecker2 at gmail.com
Thu Dec 22 06:49:16 EST 2011


I agree with the OP that the current syntax is confusing.  The issue is, the 
meaning of * is context-dependent.

Why not this:

Func (*args) == Func (unpack (args))

def Func (*args) == Func (pack (args))

That seems very clear IMO




More information about the Python-list mailing list