This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Demur Rumed, kayhayen, larry, ned.deily, rhettinger, serhiy.storchaka, vstinner
Date 2016-09-28.08:09:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475050170.41.0.0331019534448.issue28257@psf.upfronthosting.co.za>
In-reply-to
Content
Proposed patch fixes error message for var-positional arguments. It adds new opcode BUILD_TUPLE_UNPACK_WITH_CALL.

>>> min(1, *2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: min() argument after * must be an iterable, not int
>>> min(*[1], *2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: min() argument after * must be an iterable, not int
History
Date User Action Args
2016-09-28 08:09:31serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, vstinner, larry, ned.deily, kayhayen, Demur Rumed
2016-09-28 08:09:30serhiy.storchakasetmessageid: <1475050170.41.0.0331019534448.issue28257@psf.upfronthosting.co.za>
2016-09-28 08:09:30serhiy.storchakalinkissue28257 messages
2016-09-28 08:09:30serhiy.storchakacreate