From: Florian Gross Date: 2006-06-07T22:39:32+09:00 Subject: Re: [Bug?] set_trace_func: binding has wrong self value for return events Yukihiro Matsumoto wrote: >> [up-level binding] > I want to make sure that this is a totally different story from > set_trace_func, OK? Yup, that makes a lot of sense. > Once I had discussed this issue of up-level binding with ko1 (the YARV > guy) and he said it is possible to implement it. The only two reason > I didn't implement it are a) I didn't have good API idea, Would binding(n) be good enough? It's not very fancy, but seems like a natural extension of what is already there. > and b) it > might restrict the future implementation especially YARV. Since he > said it didn't affect the performance, you will be able to have it in > the future - on Christmas, in some distant year ;-) Thanks a *lot*! That *is* very reassuring. So I'll just have to find another workaround that doesn't exploit an obscure Ruby bug until then... Oh well... :) -- http://flgr.0x42.net/