[IronPython] str * bool

2005-12-29 Thread Sanghyeon Seo
A bug report. I think this is a bit nasty, but str * bool should be allowed: $ ./ip IronPython 0.9.6 on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. >>> import posixpath >>> posixpath.normpath('/a') Traceback (most recent call last): in <0x00928> IronPython.Objects.O

Re: [IronPython] Installing IP with the new CTP

2005-12-29 Thread Greg Kerr
Not a problem, just don't use SolidColourBrush :-). Yes, IP/WPF is awesomely fun. Greg Iain Mackay wrote: > Thanks to Greg for pointing out my mis-Behavio(u)r. Those dyslexic moments > can be a big sap on productivity :) > > Also, by more careful use of the message archive I see that some of my

[IronPython] Installing IP with the new CTP

2005-12-29 Thread Iain Mackay
Thanks to Greg for pointing out my mis-Behavio(u)r. Those dyslexic moments can be a big sap on productivity :) Also, by more careful use of the message archive I see that some of my problems had been addressed already; though the PersistentAnimations roadblock remains so far as I can see. I rebu

Re: [IronPython] Problem in Loading Assembly

2005-12-29 Thread Martin Maly
The failure is related to the STAThread attribute on IronPythonConsole's Main. We removed it recently to fix some problems, but we broke other scenarios. the fix will be in the upcoming release. For now, you can set STAThread attribute on the IronPythonConsole's Main and the COM exception should

[IronPython] Problem in Loading Assembly

2005-12-29 Thread 谭 颖华
Dear All, According to Tutorial provided by IronPython itself, I tried the third: IronPython and COM interoperability. But I failed to receive the expecting result. At first, I encountered this error: Traceback (most recent call last): at System.InvalidCastException

Re: [IronPython] os.path functions give wrong result on non-Windows platforms

2005-12-29 Thread Dino Viehland
Good catch... Another solution might be for us to implement ntmath as a built-in module that delegates to the BCL's path functionality which should get it right on a per-platform basis (or have cli recognized as it's own platform and have a clipath.py that does the right thing). I'll add this

Re: [IronPython] os.mkdir and os.rmdir

2005-12-29 Thread Dino Viehland
Thanks for the bug report - it seems likely we can get this one in for the next release. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Wednesday, December 28, 2005 10:01 PM To: users@lists.ironpython.com Subject: [IronPython] os.mkdi

Re: [IronPython] warnings module

2005-12-29 Thread Dino Viehland
We've actually already made a change for the next release to be fully compatible with the warnings test here. The wiki is just a little out of date right now. We've switched the exceptions over to using old-style classes and also improved the interop story between Python exceptions and CLR ex

[IronPython] warnings module

2005-12-29 Thread Sanghyeon Seo
I looked at RegressionTests wiki page and saw several mentions of warnings module not working. As I know this problem from working on PyPy, I want to inform you. The problem is this: $ python Python 2.4.2 (#2, Nov 20 2005, 17:04:48) [GCC 4.0.3 2005 (prerelease) (Debian 4.0.2-4)] on linux2 Typ