Show More
@@ -41,6 +41,7 b' class winstdout(object):' | |||||
41 | limit = 16000 |
|
41 | limit = 16000 | |
42 | l = len(s) |
|
42 | l = len(s) | |
43 | start = 0 |
|
43 | start = 0 | |
|
44 | self.softspace = 0; | |||
44 | while start < l: |
|
45 | while start < l: | |
45 | end = start + limit |
|
46 | end = start + limit | |
46 | self.fp.write(s[start:end]) |
|
47 | self.fp.write(s[start:end]) |
@@ -36,5 +36,5 b' print "fred.sub =", f(fred.sub)' | |||||
36 | print "fred =", f(fred) |
|
36 | print "fred =", f(fred) | |
37 |
|
37 | |||
38 | print "re =", f(re) |
|
38 | print "re =", f(re) | |
39 |
print "re.std |
|
39 | print "re.stderr =", f(re.stderr) | |
40 | print "re =", f(re) |
|
40 | print "re =", f(re) |
@@ -11,5 +11,5 b" fred = <unloaded module 're'>" | |||||
11 | fred.sub = <function sub at 0x?> |
|
11 | fred.sub = <function sub at 0x?> | |
12 | fred = <proxied module 're'> |
|
12 | fred = <proxied module 're'> | |
13 | re = <unloaded module 'sys'> |
|
13 | re = <unloaded module 'sys'> | |
14 |
re.std |
|
14 | re.stderr = <open file '<stderr>', mode 'w' at 0x?> | |
15 | re = <proxied module 'sys'> |
|
15 | re = <proxied module 'sys'> |
General Comments 0
You need to be logged in to leave comments.
Login now