[issue15204] Deprecate the 'U' open mode

2014-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please open new issue for this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue15204] Deprecate the 'U' open mode

2014-10-16 Thread Василий Макаров
Василий Макаров added the comment: open() documentation is probably broken a little now. 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 may assume open() function is what will be removed. Which

[issue15204] Deprecate the 'U' open mode

2014-03-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2d5544afb510 by R David Murray in branch 'default': whatsnew: 'U' mode deprecation (#15204). http://hg.python.org/cpython/rev/2d5544afb510 -- ___ Python tracker __

[issue15204] Deprecate the 'U' open mode

2013-11-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue15204] Deprecate the 'U' open mode

2013-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 694e2708b4a8 by Serhiy Storchaka in branch 'default': Issue #15204: Silence and check the 'U' mode deprecation warnings in tests. http://hg.python.org/cpython/rev/694e2708b4a8 -- ___ Python tracker

[issue15204] Deprecate the 'U' open mode

2013-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Victor and Ezio for the reviews. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue15204] Deprecate the 'U' open mode

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70bd6f7e013b by Serhiy Storchaka in branch 'default': Issue #15204: Deprecated the 'U' mode in file-like objects. http://hg.python.org/cpython/rev/70bd6f7e013b -- nosy: +python-dev ___ Python tracker

[issue15204] Deprecate the 'U' open mode

2013-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Ezio's comments. -- Added file: http://bugs.python.org/file32809/deprecate-U-mode_3.patch ___ Python tracker ___ _

[issue15204] Deprecate the 'U' open mode

2013-11-20 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue15204] Deprecate the 'U' open mode

2013-11-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file27345/deprecate-U-mode-stage1_2.patch ___ Python tracker ___ ___ Python

[issue15204] Deprecate the 'U' open mode

2013-11-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file26198/deprecate-U-mode-stage2.patch ___ Python tracker ___ ___ Python-b

[issue15204] Deprecate the 'U' open mode

2013-11-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Victor's comments. -- Added file: http://bugs.python.org/file32708/deprecate-U-mode_2.patch ___ Python tracker ___ ___

[issue15204] Deprecate the 'U' open mode

2013-11-19 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum, jackjansen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15204] Deprecate the 'U' open mode

2013-11-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could anyone please review the patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15204] Deprecate the 'U' open mode

2013-08-22 Thread Vajrasky Kok
Vajrasky Kok added the comment: http://bugs.python.org/review/15204/diff/9032/Tools/iobench/iobench.py Line 10 in New: import io But io module is never used. -- nosy: +vajrasky ___ Python tracker

[issue15204] Deprecate the 'U' open mode

2013-08-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is an updated patch. I think we can combine 1 and 2 stages (change the documentation and add warnings). -- Added file: http://bugs.python.org/file31416/deprecate-U-mode.patch ___ Python tracker

[issue15204] Deprecate the 'U' open mode

2013-01-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Would the deprecation need to be moved up to 3.4 though now? Yes, I think so. -- versions: -Python 3.3 ___ Python tracker ___ __

[issue15204] Deprecate the 'U' open mode

2013-01-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> patch review versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue15204] Deprecate the 'U' open mode

2012-09-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Serhiy. :) Sure, I should be able to help with the documentation portion of this issue if the community is in agreement. Would the deprecation need to be moved up to 3.4 though now? -- ___ Python tracker

[issue15204] Deprecate the 'U' open mode

2012-09-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file26197/deprecate-U-mode-stage1.patch ___ Python tracker ___ ___ Python-b

[issue15204] Deprecate the 'U' open mode

2012-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Chris, you did a great job on improving the documentation (including about universal newlines). Can you help with this issue? For the first stage should be clearly shown that "U" mode is not only should not be used in new code, but must be removed from the o

[issue15204] Deprecate the 'U' open mode

2012-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Ideally, this proposed deprecation should be mentioned on python-dev so that > those folks will have an opportunity to respond. http://comments.gmane.org/gmane.comp.python.devel/134996 -- ___ Python tracker

[issue15204] Deprecate the 'U' open mode

2012-08-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: The only people affected by deprecating "U" are the people who are currently using it for some reason -- presumably they are expecting that it does something useful for their code. Ideally, this proposed deprecation should be mentioned on python-dev so that

[issue15204] Deprecate the 'U' open mode

2012-08-14 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue15204] Deprecate the 'U' open mode

2012-08-03 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue15204] Deprecate the 'U' open mode

2012-06-28 Thread Nadeem Vawda
Nadeem Vawda added the comment: +1 for the general idea of deprecating and eventually removing the "U" modes. But I agree with David, that it doesn't make sense to have separate steps for 3.5 and 3.6/4.0. If you make the code raise an exception when "U" is used, how is that different from what

[issue15204] Deprecate the 'U' open mode

2012-06-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file26198/deprecate-U-mode-stage2.patch ___ Python tracker ___ ___ Python-bug

[issue15204] Deprecate the 'U' open mode

2012-06-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +patch Added file: http://bugs.python.org/file26197/deprecate-U-mode-stage1.patch ___ Python tracker ___ __

[issue15204] Deprecate the 'U' open mode

2012-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Unless there are places where it is actually broken, I don't think there is a > good reason to have step 3.5, though. Just add the deprecation warning and > remove it in 4.0. Well. In any case, the 'U' mode in most cases has no effect, and the code, wher

[issue15204] Deprecate the 'U' open mode

2012-06-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15204] Deprecate the 'U' open mode

2012-06-27 Thread R. David Murray
R. David Murray added the comment: Unless there are places where it is actually broken, I don't think there is a good reason to have step 3.5, though. Just add the deprecation warning and remove it in 4.0. -- nosy: +r.david.murray ___ Python track

[issue15204] Deprecate the 'U' open mode

2012-06-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Starting to deprecate "U" in the 3.3 docs sounds reasonable to me. -- nosy: +georg.brandl, nadeem.vawda ___ Python tracker ___

[issue15204] Deprecate the 'U' open mode

2012-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Related issues: #2091, #5148, #6759, #12900. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue15204] Deprecate the 'U' open mode

2012-06-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +gvanrossum, jackjansen, pitrou, stutzbach ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15204] Deprecate the 'U' open mode

2012-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Since Python 2.3 many open functions supports "Universal line mode" (PEP 278). Since 3.0 (and 2.6) PEP 3116 suggests better alternative -- io.TextWrapper. Now support for the 'U' mode in the different open functions is heterogeneous. Some functions simply