homepage

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 Joshua.Landau
Recipients Jeff.Kaufman, Joshua.Landau, NeilGirdhar, Rosuav, SpaghettiToastBook, andybuckley, belopolsky, berker.peksag, eric.araujo, eric.snow, ezio.melotti, georg.brandl, gvanrossum, ncoghlan, paul.moore, pconnell, r.david.murray, terry.reedy, twouters, zbysz
Date 2015年01月22日.23:41:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421970073.87.0.270399264506.issue2292@psf.upfronthosting.co.za>
In-reply-to
Content
We wouldn't actually need to raise it "from" somewhere else; the line numbering and frame are already correct. The only difficulty is that the traceback currently says
 # func(a=1, **{'a': 1})
 TypeError: func() got multiple values for keyword argument 'arg'
 ↑↑↑↑
To do this from the UNPACK opcode would require knowing where the function is in order to print its name. (We also need to know whether to do the check at all, so we'd be hijacking some bits the UNPACK opcode anyway.)
History
Date User Action Args
2015年01月22日 23:41:13Joshua.Landausetrecipients: + Joshua.Landau, gvanrossum, twouters, georg.brandl, terry.reedy, paul.moore, ncoghlan, belopolsky, ezio.melotti, eric.araujo, andybuckley, r.david.murray, zbysz, eric.snow, Rosuav, berker.peksag, pconnell, NeilGirdhar, Jeff.Kaufman, SpaghettiToastBook
2015年01月22日 23:41:13Joshua.Landausetmessageid: <1421970073.87.0.270399264506.issue2292@psf.upfronthosting.co.za>
2015年01月22日 23:41:13Joshua.Landaulinkissue2292 messages
2015年01月22日 23:41:13Joshua.Landaucreate

AltStyle によって変換されたページ (->オリジナル) /