Re: [Ironpython-users] Why does this happen?

2012-03-29 Thread Dino Viehland
I'm actually not sure why it would happen. The only thought I have is if you're only doing one comparison, and comparing the same instance, there's an object identity test which would prevent the __cmp__ call from happening. But I'm guessing that's not what's happening... Can you put a breakpoi

[Ironpython-users] NuGet packaging of IronPython

2012-03-29 Thread Keith Rome
I have a few questions about the contents of the NuGet packages for IronPython. They seem to be up-to-date since the current version listed is 2.7.2 from 3/13. It looks like JD Hardy is the "owner" of both distributions, but I am not sure if he is the one that actually deploys them. And these th

[Ironpython-users] Detecting source code origination in SetTrace() callbacks

2012-03-29 Thread Keith Rome
In our live debugger implementation, I call SetTrace() to hook a TracebackDelegate for processing breakpoints, updating stack frame UI, inspecting watches, etc. I depend on information such as "(int)frame.f_lineno" to track the current execution pointer (and therefore which line to highlight in

Re: [Ironpython-users] Why does this happen?

2012-03-29 Thread Slide
Is Dino on vacation? He usually has good answers for these sorts of things :-) I still can't get the callsite to end up calling __cmp__ like List.sort does. I'm not sure why that is the case. It looks like even the Python version of bisect has a similar issue though (it never calls __cmp__ either),

[Ironpython-users] IronPython, Daily Digest 3/28/2012

2012-03-29 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] datetime does not handle reverse comparisons correctly 2. [Status update] datetime does not handle reverse comparisons correctly 3. [Status update] Implement rest of datetime m