[New-bugs-announce] [issue5841] add py3k warnings to commands

DSM report at bugs.python.org
Sat Apr 25 15:59:47 CEST 2009


New submission from DSM <dsm001 at users.sourceforge.net>:

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..

----------
components: Library (Lib)
files: commands_py3k_warn.patch
keywords: patch
messages: 86508
nosy: dsm001
severity: normal
status: open
title: add py3k warnings to commands
versions: Python 2.7
Added file: http://bugs.python.org/file13769/commands_py3k_warn.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5841>
_______________________________________


More information about the New-bugs-announce mailing list