Message1378

Author leosoto
Recipients
Date 2006-12-26.03:45:50
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Jython seems to impose a non standard restriction here, as CPython doesn't have any problem with this code:

>>> import _weakref, UserDict
>>> _weakref.ref(UserDict.UserDict())

But it raises TypeError on Jython (2.3 branch at least).

I'm attaching a simple patch, but I don't know if that's the "right way" or not.
History
Date User Action Args
2008-02-20 17:17:38adminlinkissue1622207 messages
2008-02-20 17:17:38admincreate