Module execution hangs when 4095 or more chars are output
Status: Beta
                
                Brought to you by:
                
                    riaan
                    
                
            I have a simple program that parses a file and outputs 
the parsed text with print to default out.
When the output exceeds a certain limit no output is 
visible in the output tab and the executed program 
appears to hang. 
When the program is subsequently killed the text output 
becomes visible.
The upper limit is 4094. Beyond this, the program hangs.
The effect can be easily observed with this demo:
if __name__=="__main__":
print "x"*4095
will 'hang'. Changing 4095 to 4094 will work.
Logged In: YES
user_id=438
Yes, this is a painful new issue introduced when I switched
over from using popen3 to wxProcess.
The strangest thing is that I have a working example in
ProcessProgressDlg.py, but I just cannot get it to work
properly when running from the IDE :(
I will keep at this until it's fixed, more feedback hopefully soon.
Riaan.
Logged In: YES
user_id=438
Thanks, the fix has been checked into CVS.
Logged In: YES
user_id=438
Fixed in CVS.