Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #15229: An OSError subclass whose __init__ doesn't call back | Antoine Pitrou | 2012-06-30 | 1 | -0/+10 |
| | | | | | OSError.__init__ could produce incomplete instances, leading to crashes when calling str() on them. | ||||
* | Fix OSError.__init__ and OSError.__new__ so that each of them can be | Antoine Pitrou | 2011-12-15 | 1 | -5/+55 |
| | | | | overriden and take additional arguments (followup to issue #12555). | ||||
* | Instantiate the OS-related exception as soon as we raise it, so that "except" | Victor Stinner | 2011-10-17 | 1 | -1/+12 |
| | | | | | | | | works properly. PyErr_SetFromErrnoWithFilenameObject() was already fixed by the changeset 793c75177d28. This commit fixes PyErr_SetExcFromWindowsErrWithFilenameObject(), used on Windows. | ||||
* | Instantiate the OS-related exception as soon as we raise it, so that | Antoine Pitrou | 2011-10-12 | 1 | -0/+12 |
| | | | | "except" works properly. | ||||
* | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. | Antoine Pitrou | 2011-10-12 | 1 | -0/+128 |