classification
Title: add py3k warnings to commands
Type: Stage:
Components: Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: dsm001, georg.brandl
Priority: normal Keywords: patch

Created on 2009-04-25 13:59 by dsm001, last changed 2009-04-25 15:11 by georg.brandl. This issue is now closed.

Files
File name Uploaded Description Edit
commands_py3k_warn.patch dsm001, 2009-04-25 13:59
Messages (2)
msg86508 - (view) Author: DSM (dsm001) Date: 2009-04-25 13:59
The commands module is absent in 3.0 but isn't py3k-warned in trunk. 
getstatus was deprecated and mkarg/mk2arg were py3k deprecated, but not
the module or getoutput and getstatusoutput, which now live in
subprocess in 3.x.

This patch adds a module-level py3k warning with subprocess
recommendation, removes the function-level py3k warnings, and adds
deprecation tag to commands.rst.

Made this a new issue rather than adding to 2775 (the PEP3108
implementation issue) because its nosy list is pretty long and this is
pretty minor..
msg86527 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-04-25 15:11
Thanks, committed in r71904.
History
Date User Action Args
2009-04-25 15:11:38georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg86527

resolution: accepted
2009-04-25 13:59:45dsm001create