[IronPython] i thought this is odd: using Interop on Microsoft Word

2007-11-01 Thread Kelie
Hello group, import clr clr.AddReference("Microsoft.Office.Interop.Word") import Microsoft.Office.Interop.Word as Word _progid_ = "Word.Application" def get_active_object(progid): from System.Runtime.InteropServices import Marshal try: app = Marshal.GetActiveObject(progid) ex

[IronPython] Importing package with imp

2007-11-01 Thread Sanghyeon Seo
Importing package with imp module is tested in test_imp_package() function of test_imp.py. But sys.modules is incorrectly modified by imp which this test misses... Okay, if I was not working on some obscure importing hack, I guess no one would have found this. :( How to reproduce: # x/__init__.p

[IronPython] Howto Create .dll file

2007-11-01 Thread jane janet
Hello all, I wanna know how to create .dll file by IronPython. Please teach me everything I have to do. Thank you All the best _ Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.c

Re: [IronPython] Linux Support

2007-11-01 Thread Dino Viehland
I'll fix this for the next release as well - thanks for the report Evan, and thanks for pointing out Path.PathSeperator in the bug Seo. It'a always nice to learn something new :). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Wedne

Re: [IronPython] sys.argv in the interactive console

2007-11-01 Thread Dino Viehland
Thanks for the report Seo, I'll fix this for the next release. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Wednesday, October 31, 2007 9:26 PM To: Discussion of IronPython Subject: [IronPython] sys.argv in the interactive console U

Re: [IronPython] [python] Re: Import decimal failure with Turkish Locale (IP 1.1)

2007-11-01 Thread Curt Hagenlocher
On 10/31/07, Michael Foord <[EMAIL PROTECTED]> wrote: > > > However - string literals in code should either be in ascii *or* in a > declared encoding. Some way out of this situation would be nice... > (Thinking subclasses of strings...) The only place I know of that follows this kind of approach

Re: [IronPython] [python] Re: Import decimal failure with Turkish Locale (IP 1.1)

2007-11-01 Thread Dino Viehland
Cool, I'll send out an update after I find out more. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord Sent: Thursday, November 01, 2007 2:55 PM To: Discussion of IronPython Subject: Re: [IronPython] [python] Re: Import decimal failure with Tur

Re: [IronPython] [python] Re: Import decimal failure with Turkish Locale (IP 1.1)

2007-11-01 Thread Michael Foord
Dino Viehland wrote: > One option might be a non-technical solution: Instead of you redistributing > the library (or modified library) we distribute it w/ IronPython - and then > you're just including the combined package. There's other reasons why it'd > be good for us to do this (help, encodi

Re: [IronPython] [python] Re: Import decimal failure with Turkish Locale (IP 1.1)

2007-11-01 Thread Dino Viehland
One option might be a non-technical solution: Instead of you redistributing the library (or modified library) we distribute it w/ IronPython - and then you're just including the combined package. There's other reasons why it'd be good for us to do this (help, encodings, warnings, etc...). Unfo