[issue22695] open() declared deprecated in python 3 docs

2014-11-08 Thread Berker Peksag
Berker Peksag added the comment: Fixed. Thanks for the reviews. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue22695] open() declared deprecated in python 3 docs

2014-11-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9001298e3094 by Berker Peksag in branch '3.4': Issue #22695: Fix rendering of the deprecated-removed role in HTML. https://hg.python.org/cpython/rev/9001298e3094 New changeset ec81edc30221 by Berker Peksag in branch 'default': Issue #22695: Fix rend

[issue22695] open() declared deprecated in python 3 docs

2014-11-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: docs@python -> berker.peksag stage: patch review -> commit review ___ Python tracker ___ __

[issue22695] open() declared deprecated in python 3 docs

2014-11-03 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue22695] open() declared deprecated in python 3 docs

2014-11-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: On my superficial view the patch looks good. But I am not well known with Sphinx code. -- ___ Python tracker ___

[issue22695] open() declared deprecated in python 3 docs

2014-11-02 Thread Berker Peksag
Berker Peksag added the comment: Here is a new patch. Thanks for the review, Serhiy. -- Added file: http://bugs.python.org/file37105/issue22695_v2.diff ___ Python tracker ___ ___

[issue22695] open() declared deprecated in python 3 docs

2014-11-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: fixed -> stage: -> patch review status: closed -> open ___ Python tracker ___ ___ Pytho

[issue22695] open() declared deprecated in python 3 docs

2014-11-01 Thread Berker Peksag
Berker Peksag added the comment: Attached patch should fix the deprecated-removed directive. I've tested it with the following examples: .. deprecated-removed:: 3.4 4.0 The ``'U'`` mode. .. deprecated-removed:: 3.4 4.0 The ``'U'`` mode. .. deprecated-removed:: 3.4 4.0

[issue22695] open() declared deprecated in python 3 docs

2014-10-27 Thread Василий Макаров
Василий Макаров added the comment: I can confirm this issue is fixed for now. Closing ticket.. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue22695] open() declared deprecated in python 3 docs

2014-10-23 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22695] open() declared deprecated in python 3 docs

2014-10-22 Thread R. David Murray
R. David Murray added the comment: Presumably we can fix it. The code is in Docs/tools/pyspecific.py. Probably just need to figure out how it is different from the regular Sphinx deprecated tag implementation. -- nosy: +r.david.murray ___ Python t

[issue22695] open() declared deprecated in python 3 docs

2014-10-22 Thread STINNER Victor
STINNER Victor added the comment: "However the "deprecated" instruction works without following empty line. It looks as there is a bug in the implementation of the "deprecated-removed" instruction." Agreed, we can maybe enhance that. At least emit a warning? -- __

[issue22695] open() declared deprecated in python 3 docs

2014-10-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are other "deprecated-removed" instructions without following empty line in the docs. Should they be changed? However the "deprecated" instruction works without following empty line. It looks as there is a bug in the implementation of the "deprecated-r

[issue22695] open() declared deprecated in python 3 docs

2014-10-22 Thread STINNER Victor
STINNER Victor added the comment: > Reader may assume the open() function is what will be removed, which is wrong > AFAIK It looks like an issue with the reST syntax in the documentation. Wait until the doc is regenerated (in a few hours) and then check again the doc please, to confirm that t

[issue22695] open() declared deprecated in python 3 docs

2014-10-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset a2ecc284eaa7 by Victor Stinner in branch '3.4': Issue #22695: Fix syntax of open() doc https://hg.python.org/cpython/rev/a2ecc284eaa7 -- nosy: +python-dev ___ Python tracker

[issue22695] open() declared deprecated in python 3 docs

2014-10-22 Thread Василий Макаров
New submission from Василий Макаров: Python 3 open() documentation ( https://docs.python.org/3/library/functions.html#open ) is probably broken. Here is what one can see at the end of open() description: "... Deprecated since version 3.4, will be removed in version 4.0. The 'U' mode." Reader