.
Regards,
Szymon Kobalczyk
Ian Warwick napisał(a):
Hi,
New guy here.
I am developing a web application that uses the Front Controller
pattern, the idea was that it would provide rich functionality for
mapping UI Elements to business objects.
It came to the point where it would be nice to have
On behalf of BizMind team at SoftwareMind, congratulations and thank you
for making this such a great product and sharing it with the community
starting from the early stages. Also thanks for all the people in this
mailing list for helping us all.
--
Szymon Kobalczyk
SoftwareMind
[EMAIL
reamReader for actual parsing. You can easily generalize this
code to extract a FromStream method and then surface it to the
PythonEngine API.
If you have this you can easily read the file from a resource stream.
Szymon Kobalczyk
___
users mail
see you moving there from GotDotNet.
Regards,
Szymon Kobalczyk
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Dino Viehland napisał(a):
>
> The engine does have a SetStderr / SetStdout / SetStdin API which should be
> used for this purpose. And the nice thing is as we rev to the multi-System
> state module this API will remain unchanged so you won't be broken in the
> future.
>
Note that I the sampl
get { return columnNo; }
}
public string File
{
get { return file; }
}
public string LineText
{
get { return lineText; }
}
...
}
Regards,
Szymon Kobalczyk
Szymon Kobalczyk napisał(a):
Hi,
I foun
exception carries this information in private fields so it can recreate
PythonException. Do you have anything against exposing these fields as
read-only properties?
Regards,
Szymon Kobalczyk
___
users mailing list
users@lists.ironpytho
ython the value of last statement is stored in special '_' variable.
So to read it just use:
engine.GetVariable("_");
Note that if you precompile your scripts you must set the last argument
of Compile method to true in order for this to work:
engine.Compile(scrip
sion and rule evaluator for our workflow
engine and in templates for document generator (I should blog on this
shortly).
I think I should carefully evaluate this tools (and maybe others) and
choose one that best fits your scenarios.
Regards,
Szymon Kobalczyk.
Hi,
Did you receive my last email? Have you been able to reproduce this
issue? Please let me know how to avoid this bug (I don't want to blow up
my application with some script by incident).
Szymon.
Szymon Kobalczyk wrote:
>I finally found why my NUnit suite doesnt work anymore. I
#x27;t have any yet in production code) or there
are other cases to avoid.
Szymon Kobalczyk.
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Anopther problem: the method PythonEngine.ExecuteFile() throws
System.ArgumentException: Error binding to target method.
at System.Delegate.CreateDelegate(Type type, Object target,
RuntimeMethodHandle method)
It's called from:
>
IronPython.dll!IronPython.Runtime.Ops.CreateDynamicDelegat
Generator.GenerateSnippet() method (printExprStmts) that is later
passed to CodeGen. I don't know Python enough to know if this is
intended behavior but I found the '_' variable really useful for 'multi
statement evals'.
Szymon Kobalczyk
__
but there are many more WindowsForms FAQs and samples:
http://www.windowsforms.net/Default.aspx?tabindex=5&tabid=60
In general the first stop for WinForms sample code is the:
http://www.windowsforms.
Szymon Kobalczyk.
___
users mailing list
users@lis
h these pitfalls and use it in production system with great success.
So once again many thanks to the whole team.
Szymon Kobalczyk.
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
is is rather important for everyone who embeds PythonEngine in
own application and should be fixed before the 1.0 version is released.
Regards,
Szymon Kobalczyk.
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
drop in.
Regards,
Szymon Kobalczyk
http://www.geekswithblogs.net/kobush
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
s E {
>public static void Main () {
>IDictionary d = new Dictionary();
>PythonModule eval = new PythonModule("", d);
>FrameCode x = Builtin.compile("2+2", "", "eval") as FrameCode;
>for (;;) {
>x.Run(
Sorry to bother you again.
>x = compile("2+2", "", "eval")
>for i in xrange(123456789):
>eval(x)
>
>
>
In this code, what object is assigned to the x var? Can I just store it
by calling PythonEngine.Evaluate once than invoke multiple times passing
it as variable:
PythonEngine engine = new
ge(123456789):
>eval(x)
>
>Martin
>
>-Original Message-
>From: Szymon Kobalczyk [mailto:[EMAIL PROTECTED]
>Sent: Friday, November 04, 2005 2:30 PM
>To: Martin Maly; users@lists.ironpython.com
>Subject: Re: [IronPython] Is this memory leak ?
>
>But do you
---
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Szymon Kobalczyk
>Sent: Friday, November 04, 2005 10:13 AM
>To: users@lists.ironpython.com
>Subject: [IronPython] Is this memory leak ?
>
>Hi,
>
>We just noticed a serious memory leak in our server applica
21 matches
Mail list logo