Message234681
| Author |
Joshua.Landau |
| Recipients |
Jeff.Kaufman, Joshua.Landau, NeilGirdhar, 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月25日.18:42:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1422211349.48.0.278617687641.issue2292@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Amazing, thanks.
I also just uncovered http://bugs.python.org/issue23316; we'll need to support a patch for that. In fact, bad evaluation order is why I haven't yet gotten down my unification strategy. I wouldn't worry about extra opcodes when using *args or **kwargs, though; what matters is mostly avoiding extra copies. I guess a few `timeit`s will show whether I'm right or totally off-base.
Most of what's needed for the error stuff is already implemented; one just needs to set the top bit flag (currently just 1<<8) to "1 + arg_count_on_stack()", which is a trivial change. I'll push a patch for that after I'm done fiddling with the unification idea. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年01月25日 18:42:29 | 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, berker.peksag, pconnell, NeilGirdhar, Jeff.Kaufman, SpaghettiToastBook |
| 2015年01月25日 18:42:29 | Joshua.Landau | set | messageid: <1422211349.48.0.278617687641.issue2292@psf.upfronthosting.co.za> |
| 2015年01月25日 18:42:29 | Joshua.Landau | link | issue2292 messages |
| 2015年01月25日 18:42:29 | Joshua.Landau | create |
|