[ python-Bugs-1045748 ] test_subprocess vs Windows

SourceForge.net noreply at sourceforge.net
Wed Oct 13 00:37:59 CEST 2004


Bugs item #1045748, was opened at 2004-10-12 17:58
Message generated for change (Comment added) made by tim_one
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1045748&group_id=5470

Category: Windows
Group: Python 2.4
Status: Open
Resolution: None
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: Fredrik Lundh (effbot)
Summary: test_subprocess vs Windows

Initial Comment:
Some glitches.

This takes about a minute and 20 seconds to run on a 
3.2 GHz WinXP Pro SP2 box w/ a gigabyte of RAM.  
That's waaaaay slow.  Don't know whether it's a bug or 
a feature.  If it's a feature, changes to regrtest should 
be made so this only runs when a new "resource" is 
specified.

At one point, it prints "banana" to the DOS box running 
the tests.  Extraneous output shouldn't happen.  Again 
don't know whether this is intended, but it's a bug either 
way.

Would be better if it didn't pop up a visible DOS box 
while it's running.

As Barry noted, the test fails in a debug build.

----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2004-10-12 18:37

Message:
Logged In: YES 
user_id=31435

More info:

The test popping up a DOS box is test_creationflags().  
Maybe that's what it's supposed to do.

By far the biggest time hog is test_no_leaking(), which 
creates >= 1026 processes.  That's very expensive under any 
flavor of Windows.  Since it doesn't actually appear to test 
for leaks, maybe it could be cut to one iteration with no real 
loss of functionality <wink>.

test_stdout_none() is the one that prints "banana" to the 
screen.  Don't know whether it should.  If so, changing its 
output to, e.g., "This line is expected extraneous output." 
would be better.

That's it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1045748&group_id=5470


More information about the Python-bugs-list mailing list