[IronPython] IronPython & Silverlight 2 Tutorial with Demos and Downloads

2008-03-22 Thread fuzzyman
{ran_emo} Instead of posting my PyCon talk slides, I've turned them into a series of articles instead, which should be easier to follow. All the examples are available online and for download. This is everything you need to get started with IronPython and Silverlight 2. {sm;:-)} All the article

Re: [IronPython] Decorators on classes

2008-02-05 Thread Fuzzyman
Keith J. Farmer wrote: > Py3k has ASTs, right? > > .. if the ASTs were mapped to System.Linq.Expressions wherever possible, that > would be a great start. Even better if we got complaints if trying to cast > an expression that couldn't be cast to the CLR nodes. > Well - Python has had ASTs

Re: [IronPython] Getting window properties

2008-01-08 Thread Fuzzyman
Marcus Patino Pan wrote: > Hello, > > I wondered if you could help me. I have IronPython working fine, but > what I would like to do is use it to test another application. I have > worked out how to use sendkeys but to do proper testing I need to be > able to check if the correct window has app

Re: [IronPython] Mailing list vs. Web discussions on CodePlex

2007-12-11 Thread Fuzzyman
Hernan M Foffani wrote: >>>Personally I don't think the IP-list has enough volume to justify a >>>split and that would be detrimental. >>> >>>If people don't want to subscribe to a list for fear of spam it's fair >>>enough but the list has been working just fine until now and I >>>personally would

[IronPython] IronPython Studio

2007-12-11 Thread Fuzzyman
Hello all, My apologies if this has been announced on the list before - but I wasn't aware of it. http://www.codeplex.com/IronPythonStudio IronPython Studio is a free full IDE (Integrated Development Environment) for the Python programming language. It is based on the existing IronPython exam

Re: [IronPython] Mailing list vs. Web discussions on CodePlex

2007-12-11 Thread Fuzzyman
Sylvain Hellegouarch wrote: >Personally I don't think the IP-list has enough volume to justify a >split and that would be detrimental. > >If people don't want to subscribe to a list for fear of spam it's fair >enough but the list has been working just fine until now and I >personally would not

Re: [IronPython] FW: FW: DLR question

2007-11-13 Thread Fuzzyman
>From: Michael Foord [mailto:[EMAIL PROTECTED] On Behalf Of Fuzzyman >Sent: 13 November 2007 14:08 >To: [EMAIL PROTECTED]; Discussion of IronPython >Subject: Re: [IronPython] FW: FW: DLR question > >IIRC Martin Maly recommended this list for DLR questions. It is >certainly pop

Re: [IronPython] FW: FW: DLR question

2007-11-13 Thread Fuzzyman
IIRC Martin Maly recommended this list for DLR questions. It is certainly populated with several of those involved in the implementation... Can't help you with your specific question though (although it sounds very interesting). Michael http://www.manning.com/foord [EMAIL PROTECTED] wrote: >

Re: [IronPython] creating a scope for embedded scripts to run in

2007-11-13 Thread Fuzzyman
Hello Toni, I don't have the API docs to hand - but what you want to do is to effectively execute an import statement in your namespace. There may be an 'Import' method on the api somewhere, or maybe you can just execute the corresponding snippet of code in your namespace as part of initialisi

[IronPython] CPython Extensions from IronPython

2007-10-23 Thread Fuzzyman
Hello all, Yesterday I spent some time looking at hosting the CPython interpreter from IronPython. Thanks to Jonathon Hogg for suggesting we try embedding and Seo for pointing us to Python.NET. Thanks also to Resolver for letting me spend time on this. Basically the Python.NET has already wra

Re: [IronPython] Reading Text files with open

2007-06-12 Thread Fuzzyman
John Messerly wrote: >Actually, it's a result of System.Text.ASCIIEncoding, which replaces bytes >greater than 0x7f with a question mark. I filed this as CodePlex work item >#10983 >(http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=10983). > > > Thanks. With CPython, the only

[IronPython] Sockets and Standard Library Modules in IronPython

2007-06-05 Thread Fuzzyman
Hello all, A plea to 'the team'. urllib and urllib2 are Python standard libraries modules that provide a high level interface to accessing internet resources. They are widely used. These modules are broken for the official IronPython distribution, but they work with FePy thanks to patches that

Re: [IronPython] Multiple engine instances in IP 2.0 and beyond (was IronPython 2.0 Alpha 1 Released)

2007-06-05 Thread Fuzzyman
Shri Borde said: >>Have you looked at moving to 2.0? Dino had mentioned a workaround (of >>maintaining a thread-local static) which would enable you to selectively >>redirect console output. Given that you are running into a number of issues >>and that you might have a stream of such issues goi

Re: [IronPython] Multiple engine instances in IP 2.0 and beyond (was IronPython 2.0 Alpha 1 Released)

2007-06-05 Thread Fuzzyman
Shri Borde wrote: >Michael, how does multiple engines help you when several pieces of user-code >are running concurrently? It seems that if you are willing to live with some >restrictions (like every thread having a single output stream), you should be >able to live without multiple engines. We

Re: [IronPython] Backporting of bugs to 1.1

2007-06-05 Thread Fuzzyman
Sanghyeon Seo wrote: >2007/6/5, Michael Foord <[EMAIL PROTECTED]>: > > >>Also on systems with .NET 3, there is a reported speed degradation >>moving from 1 to 2, which we can't afford (and we aren't willing to >>depend on .NET 3 yet I'm afraid). >> >> > >I think you meant "systems *without*

Re: [IronPython] Error while porting Linux code to IronPython

2007-05-29 Thread Fuzzyman
Anthony Raj wrote: >Hi Micheal, > >You were right again. Something unexpected turned up. > >The error was a conflict with the dictionary instance used in >Wordnet library for windows. > > Ah... the joys of "from module import *". :-) Michael Foord http://www.voidspace.org.uk/ironpython/inde

