hello there i'me newbie in ironpython. i'm just wondering, is there
any way that ironpython dealing with xml-rpc? cause i had imported
i tried to import xmlrpclib to ironpython with this code
import xmlprclib
server = xmlrpclib.Server(localhost:4567)
month = server.getMonth(2002, 8)
i got
hello there i'me newbie in ironpython. i'm just wondering, is there
any way that ironpython dealing with xml-rpc? cause i had imported
i tried to import xmlrpclib to ironpython with this code
import xmlprclib
server = xmlrpclib.Server(localhost:4567)
month = server.getMonth(2002, 8)
i got
On Thu, Feb 21, 2008 at 4:35 AM, [EMAIL PROTECTED] wrote:
File System, line unknown, in Read
IOError: Unable to read data from the transport connection: Cannot access
a disposed object.
Object name: 'System.Net.Sockets.Socket'..
This is a known issue in IronPython. You can work around it
On Thu, Feb 21, 2008 at 12:35 PM, Birsch [EMAIL PROTECTED] wrote:
quite a few [python] exceptions during __init__. Does IronPython handle
exceptions significantly slower than CPtyhon?
This has been my experience - I've worked round it by editing modules
to avoid nasty bits.
Not always practical
I like the ANTS Profiler, and there's also one in VS2005 Team that is supposed
to be okay.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Birsch
Sent: Thursday, February 21, 2008 7:36 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Slow Performance of CPython libs?
I took on Cooper's advice and profiled with ANTS. Here are the top methods:
Namespace Method name Time (sec.) Time with children (sec.) Hit count Source
file System.Text.RegularExpressions RegexInterpreter.Go() 37.0189 94.4676
13689612
System.Text.RegularExpressions RegexInterpreter.Operator()
Throwing exceptions is a whole lot slower. But for what it's worth the cost of
try/except though is much cheaper on IronPython if no exception is thrown.
Here's the exception results on PyBench. Note these are actually results I
happen to have on my machine from a while ago - but nothing's
I checked both sgmllib.py and BeautifulSoup.py - and it seems both are
reusing the same regexps (searched for re.compile).
I think your suggestion is very relevant in this case. It makes sense to
replicate the compile once use many behavior that is commonly used with
regexp.
-Birsch
On Thu, Feb
Just out of curiosity...
I'm guessing that there are two levels of caching that could be used.
One would be to hold a global dictionary of some sort of pattern -
Regex that will save the lengthy parsing of the re.
The other would be to actually call Regex.CompileToAssembly to get a
more
After Birsh's last comment that they're calling compile I was thinking we might
be doing something really stupid. Turns out that we are. For our supposedly
compiled regex's we're not passing the Compiled option. So they're all getting
interpretted and of course that's going to suck big time.
Hi all,
I am following
http://www.ironpython.info/index.php/Using_Python_Classes_from_.NET
http://www.ironpython.info/index.php/Using_Python_Classes_from_.NET
but using VB.
In VB I declare a class and derive a python 1.1 class from it but when I
return it I get the exception:
Unable to cast
Again but with subject, sorry :(
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Howland-Rose,
Kyle
Sent: Friday, 22 February 2008 2:38 PM
To: users@lists.ironpython.com
Subject: [IronPython] (no subject)
Hi all,
I am following
The page in question doesn't seem to show what you describe -- deriving a
Python class from a C# class. Maybe you could show us your sample code?
On Thu, Feb 21, 2008 at 7:39 PM, Howland-Rose, Kyle
[EMAIL PROTECTED] wrote:
Hi all,
I am following
My apologies; I wasn't reading the code correctly. That's probably a sign
that I should be going to bed. :) Have you tried simplifying your version
just a little bit by running it directly rather than through
ASP.NEThttp://asp.net/
?
On Thu, Feb 21, 2008 at 8:43 PM, Howland-Rose, Kyle
[EMAIL
Thanks for your help so late Curt (not that I need a quick answer at
all).
I am sure I am missing something big-time here and talking as
cross-purposes, but, to my mind the reason I don't have a problem when
running from the command line is because all I am doing is running the
ipy.exe on the
15 matches
Mail list logo