[IronPython] CP #20099: Stack Overflow using super() in dict subclass

Dino Viehland dinov at microsoft.com
Sat Dec 6 22:16:42 CET 2008


The immediate question would be does fixing this unblock all other Django issues?  If there's going to be a long tail of other bugs then it'd be better to just fix them all for 2.0.1.

If you want to try this out the fix is easy, in PythonDictionary.cs replace the line:

                    this[(object)null] = value;

with:

                    _storage.Add(null, value);


You'll probably find that alone isn't sufficient - the getter probably needs a similar change where it does the same thing as this[object key].


> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:users-
> bounces at lists.ironpython.com] On Behalf Of Jeff Hardy
> Sent: Saturday, December 06, 2008 12:57 PM
> To: Discussion of IronPython
> Subject: [IronPython] CP #20099: Stack Overflow using super() in dict
> subclass
>
> Hi,
> Django's MultiValueDict is a key piece of its URL routing, and it
> appears to be broken on IronPython 2.0RC2 (and RC1) when using a key
> of None. See
> http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20099
> for details.
>
> I hate to be needy with a release so close, but is there any chance of
> fixing this for 2.0?
>
> - Jeff
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list