Re: [IronPython] catching WebException from OpenReadAsync

2007-06-27 Thread Benjamin West
: Discussion of IronPython > Subject: [IronPython] catching WebException from OpenReadAsync > > Is this a bug or am I doing something wrong? > > $ cat webclient.py > import clr > import System > from System import Uri > from System.Net import WebClient, WebException > >

Re: [IronPython] catching WebException from OpenReadAsync

2007-06-27 Thread John Messerly
n the read. - John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin West Sent: Wednesday, June 27, 2007 5:22 PM To: Discussion of IronPython Subject: [IronPython] catching WebException from OpenReadAsync Is this a bug or am I doing something wro

[IronPython] catching WebException from OpenReadAsync

2007-06-27 Thread Benjamin West
Is this a bug or am I doing something wrong? $ cat webclient.py import clr import System from System import Uri from System.Net import WebClient, WebException class Foo: def __init__(self, uri): self.setup(uri) def setup(self, uri): self.uri = Uri