Add support keyword arguments with suitable defaults for OSError and subclasses

Dec. 26, 2012
12:31 p.m.
Now OSError constructor does not support keyword arguments. It will be good add support for followed keyword arguments: "errno", "strerror", "filename". If "strerror" is not specified, a standard error message corresponding to errno is used. If "errno" is not specified for an OSError subclass, an errno associated with this subclass is used (if only one errno associated). For backward compatibility perhaps keyword arguments should be incompatible with any positional arguments (or at least suitable defaults should used only if any keyword argument specified). Examples:
4466
Age (days ago)
4466
Last active (days ago)
0 comments
1 participants
participants (1)
-
Serhiy Storchaka