[issue4662] posix module lacks several DeprecationWarning's

2011-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed in r87643, thank you. -- nosy: +pitrou resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue4662] posix module lacks several DeprecationWarning's

2011-01-02 Thread Sandro Tosi
Sandro Tosi added the comment: I've refreshed the patch to only add DeprecationWarning for tempnam, tmpnam and tmpfile. -- stage: -> patch review Added file: http://bugs.python.org/file20218/issue4662-rel2.7.patch ___ Python tracker

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Some of these warnings are incorrect, too; os.popen() and fdopen() remain in Python 3. -- ___ Python tracker ___ ___

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think the policy is that it is ok to add more 3k warnings to 2.7; these are not considered new features (or explicitly exempted, or some such). -- ___ Python tracker __

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Sandro Tosi
Changes by Sandro Tosi : -- versions: +Python 2.7 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Sandro Tosi
Changes by Sandro Tosi : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Sandro Tosi
Sandro Tosi added the comment: The patch no longer applies cleanly to 2.7 head (but it should be trivial to update it). Martin, Benjamin: as this targets 2.7, do you think the patch is acceptable in that branch or it's too late? -- nosy: +sandro.tosi

[issue4662] posix module lacks several DeprecationWarning's

2010-04-10 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- components: +2to3 (2.x to 3.0 conversion tool) ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4662] posix module lacks several DeprecationWarning's

2008-12-14 Thread Andrii V. Mishkovskyi
Andrii V. Mishkovskyi added the comment: I've missed one simple thing -- posix.getcwdu has been renamed to posix.getcwd in 3.0, so adding Py3k deprecation warning to this function is not really needed. Instead a fix for this should be added to the list of 2to3 fixes. I've also fixed the warnings

[issue4662] posix module lacks several DeprecationWarning's

2008-12-14 Thread Andrii V. Mishkovskyi
Changes by Andrii V. Mishkovskyi : Removed file: http://bugs.python.org/file12354/posixmodule.patch ___ Python tracker ___ ___ Python-bugs-list

[issue4662] posix module lacks several DeprecationWarning's

2008-12-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: Well, it's trivial to use PyErr_WarnPy3k in place of PyErr_Warn. -- nosy: +benjamin.peterson ___ Python tracker ___ _

[issue4662] posix module lacks several DeprecationWarning's

2008-12-14 Thread Martin v. Löwis
Martin v. Löwis added the comment: I don't think a DeprecationWarning is appropriate. Instead, there could be a -3 warning. -- nosy: +loewis ___ Python tracker ___ __

[issue4662] posix module lacks several DeprecationWarning's

2008-12-14 Thread Andrii V. Mishkovskyi
New submission from Andrii V. Mishkovskyi : posix module lacks DeprecationWarning for the functions listed below: tempnam, tmpfile, fdopen, getcwdu, popen, tmpnam All of these are absent in 3.0, so I think adding DeprecationWarning to all of them would be useful. Attaching a straight-forward patc