: 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
>
>
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
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