Posts

Showing posts with the label fepy

Microsoft.Scripting.Debugging

For IronPython users interested in tool support the big new feature in IronPython 2.6 is the support for Python stack frames and all that comes along with it. Not a small part of this is that pdb , the standard library Python debugger, will work with IronPython - yay! Harry Pierson (IronPython program manager for Microsoft) has a new blog entry detailing the new assembly that will come with IronPython 2.6 (but will actually be part of the Dynamic Language Runtime) to support this: Microsoft.Scripting.Debugging If you’ve compiled IronPython from source recently, you may have noticed a new DLL: Microsoft.Scripting.Debugging. This DLL contains a lightweight, non-blocking debugger for DLR based languages that is going to enable both new scenarios as well as better compatibility with CPython. Needless to say, we’re very excited about it. ... Of course, we hide all this DLR Debugger goo from you in IronPython. Python already has a mechanism for doing traceback debugging – sys.settrace . Our ...

Mono can now compile IronPython 2.0

If you follow this blog, or the state of IronPython on Mono , you will know that the version of IronPython included in Mono (from the FePy project ) is quite out of date. This is because (for various reasons) Mono has been unable to compile IronPython 2.0 from source which has prevented a new FePy release. This causes a problem with running the IronPython in Action examples from Mono and I wrote a blog entry about how to work around this: IronPython in Action Examples on Mono The intention is that MultiDoc, along with as many examples from the book as possible, run on both Mono and the .NET framework; IronPython isn't just for Windows but can also be used on Linux and Mac OS X or anywhere that Mono will run. Some readers have reported that MultiDoc crashes on exit when run with Mono. The root cause of this is the old version of IronPython 2 that ships with Mono. ... This is reason enough to look at using a more recent version of IronPython 2. Even though IronPython can't be co...

FePy Status Update (and IronPython on Mono)

FePy is the community edition of IronPython maintained by Seo Sanghyeon. It includes the Python standard library plus various bugfixes and compatibility wrappers for Python modules not normally available with IronPython. More importantly it is intended to be compiled with Mono. (Although the FePy binaries work on Windows and the Windows binaries work on Mono - which is the point of Mono.) The latest released binary versions of FePy are for IronPython 1 and IronPython 2.0 Alpha 5. These are the versions that are included with Mono. Unfortunately they're pretty old. Problems with the Mono compiler have prevented IronPython 2 being compiled with Mono. These aren't always bugs; they're usually places where the .NET compiler has a different interpretation of the C# standards to the Mono compiler, or even places where the IronPython sources rely on features of the .NET compiler that appear to actually violate the ECMA language specification for C# . That aside Seo says that he r...

IronPython at PyCon 2009

PyCon 2009 is now long over, and I'm still recovering from the aftermath. This year IronPython played more of a part than ever before. There were several IronPython related talks, all of which were recorded and are already up on the PyCon Video Channel : IronPython: Directions, Data and Demos Jim Hugunin's talk on the status and future of IronPython, including how IronPython has affected the Common Language Runtime and C#. Come learn about our secret plans to use IronPython to take over the world. The emphasis will be on demos showing the seductive possibilities that IronPython enables for Python developers. These include taking advantage of the newest features in Windows 7, running your Python code in the browser with Silverlight, and many more. IronPython Implementation Dino Veihland's talk on IronPython's innards - including demonstrating executing Ruby code from inside Python. IronPython is an implementation of Python running on .NET. This talk will provide an over...

FePy Update: IronPython 2.0 Beta 2 on Mono

Douglas Blank has done the work to get IronPython 2.0 Beta (the latest version of IronPython 2) working on Mono. Building IronPython 2 Beta 2 Community Edition Patches Against IPCEr8 (FePy) to Build and Run IP2B2

UI Automation on the FePy Blog

Jim Hugunin recently posted an example of using the .NET 3.0 UI Automation API from IronPython . This library hasn't yet been implemented for Mono, so Seon Sanghyeon has written two blog entries on using an equivalent, "Assistive Technology Service Provider Interface", with IronPython: Using AT-SPI from IronPython (1) Using AT-SPI from IronPython (2)

FePy 7 (IronPython Community Edition) Released

