Re: [IronPython] DOM binding for .NET?

2006-10-25 Thread M. David Peterson
This is a nice overview in regards to some of the key advantages in System.Xml for .NET 2.0.  It provides a deeper understanding the of the design goals, with code samples that showcase how to take advantage of them. http://msdn.microsoft.com/library/default.asp?url=""> On 10/25/06, M. David Peters

[IronPython] Patches summary updated

2006-10-25 Thread Sanghyeon Seo
I updated patches summary on the SourceForge site to reflect the current reality. http://fepy.sourceforge.net/patches.html 1. Issues fixed in IronPython 1.0.1 were splitted to the separate page. 2. Remaining patches were moved to new 1.0.1 directory, and diff headers were changed. 3. The page als

[IronPython] register module with an IronPython engine

2006-10-25 Thread Fredrik Lundh
how do I register a module with an IronPython engine, so that code that runs in that engine can do "import mymodule" and get a reference to the module I just added? In CPython, I can simply call Py_InitModule and pass in the module name and a pointer to an array of PyMethodDef structs. Surely ther

[IronPython] Possible IronPython and FePy Issues

2006-10-25 Thread Diane Trout
Hi, I'm trying to run IronPython under Mono on OS X and found a couple of issues. This code fragment fails when it shouldn't: d = dict() d[None] = "bleem" del d[None] With CPython, the key None is deleted on IronPython I get this exception: Traceback (most recent call last): TypeError: i

Re: [IronPython] register module with an IronPython engine

2006-10-25 Thread Dino Viehland
You can apply the PythonModule to your assembly specifying the type that corresponds with the module type. In 1.0.1 our site.py will load any DLLs in the "DLLs" directory and the module will be available for you to import. The type that PythonModule references should be a static type (no insta

Re: [IronPython] Possible IronPython and FePy Issues

2006-10-25 Thread Dino Viehland
Thanks for the bug reports. I've opened a bug for the dictionary deletion issue (http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=4769). I'm a little worried about treating DEL the same as backspace - what happens when an actual DEL character comes in? This one has

[IronPython] Python and Overloaded Methods

2006-10-25 Thread [EMAIL PROTECTED]
Hello all, If any of you C# programmers miss overloaded methods in Python, I've just written a metaclass that provides them. :-) http://www.voidspace.org.uk/python/weblog/arch_d7_2006_10_21.shtml#e514 Ok, so it's a silly hack: but I've been itching to try metaclasses for a long time. Fuzz

Re: [IronPython] Possible IronPython and FePy Issues

2006-10-25 Thread M. David Peterson
Couldn't you simply check the platform at load time, adapting the behavior of the DEL to mimic BS when running under OSX?  That, or have a separate mapping file for each platform that loads at run-time which would also hold potential to all a more user definable approach for mapping key sequences a

Re: [IronPython] Possible IronPython and FePy Issues

2006-10-25 Thread M. David Peterson
s/all/allowOn 10/25/06, M. David Peterson <[EMAIL PROTECTED]> wrote: Couldn't you simply check the platform at load time, adapting the behavior of the DEL to mimic BS when running under OSX?  That, or have a separate mapping file for each platform that loads at run-time which would also hold potent

Re: [IronPython] Another import strangeness

2006-10-25 Thread Sanghyeon Seo
2006/10/25, Sanghyeon Seo <[EMAIL PROTECTED]>: > Import bugs seem to be especially difficult to reduce the testcase, > since it's often unclear what the hell is going on. Oops, this is a duplicate of CodePlex issue 2648, and actually found from the same code. Sorry for the noise. http://www.codep

[IronPython] IronPython URLs

2006-10-25 Thread Sanghyeon Seo
IronPython uploaded to Debian. http://packages.debian.org/experimental/python/ironpython James Bryne asked about running SimPy with IronPython. http://thread.gmane.org/gmane.comp.python.simpy.user/373 Alp Toker mentions IronPython in the Managed D-BUS release note. http://lists.freedesktop.org/ar

Re: [IronPython] register module with an IronPython engine

2006-10-25 Thread Mark Rees
I am sure that effbot (fredrik) understands how to do what DIno suggested, but for those who do not or are interested, I have an example at http://hex-dump.blogspot.com/2006/10/using-ironpythons-101-new-community.htmlRegardsMarkOn 10/26/06, Dino Viehland < [EMAIL PROTECTED]> wrote:You can apply th