Re: [IronPython] Looping in IronPython - should it be linear?

2007-02-15 Thread Stanislas Pinte
-- - 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

[IronPython] API doc ref

2006-09-11 Thread Stanislas Pinte
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

Re: [IronPython] [ANN] IronPython 1.0 released today!

2006-09-06 Thread Stanislas Pinte
-- - 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

Re: [IronPython] console startup time: 7s

2006-08-22 Thread Stanislas Pinte
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

Re: [IronPython] [Simpy-users] RE: SimPy on IronPython timing test

2006-08-22 Thread Stanislas Pinte
://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

Re: [IronPython] [Simpy-users] RE: SimPy on IronPython timing test

2006-08-21 Thread Stanislas Pinte
-users ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- - Stanislas Pinte e-mail: [EMAIL PROTECTED

[IronPython] Code broken in RC2

2006-08-21 Thread Stanislas Pinte
value = stringBuilder.ToString(); stringBuilder = new StringBuilder(); return value; } } -- - Stanislas Pinte e-mail: [EMAIL PROTECTED] ERTMS Solutions http://www.ertmssolutions.com

[IronPython] engine.ImportSite(); broken in RC2

2006-08-21 Thread Stanislas Pinte
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

[IronPython] bug with str.encode() (diff with GNU python)

2006-08-18 Thread Stanislas Pinte
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

Re: [IronPython] bug with str.encode() (diff with GNU python)

2006-08-18 Thread Stanislas Pinte
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

[IronPython] very strange dictionnary bug

2006-08-18 Thread Stanislas Pinte
(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

Re: [IronPython] bug with str.encode() (diff with GNU python)

2006-08-18 Thread Stanislas Pinte
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

Re: [IronPython] very strange dictionnary bug

2006-08-18 Thread Stanislas Pinte
- 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

Re: [IronPython] expose some namespaces of own application

2006-08-16 Thread Stanislas Pinte
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

[IronPython] expose some namespaces of own application

2006-08-15 Thread Stanislas Pinte
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

Re: [IronPython] who is using ironpython in projects ?

2006-04-21 Thread Stanislas Pinte
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

Re: [IronPython] Compatibility with .NET 1.1

2006-03-09 Thread Stanislas Pinte
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

Re: [IronPython] Bug in engine.LoadAssembly(...) - PythonImportError

2006-02-26 Thread Stanislas Pinte
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

[IronPython] Bug in engine.LoadAssembly(...) - PythonImportError

2006-02-10 Thread Stanislas Pinte
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

Re: [IronPython] [Simpy-users] Simpy working under IronPython1.0beta2

2006-01-31 Thread Stanislas Pinte
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

[IronPython] Simpy working under IronPython1.0beta2

2006-01-30 Thread Stanislas Pinte
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

[IronPython] Simpy not working on IronPython because of type(generator) problem

2005-12-21 Thread Stanislas Pinte
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

Re: [IronPython] [Simpy-users] Simpy under IronPython 0.96

2005-12-16 Thread Stanislas Pinte
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

Re: [IronPython] [Simpy-users] Simpy under IronPython 0.96

2005-12-16 Thread Stanislas Pinte
. 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

Re: [IronPython] [Simpy-users] Simpy under IronPython 0.96

2005-12-16 Thread Stanislas Pinte
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

Re: [IronPython] [Simpy-users] Simpy under IronPython 0.96

2005-12-16 Thread Stanislas Pinte
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

[IronPython] Stack Traces in IronPython 0.96 do not contain python stack trace

2005-12-14 Thread Stanislas Pinte
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