Message234528
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.) |
|
Date |
User |
Action |
Args |
2015-01-22 23:41:13 | Joshua.Landau | set | recipients:
+ 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:13 | Joshua.Landau | set | messageid: <1421970073.87.0.270399264506.issue2292@psf.upfronthosting.co.za> |
2015-01-22 23:41:13 | Joshua.Landau | link | issue2292 messages |
2015-01-22 23:41:13 | Joshua.Landau | create | |
|