This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2013年02月09日 14:45 by serhiy.storchaka, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| tempfile_errno.patch | serhiy.storchaka, 2013年02月09日 14:45 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg181739 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年02月09日 14:45 | |
Before 3.3 if not able to create the name of the temporary file then an OSError with meaninful errno (ENOENT or EEXIST) was raised. Now subclass of OSError raised with errno=None. This is an incompatible change because old user code can catch OSError exception and then test its errno. Here is a patch which restores errno attribute in these exceptions. |
|||
| msg181746 - (view) | Author: Senthil Kumaran (orsenthil) * (Python committer) | Date: 2013年02月09日 17:33 | |
The patch looks good and it is correct thing to do IMO. thanks. |
|||
| msg181756 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年02月09日 20:28 | |
New changeset 11eaa61124c2 by Serhiy Storchaka in branch '3.3': Issue #17169: Restore errno in tempfile exceptions. http://hg.python.org/cpython/rev/11eaa61124c2 New changeset fd3e3059381a by Serhiy Storchaka in branch 'default': Issue #17169: Restore errno in tempfile exceptions. http://hg.python.org/cpython/rev/fd3e3059381a |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:41 | admin | set | github: 61371 |
| 2013年02月09日 20:43:00 | serhiy.storchaka | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2013年02月09日 20:28:19 | python-dev | set | nosy:
+ python-dev messages: + msg181756 |
| 2013年02月09日 17:33:02 | orsenthil | set | nosy:
+ orsenthil messages: + msg181746 |
| 2013年02月09日 14:45:19 | serhiy.storchaka | create | |