[Moshe writes:] > How about, for windows, to derive "many" error classes from OSError on > Win32, and always return the right one? Another alternative would be to derive from EnvironmentError. I would then like to change the __str__ method from: ... return '[Errno %s] %s: %s' % (self.errno, self.strerror, ... to return '[%s %s] %s: %s' % (self.getdesc(), self.errno, self.strerror, Where getdesc() returns "OS Error", "IO Error" or "Win32 error" respectively. This all comes down to Guido tho. I believe he is away, so if he doesnt respond Ill simply send him a summary of the discussions and he can decide lickety-split! Mark.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4