homepage

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.

classification
Title: Deprecate OSError aliases in the doc
Type: Stage: resolved
Components: Versions: Python 3.4, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, eric.araujo, pitrou, python-dev, r.david.murray
Priority: normal Keywords: patch

Created on 2012年12月18日 20:07 by asvetlov, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
exception.patch priyapappachan, 2014年03月30日 10:48 Deprecation tag added review
Messages (14)
msg177704 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2012年12月18日 20:07
The list of aliases is: IOError, EnvironmentError, WindowsError, mmap.error, socket.error, os.error and select.error
Documentation should have deprecation message guessing to use OSError instead.
msg177706 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012年12月18日 20:14
"The following exceptions are kept for compatibility with previous versions; starting from Python 3.3, they are aliases of OSError."
Do you want to add an explicit compatibility statement there?
msg177711 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2012年12月18日 20:51
Don't know about library/exceptions.rst
For other modules (socket, select etc.) I like to use ".. deprecated:: 3.3" markup.
Antoine, do you have objections?
msg177712 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012年12月18日 20:55
No objections from me. It would be good to have other people's opinions, though.
msg177713 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2012年12月18日 21:00
It seems sensible to me.
msg215272 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014年03月31日 21:41
New changeset 5ad1d523b342 by Andrew Svetlov in branch 'default':
Merge 3.4 (#16716)
http://hg.python.org/cpython/rev/5ad1d523b342 
msg215273 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2014年03月31日 21:42
Pushed. Thanks, priya
msg215274 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014年03月31日 21:45
New changeset c0c17718301f by Andrew Svetlov in branch 'default':
Merge 3.4 (#16716)
http://hg.python.org/cpython/rev/c0c17718301f 
msg215275 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2014年03月31日 22:16
Close the issue after #f5dda52a4ccd and #8d5f005a0da3
msg215279 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2014年03月31日 22:45
Andrew, please revert this. The modify() method is deprecated, so the "deprecated" markup is inappropriate here.
msg215280 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2014年03月31日 22:45
Oops, trying again: The modify() method is not deprecated, so the "deprecated" markup is inappropriate here.
msg215282 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014年03月31日 23:08
New changeset 7b219429c404 by Andrew Svetlov in branch '3.4':
#16716: remove deprecation warning
http://hg.python.org/cpython/rev/7b219429c404
New changeset 1c6c2ec8916a by Andrew Svetlov in branch 'default':
#16716: remove deprecation warning
http://hg.python.org/cpython/rev/1c6c2ec8916a 
msg215284 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2014年03月31日 23:10
The "deprecated markup" is removed. Sorry.
Thanks to quick report.
On Tue, Apr 1, 2014 at 2:08 AM, Roundup Robot <report@bugs.python.org> wrote:
>
> Roundup Robot added the comment:
>
> New changeset 7b219429c404 by Andrew Svetlov in branch '3.4':
> #16716: remove deprecation warning
> http://hg.python.org/cpython/rev/7b219429c404
>
> New changeset 1c6c2ec8916a by Andrew Svetlov in branch 'default':
> #16716: remove deprecation warning
> http://hg.python.org/cpython/rev/1c6c2ec8916a
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue16716>
> _______________________________________
msg215285 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2014年03月31日 23:17
Close the issue again after fixing Antoine's objection.
History
Date User Action Args
2022年04月11日 14:57:39adminsetgithub: 60920
2014年03月31日 23:17:05asvetlovsetstatus: open -> closed

messages: + msg215285
2014年03月31日 23:10:56asvetlovsetmessages: + msg215284
2014年03月31日 23:08:53python-devsetmessages: + msg215282
2014年03月31日 22:45:50pitrousetmessages: + msg215280
2014年03月31日 22:45:03pitrousetstatus: closed -> open

messages: + msg215279
2014年03月31日 22:16:36asvetlovsetstatus: open -> closed
versions: + Python 3.5
messages: + msg215275

resolution: fixed
stage: needs patch -> resolved
2014年03月31日 21:45:23python-devsetmessages: + msg215274
2014年03月31日 21:42:11asvetlovsetmessages: + msg215273
2014年03月31日 21:41:22python-devsetnosy: + python-dev
messages: + msg215272
2014年03月30日 10:48:06priyapappachansetfiles: + exception.patch
keywords: + patch
2014年03月15日 15:41:40eric.araujosetnosy: + eric.araujo
2012年12月18日 21:00:11r.david.murraysetnosy: + r.david.murray
messages: + msg177713
2012年12月18日 20:55:28pitrousetmessages: + msg177712
2012年12月18日 20:51:27asvetlovsetmessages: + msg177711
2012年12月18日 20:14:10pitrousetnosy: + pitrou
messages: + msg177706
2012年12月18日 20:09:14asvetlovlinkissue16705 dependencies
2012年12月18日 20:07:22asvetlovcreate

AltStyle によって変換されたページ (->オリジナル) /