Seo Sanghyeon has just announced the release of FePy 7 . This is the first release of the IronPython Community Edition that includes IronPython 2 (specifically the recently released IronPython 2.0a5). Seo is now working for Mozilla on the IronMonkey project , and this release was in part sponsored by Mozilla. There are two projects that are part of FePy that are not included in this release. Files under trunk/pyprof/, which tries to implement sys.setprofile with Mono profiler API. (Thanks to Miguel de Icaza and Paolo Molaro for help.) Files under bench/, which benchmarks simple IronPython programs to measure progress of Mono runtime. This release is built with Mono 1.2.5.1. The minimum Mono version needed to compile and run for IronPython 1.x is 1.2.3. For IronPython 2.x it's 1.2.5. Mono 1.2.5 and 1.2.5.1 are same except for ASP.NET bugfixes. DLR-based languages won't work with Mono versions before 1.2.5. Changes in this release: IronPython IronPython 2.0 Alpha 5. Libraries dba...

IronPython 2 on Mono

Seo Sanghyeon has updated FePy to include a set of patches so that IronPython 2.0a4 will compile for Mono 1.2.5. IronPython 2.x Patches IronPython 2 is now an official part of the IronPython Community Edition.

Building FePy on Mac OS X

My description of the steps I went through to compile FePy from source on Mac OS X: Building FePy on Mac OS X

IronPython Standard Library Patch Accepted into Python

Guido has accepted a patch to the Python standard library inspect module as acceptable for inclusion in Python: Inspect Patch for IronPython (and Jython?) Compatibility The patch originates from the FePy project and could be in Python 2.6, and even the next bugfix release of 2.5. Note that Guido has only agreed that it can be applied, it hasn't actually happened yet... It is however, a good (if small) example of IronPython feeding back into CPython. This patch benefits other alternative implementations of Python as well as IronPython

Python vs IronPython Round 2 (TileCache)

Bill Thorp continues his attempts to get TileCache working with IronPython. Now he discovers that the lack of os.access is part of the problem, but that it is available in FePy . Unfortunately FePy doesn't yet support IronPython 2 - so the struggle isn't over yet... Python vs IronPython Round 2

NAnt Build file for IronPython

Seo reports on switching the FePy makefile to NAnt : NAnt build file for IronPython This was inspired by the changes in IronPython 2, but Seo is happy with the switch and NAnt works well with Mono.

pyprof: Mono profiler for IronPython

Seo has just announced the start of a mini(ish) project called pyprof: pyprof: Mono profiler for IronPython This is a project to get sys.setprofile for IronPython, enabling easier profiling of IronPython code. Initially Seo is targetting the Mono profiling API - but once stable he hopes to investigate the .NET API as well.

New FePy Blog

Seo Sanghyeon has just started a blog for the FePy project: The FePy Blog There isn't much to see yet, but as usual he has been working on interesting stuff and should have something good to say in the morning...

Making POSTs, Launching Subprocess and Wiki Additions

Andrzej Krzywda has done a new blog entry: How to programmatically submit a POST form using IronPython Steve Gilham has done a blog entry about launching subprocesses with IronPython: Spawning a process in IronPython Both of these examples are in the IronPython Cookbook Wiki , along with several more additions like: Watching the FileSystem Connecting to Active Directory - using a Powershell assembly from IronPython Setting the Clipboard - Using Windows Forms to set the clipboard (and creating a Single Threaded Apartmentstate (STA) Thread). Working with File Paths has been expanded, and the following pages filled in: Core Concepts IronPython FePy: The IronPython Community Edition The DLR: Dynamic Language Runtime The .NET Framework Mono Silverlight

IronPython Community Edition: Sixth Release

There is a fresh release of the IronPython Community Edition (FePy) FePy Download Page FePy Homepage Changes in this release: IronPython Updated to IronPython 1.1. Libraries Huge improvements to AST support. Support inspect.getargspec(). Pickle integration with .NET Serialization. platform module that can handle IronPython. (Anthony Baxter) Implement os.access(). (Rachel Hestilow) Bundles pybench benchmark (thanks to platform module). pyflakes code checker (thanks to AST support). wsgiref synced to 2.5.1. Patches You can read the summary of applied patches here. http://fepy.sourceforge.net/patches.html New in this release: patch-ironpython-import-hack

[ANN] IronPython Community Edition r5

Seo Sanghyeon announces the fifth release of the IronPython Community Edition. This release uses IronPython 1.1 Alpha as it's base. http://groups.google.com/group/ironpy/tree/browse_frm/thread/31c8f5e7bad4c70e/d143b51337b0bc51