--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED]
ERTMS Solutions http://www.ertmssolutions.com
Rue de l'Autonomie, 1 Tel:+ 322 - 522.06.63
1070Bruxelles Fax: + 322 - 522.09.30
thanks a lot for that documentation...A must-have!!
Stan.
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED]
ERTMS Solutions http://www.ertmssolutions.com
Rue de l'Autonomie, 1 Tel
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED]
ERTMS Solutions http://www.ertmssolutions.com
Rue de l'Autonomie, 1 Tel:+ 322 - 522.06.63
1070Bruxelles Fax: + 322 - 522.09.30
PROTECTED] On Behalf Of Stanislas Pinte
Sent: Saturday, August 19, 2006 7:20 AM
To: Discussion of IronPython
Subject: [IronPython] console startup time: 7s
I know it is a detail, but 7 seconds is still large...
Any idea why?
[ironpython] cat hello.py
print 'hello'
[ironpython] time
://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED]
ERTMS Solutions http://www.ertmssolutions.com
Rue de l'Autonomie, 1 Tel:+ 322
-users
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED
value = stringBuilder.ToString();
stringBuilder = new StringBuilder();
return value;
}
}
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED]
ERTMS Solutions http://www.ertmssolutions.com
hello,
could you please tell me what happened to engine.ImportSite();, and what
should I change in my code to get same behaviour?
thanks,
Stan.
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED]
ERTMS Solutions
Corporation. All rights reserved.
a.encode()
Traceback (most recent call last):
File , line 0, in stdin##86
TypeError: encode() takes at least 1 argument (0 given)
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED
for 'xmlcharrefreplace'
and 'backslashreplace' and other error handling schemes added.
Stanislas Pinte a écrit :
Hello,
[sim-ironpython] python
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
win32
Type help, copyright, credits or license for more information.
a.encode
(one)
1
a
{'two': 2, 'three': 3}
a.keys()
['two', 'three']
for k in a.keys():
.. print k
..
two
three
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED]
ERTMS Solutions http://www.ertmssolutions.com
PROTECTED] On Behalf Of Stanislas Pinte
Sent: Friday, August 18, 2006 6:08 AM
To: Discussion of IronPython
Subject: Re: [IronPython] bug with str.encode() (diff with GNU python)
more info on what 2.4 should be:
encode( [encoding[,errors]])
Return an encoded version of the string
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stanislas Pinte
Sent: Friday, August 18, 2006 7:38 AM
To: Discussion of IronPython
Subject: Re: [IronPython] very strange dictionnary bug
By the way, the environment in which the bug shows up is single-threaded, so
I do
Dino Viehland a écrit :
FYI we're going to fix this in 1.0 RC2 which should be out this week.
Damn cool. Thanks a lot.
Stan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stanislas Pinte
Sent: Wednesday, August 16, 2006 8:45 AM
To: Discussion
that it is an
all-or-nothing situation...and I would like to avoid having to split my
classes in several assemblies.
Thanks for all input,
Kind regards,
Stan.
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED]
ERTMS Solutions
that
customers can write their own custom filtering/processing extensions.
The product is in use today by several customers.
Stanislas Pinte.
--
-
Stanislas Pinte e-mail: [EMAIL PROTECTED]
ERTMS Solutions
Hi Todd,
you may want to use PythonDotNet...still in 1.1, and working nicely.
http://www.zope.org/Members/Brian/PythonNet/
Stan.
Selon Todd M. Chapman [EMAIL PROTECTED]:
I'm doing quite a bit of work with Microsoft CRM. CRM is based on .NET 1.1
and there's not much chance of that changing
Selon Martin Maly [EMAIL PROTECTED]:
Your TestOther class is not public so IronPython can't access it, hence the
exception.
Martin
Indeed. Thanks for the help!
Stan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Stanislas Pinte
Sent
Hello,
I have troubles importing classes defined in my own assembly:
[Release] ./TestImport.exe
Unhandled Exception: IronPython.Runtime.PythonImportError: No module named Other
at IronPython.Runtime.ReflectedMethodBase.Invoke(MethodBinding binding)
..
at
the PYTHONPATH to
PYTHON24/Libs/)
haven't tried it though.
Stan.
Klaus Müller
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Stanislas Pinte
Sent: Monday, January 30, 2006 7:35 PM
To: [EMAIL PROTECTED]
Cc: users@lists.ironpython.com
Hello,
I have the pleasure to say that a (quasi unmodified) version of simpy passed
all its unit tests
running IronPython:
[SimPy-1.6.1] ../IronPython-1.0-Beta2/IronPythonConsole.exe SimPy/testSimPy.py
Hello,
Internally we use a wonderful simulation framework written in python:
http://simpy.sourceforge.net/
I cannot make it work on python because it rests on generators...
the main loop of simpy uses type(myFunction) == types.GeneratorType) to
determine if it is a
generator or not...
if
I think I have the first idea why the tests are failing:
[bin] ./IronPythonConsole.exe
IronPython 0.9.6 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
def testgenerator():
.. for i in range(0,10):
.. yield i
..
testgenerator
function testgenerator
. the type of a generator is?
Klaus Müller
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Stanislas Pinte
Sent: Friday, December 16, 2005 5:29 PM
To: [EMAIL PROTECTED]
Cc: users@lists.ironpython.com
Subject: [Simpy-users] Simpy under
Selon Klaus Muller [EMAIL PROTECTED]:
Stan,
Your assertion must be:
assert type(gentest()) == types.GeneratorType,
_not_:
assert type(gentest) == types.GeneratorType.
The call of a generator function generates a generator object.
You are right, sorry!!
there we are:
[bin] python
Selon Klaus Muller [EMAIL PROTECTED]:
Good work! What type does IronPython actually return for a generator?
a generated type...
type '__main__+gentest0'
not looking like a generator...
Stan.
Klaus Müller
-Original Message-
From: Stanislas Pinte [mailto:[EMAIL PROTECTED
hello,
Has anyone an idea of the following:
I have a script:
#ScriptingLoopTest python code
def init_session(settings, fileNamePrefix):
pass
def handle_message(message):
passmmm
and I use IronPython 0.96 as embedded scripting engine.
private PythonEngine engine = new
27 matches
Mail list logo