[issue2292] Missing *-unpacking generalizations
Guido van Rossum
report at bugs.python.org
Mon Apr 7 21:07:51 CEST 2008
Guido van Rossum <guido at python.org> added the comment:
> Do I understand correctly that non-starred arguments are packed into
> intermediate tuples/sets in the presence of starred arguments so that
> {a,b,*c,d,e} is equivalent to {*{a,b},*c,*{d,e}}? This should not be a
> problem for tuples, but with sets, it means that {a,b,c} may behave
> subtly differently from {a,*(b,c)}.
Can you show an example where this would be different?
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2292>
__________________________________
More information about the Python-bugs-list
mailing list