Re: [IronPython] Announcing IronPython 1.1.2 RC1

2008-07-15 Thread Harry Pierson
FYI, I've got more details on the two breaking changes on my blog. http://devhawk.net/2008/07/15/IronPython+112+RC.aspx. Please let us know if either of these changes affect you From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Srivatsn Narayanan Sent: Monday, July 14, 2008 9:51 PM

Re: [IronPython] Announcing IronPython 1.1.2 RC1

2008-07-15 Thread Michael Foord
Curt Hagenlocher wrote: It ended up a bit more complicated; that patch leaks memory when a socket isn't closed manually. There's also an issue with how the close flag on _fileobject works -- rather than simply decrementing the refcount the way that socket.close does, it should close the socket

Re: [IronPython] Announcing IronPython 1.1.2 RC1

2008-07-15 Thread Curt Hagenlocher
It ended up a bit more complicated; that patch leaks memory when a socket isn't closed manually. There's also an issue with how the close flag on _fileobject works -- rather than simply decrementing the refcount the way that socket.close does, it should close the socket regardless of the refcount.

Re: [IronPython] Announcing IronPython 1.1.2 RC1

2008-07-15 Thread Michael Foord
Curt Hagenlocher wrote: Those changes will be in 2.0b4. Is this your patch from March, added to the following work item? http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=10825 Michael Some of CPython's socket tests are problematic in the face of non-deterministic finalizatio

Re: [IronPython] Announcing IronPython 1.1.2 RC1

2008-07-15 Thread Curt Hagenlocher
Those changes will be in 2.0b4. Some of CPython's socket tests are problematic in the face of non-deterministic finalization. They assume, for instance, that a socket will implicitly be closed when the variable goes out of scope. Because of this, and because users haven't had a chance to bang on

Re: [IronPython] Announcing IronPython 1.1.2 RC1

2008-07-15 Thread Michael Foord
Hello guys, The only socket related issue I see in that list is: 16356 1.1.2: socket.getnameinfo(...) broken under Vista We were hoping that 1.1.2 would finally put to rest IronPython 1 issues with urllib / urllib2. Has that been done? All the best, Michael Srivatsn Narayanan wrote: Hell

Re: [IronPython] XmlDocument or XDocument in Python/Silverlight

2008-07-15 Thread Jimmy Schementi
Have fun =) Here's your answer: There is no "first class support" for createTextNode (ie. a managed API that calls directly into the browser's native code). However, any javascript function can be called from managed code with "Invoke" so you could do this: newtext = HtmlPage.Document.Invoke("c