Message135076
| Author |
Jimbofbx |
| Recipients |
Jimbofbx |
| Date |
2011年05月03日.21:27:09 |
| SpamBayes Score |
1.4305781e-06 |
| Marked as misclassified |
No |
| Message-id |
<1304458030.29.0.258748957891.issue11990@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In windows, 64-bit, python *mostly* writes only a \n to stdout even though it's mode is 'w'. However it sometimes writes a \r\n on certain print statements and erratically when I have multiple processes writing to stdout.
Output looks fine in console, in IDLE, and using v.3.1
Example with multiple processes writing to stdout out using the same code: print("TESTCODE"); (note that in windows, the naked \n is ignored):
TESTCODETESTCODE
TESTCODE
TESTCODE
TESTCODETESTCODETESTCODE
TESTCODE
Windows program that calls python and receives its piped output is a C# .NET program. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年05月03日 21:27:10 | Jimbofbx | set | recipients:
+ Jimbofbx |
| 2011年05月03日 21:27:10 | Jimbofbx | set | messageid: <1304458030.29.0.258748957891.issue11990@psf.upfronthosting.co.za> |
| 2011年05月03日 21:27:09 | Jimbofbx | link | issue11990 messages |
| 2011年05月03日 21:27:09 | Jimbofbx | create |
|