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

2005-12-28 Thread Sanghyeon Seo
Currently, os.path module is same as ntpath, and gives wrong result on non-Windows platforms. IronPython 0.9.6 on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. >>> import os >>> os.path.join('a', 'b') 'a\\b' Currently, I have the following code in my site.py, but obv

[IronPython] os.mkdir and os.rmdir

2005-12-28 Thread Sanghyeon Seo
I'd like to see os.mkdir and os.rmdir implemented in the next release of IronPython. Until then, this seems to work: import System import os os.mkdir = System.IO.Directory.CreateDirectory os.rmdir = System.IO.Directory.Delete Seo Sanghyeon ___ users ma

Re: [IronPython] Bitwise boolean operators and Forms

2005-12-28 Thread jeff sacksteder
I was unclear on the nature of Anchor & Dock. Mistakes were made.On 12/28/05, Keith J. Farmer <[EMAIL PROTECTED] > wrote: Perhaps he intends Anchor instead of Dock? ___ users mailing list users@lists.ironpython.com http://lists.ironpython.co

Re: [IronPython] Bitwise boolean operators and Forms

2005-12-28 Thread Martin Maly
The DockStyle enum does not have the Flags attribute so IronPython doesn't add the bitwise operators. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jeff sackstederSent: Wednesday, December 28, 2005 11:02 AMTo: users@lists.ironpython.comSubject: [IronPython] Bitwise boolean

Re: [IronPython] Installing IP with the new CTP

2005-12-28 Thread Martin Maly
Hi Iain, The threading issue... It seems that STAThred is what works for most uses so in the next release we are making IronPython STA by default. We are also adding a command line parameter -X:MTA that will run the script / interactive prompt on MTAThread thread. Hope this helps Martin -

Re: [IronPython] Bitwise boolean operators and Forms

2005-12-28 Thread Keith J. Farmer
Perhaps he intends Anchor instead of Dock?   - Keith J. Farmer [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Riley Sent: Wednesday, 28 December 2005 11:25 I don't understand. Why would you use an or statement when assigning

Re: [IronPython] Bitwise boolean operators and Forms

2005-12-28 Thread Tim Riley
I don't understand. Why would you use an or statement when assigning a dockstyle?~TimOn 12/28/05, jeff sacksteder < [EMAIL PROTECTED]> wrote:The code in this snippet fails, claiming the bitwise operator '|' is unsupported for for DockStyles. Is this an unimplemented item, bug, or misunderstanding o

[IronPython] Bitwise boolean operators and Forms

2005-12-28 Thread jeff sacksteder
The code in this snippet fails, claiming the bitwise operator '|' is unsupported for for DockStyles. Is this an unimplemented item, bug, or misunderstanding on my part? import sys sys.LoadAssemblyByName('System.Windows.Forms') from System.Windows.Forms import * my_control = RichTextBox() my_cont

Re: [IronPython] Experience installing IP with the new WPF CTP

2005-12-28 Thread Greg Kerr
Did you spell it RepeatBehaviour or RepeatBehavior (shouldn't have the "u" on this side of the ocean. ;-) Greg Iain Mackay wrote: > I ran into several problems running the first Avalon example from the > tutorial, using IP 0.9.6 > > I should mention that at this time I was running .net Framewor

[IronPython] Installing IP with the new CTP

2005-12-28 Thread Iain Mackay
Hi Martin Thank you for your update on the tutorial, good news. I can get by without animations for now - but do you know a solution for the threading problem in the new environment? I can only do more substantial work by running from scripts rather than interactively! It's the eventually deliver