[Python-Dev] Raising OSError concrete classes from errno code (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Wed Dec 26 13:02:05 CET 2012
- Previous message: [Python-Dev] Raising OSError concrete classes from errno code
- Next message: [Python-Dev] push changesets hooks failing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
It sould be in Python-Ideas: add keyword argument support for OSError and subclasses with suitable default values. I.e.
OSError(errno=errno.ENOENT) FileNotFoundError(2, 'No such file or directory') FileNotFoundError(filename='qwerty') FileNotFoundError(2, 'No such file or directory') FileNotFoundError(strerr='Bad file') FileNotFoundError(2, 'Bad file')
- Previous message: [Python-Dev] Raising OSError concrete classes from errno code
- Next message: [Python-Dev] push changesets hooks failing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]