Patches item #1707753, was opened at 2007-04-25 18:13 Message generated for change (Comment added) made by dandel1984 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1707753&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library (Lib) Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ken Phillis Jr. (dandel1984) Assigned to: Nobody/Anonymous (nobody) Summary: get status output fix for Win32 Initial Comment: the two command output retrieval functions for python are broken on win32, and this patch fixes this, although it is possible that this fix will also work on dos, and os/2, but i am not sure about this... I've already tested it against python 2.5, 2.4 and 2.3, on windows xp and server 2k3. ---------------------------------------------------------------------- >Comment By: Ken Phillis Jr. (dandel1984) Date: 2007-04-26 20:14 Message: Logged In: YES user_id=956063 Originator: YES there is still a reason to do this, except for it'll haft to be integrated into the new module, because of how windows/dos handle the command line input, and most people will try working it as is, which is just simply put in a windows/dos command and expect it to work like it does in unix based systems, at which this does the job really well... a sample of that would be to call it like so: commands.get_output("echo Testing") as for tests I'll get that generated fast, so expect something to be posted in a few days. ---------------------------------------------------------------------- Comment By: Jason Orendorff (jorend) Date: 2007-04-26 09:27 Message: Logged In: YES user_id=18139 Originator: NO Ken, thanks for the patch! To be considered for Python 2.6, this patch would have to update documentation (Doc/lib) and tests (Lib/test) as well. But more importantly: This entire module is likely to be deprecated in Python 2.6, in favor of the subprocess module (which will gain new functions, subprocess.get_output() and subprocess.get_status_output().) There was a long discussion about it on python-dev: (start of a long thread) http://mail.python.org/pipermail/python-dev/2007-March/071929.html (even more) http://mail.python.org/pipermail/python-dev/2007-March/072046.html If that happens, there's no particular reason to do this, right? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1707753&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches