Message305726
noticed on windows10, 3.6.3-64 and 3.7.0a2-64:
using this test.py file:
#!/usr/bin/env python3
print('hello\n', end='', flush=True)
and running it in unbuffered mode:
C:\Dev>py -u test.py
hello
Traceback (most recent call last):
File "test.py", line 2, in <module>
print('hello\n', end='', flush=True)
OSError: [WinError 87] The parameter is incorrect
Note that (still using py -u):
print('hello', end='', flush=True) # works fine
print('', end='', flush=True) # raises OSError as well |
|
Date |
User |
Action |
Args |
2017-11-07 09:40:05 | Guillaume Aldebert | set | recipients:
+ Guillaume Aldebert, paul.moore, tim.golden, zach.ware, steve.dower |
2017-11-07 09:40:05 | Guillaume Aldebert | set | messageid: <1510047605.77.0.213398074469.issue31966@psf.upfronthosting.co.za> |
2017-11-07 09:40:05 | Guillaume Aldebert | link | issue31966 messages |
2017-11-07 09:40:05 | Guillaume Aldebert | create | |
|