[IronPython] Embedding IronPython

2007-03-07 Thread fuzzyman
{ran_emo} I've put another IronPython article up. It is a simple example of embedding the IronPython engine into a dotnet application. * `Embedding IronPython `_ In this example (taken from the `Tabbed Image Viewer `_) IronPython is embedded in C# t

[IronPython] Profiling IronPython

2007-01-05 Thread fuzzyman
{ran_emo} There's a new (short) article on profiling IronPython code : * `Profiling IronPython `_ It shows a couple of example timers for use in profiling for the purposes of optimising IronPython code._

[IronPython] New Windows Forms Tutorial Entry

2006-12-17 Thread fuzzyman
{ran_emo} In celebration of the new IronPython section I've added a new entry to the `Windows Forms Tutorial Series `_. This is entry number eleven : * `Towards a Richer GUI: The TabControl, Splitter & the PictureBox `_ It uses a few new controls to create a *slightly* more complex GUI than we

[IronPython] New IronPython Section

2006-12-17 Thread fuzzyman
{ran_emo} I've created a new section on *Voidspace* : * `The Voidspace IronPython Pages `_ I've moved the Windows Forms tutorials here and setup an aggregator for IronPython related blogs. * `IronPython & Windows Forms Tutorials `_ * `Planet IronPython `_ If you spot any typos, or know of any

Re: [IronPython] Is there any IronPython or CPython lib for CVS?

2006-11-07 Thread Fuzzyman
that runs continuous integration by executing svn commands as subprocesses. Creating something custom should be fairly simple even if this module can't be made to work. Fuzzyman http://www.voidspace.org.uk/python/index.shtml > > Of course if someone wants to create a popen2 module fo

[IronPython] IronPython 1.0.1 and MSI Installer

2006-10-10 Thread Fuzzyman
e codeplex site (or is there now a wix config file included in the src distribution ?). Thanks Fuzzyman http://www.voidspace.org.uk/python/weblog/arch_IronPython.shtml ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/lis

Re: [IronPython] Comparing clr objects in lists

2006-10-03 Thread Fuzzyman
Andrzej Krzywda wrote: >Hello all, > >We found an issue with comparing clr objects in lists. > >IronPython 1.0.60816 on .NET 2.0.50727.42 >Copyright (c) Microsoft Corporation. All rights reserved. > >>> import clr > >>> clr.AddReference('System.Drawing') > >>> from System.Drawing import Color > >>

Re: [IronPython] Modules available for IronPython?

2006-07-11 Thread Fuzzyman
basically correct summation of the situation. Some parts of the standard library are implemented in C and *may* never work with IronPython, although Seo has (had ?) something in progress that may resolve that. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml > = >Brian R

Re: [IronPython] Importing embedded .py files

2006-07-04 Thread Fuzzyman
JoeSox wrote: >On 7/4/06, Michael Foord <[EMAIL PROTECTED]> wrote: > > >>JoeSox wrote: >> >> >>>This is working except two of the embedded .py files import each >>>other, so no matter which one I place first, it errors out. >>> >>> >>Try creating the empty modules and putting them in s

Re: [IronPython] more pythonic than python

2006-06-20 Thread Fuzzyman
fernando moreira wrote: > Hello ! > > First of all, thanks for the great job you are doing ! > > Second, as newbie programmer i would like to ask if you have in mind > after finnish IP, to create a completely pythonic language - like > python should be without its warts and gotchas. I think it wo

Re: [IronPython] Improving performance with stronger typing

2006-06-06 Thread Fuzzyman
Keith J. Farmer wrote: >I can see it for primitive types, but not in general. > > > It sounds very interesting though. For circumstances where you are prepared to guarantee the type of objects (and the range of operations permitted on them), sacrificing dynamicity for speed sounds like a good tr

Re: [IronPython] User Privileges

2006-05-23 Thread Fuzzyman
Dino Viehland wrote: >Are you running IronPython from a network share? > Ah yes, it was. Running it from C: instead of H: solved it... Thanks Fuzzyman http://www.voidspace.org.uk/python/index.shtml > And have you also reduced any .NET rights instead of just windows right

[IronPython] User Privileges

2006-05-23 Thread Fuzzyman
IronPythonConsole.PythonCommandLine.Main(String[] rawArgs) Can anyone diagnose this ? Does the SDK need installing ? Must the user have full privileges in order to be able to run IronPython ? Fuzzyman http://www.voidspace.org.uk/python/index.shtml ___ users