[issue7548] If a generator raises TypeError when being unpacked, an unrelated error message is shown

2009-12-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: This is a duplicate of issue4806. -- nosy: +amaury.forgeotdarc resolution: - duplicate status: open - closed superseder: - Function calls taking a generator as star argument can mask TypeErrors in the generator

[issue7548] If a generator raises TypeError when being unpacked, an unrelated error message is shown

2009-12-19 Thread Mark Florisson
New submission from Mark Florisson markflorisso...@gmail.com: list(*('boo' for x in [1])) ['b', 'o', 'o'] list(*(range('error') for x in [1])) # notice the erroneous error message Traceback (most recent call last): File stdin, line 1, in module TypeError: type object argument after * must