[IronPython] IPy2: Problem inheriting from .Net object
Glenn Jones
glenn.k.jones+ipy at gmail.com
Wed Nov 19 17:42:49 CET 2008
Hi all,
It's us again!
With this object:
from System.IO import MemoryStream
class MockStream(MemoryStream):
def __init__(self):
MemoryStream.__init__(self)
self.closed = False
def Close(self):
print 'Into close'
MemoryStream.Close(self)
print 'Past close'
self.closed = True
IronPython 1.1:
>>> import mockstream
>>> m = mockstream.MockStream()
>>> m.Close()
Into close
Past close
>>>
IronPython 2.0 latest code drop:
>>> import mockstream
>>> m = mockstream.MockStream()
>>> m.Close()
Into close
....
repeated to StackOverflowException
We'll raise this one and the issue we reported earlier as soon as codeplex
starts behaving itself again.
Thanks
Glenn & Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20081119/8b3f3abb/attachment.html>
More information about the Ironpython-users
mailing list