Re: [IronPython] Checking for Python exception in C#

2010-06-08 Thread Dino Viehland
You can just use a normal try/catch. IronPython has a mapping between .NET exceptions and Python exceptions. We actually have documentation on this over here http://ironpython.codeplex.com/wikipage?title=Exception%20Model. But apparently it's out of date for StopIteration. For that we now de

Re: [IronPython] datetime.strptime is missing in IronPython?

2010-06-08 Thread Vernon Cole
My error: The Python 2.6.5 documentation says: v v v v > classmethod datetime.strptime(date_string, format)¶ > >Return a datetime corresponding to date_string, parsed according to > format. This is equivalent to datetime(*(time.strptime(date_string, > format)[0:6])). ValueError is raised if th

Re: [IronPython] deepcopy

2010-06-08 Thread Pablo Dalmazzo
Nevermind, I found the problem. It had nothing to do with the module copy not working in IP 2.0, in fact the module copy with IP 2.0 works very well Greetings From: pablodalm...@hotmail.com To: users@lists.ironpython.com Date: Tue, 8 Jun 2010 11:06:07 -0300 Subject: [IronPython] deepcopy

[IronPython] Checking for Python exception in C#

2010-06-08 Thread Tristan Zajonc
Hi, I'm trying to get my head around the IronPython API by implementing a simple work-around for what I believe is a bug in the next() builtin,which I reported here: http://ironpython.codeplex.com/workitem/27383. This is my first look inside IronPython so this question, I assume, is pretty basic.

[IronPython] deepcopy

2010-06-08 Thread Pablo Dalmazzo
Hi there, part of this question was posted by one of my co-workers in SO, but I thought it wouldnt hurt making it here too and more specific. We wanted to use deepcopy in an IronPython 2.6 asp.net webforms project. We abandoned the idea because it brought as conflict with a dll we use (coopera

Re: [IronPython] Where can I download the IronPython Tools for Visual Studio 2010

2010-06-08 Thread Zhi-Yue Sun
yang guang, I have downloaded IronPython Tools through http://qlba8.com/wy/us.html. Thanks for your help. Thanks, -ZhiYue Sun On Tue, Jun 8, 2010 at 4:42 PM, yang guang wrote: > 2010/6/8 Zhi-Yue Sun : > > Hi Brian, > > I am sorry to tell you that I can't visit http://ironpython.net . There >

Re: [IronPython] Where can I download the IronPython Tools for Visual Studio 2010

2010-06-08 Thread yang guang
2010/6/8 Zhi-Yue Sun : > Hi Brian, > I am sorry to tell you that I can't visit http://ironpython.net . There is > any other address to download it? Or may you download it then send to me? > Thanks, > -ZhiYue Sun You can not access because Great Firewall of China has already closed the website, you