Message115190
> @Antoine: ok, thanks.
>
> This is now committed in r84352.
I don't think it's ok to test for the IOError message ("No such file"),
because it comes from the OS and can therefore change from platform to
platform. Instead, you should check the value of the "errno" attribute
on the IOError objects.
Also:
+ except IOError as x:
+ if support.verbose:
+ sys.stdout.write("\nsocket.error is %s\n" % str(x))
The message should be changed (IOError instead of socket.error). |
|
Date |
User |
Action |
Args |
2010-08-29 19:44:07 | pitrou | set | recipients:
+ pitrou, exarkun, janssen, giampaolo.rodola |
2010-08-29 19:44:05 | pitrou | link | issue9706 messages |
2010-08-29 19:44:05 | pitrou | create | |
|