Message278797
Doing the following in Python 2.7.12 does not work:
from __future__ import print_function
print(1, flush=True)
It says: "'flush' is an invalid keyword argument for this function"
While the following is a perfectly valid python 3k statement:
print(1, flush=True) |
|
Date |
User |
Action |
Args |
2016-10-17 07:56:45 | Attila-Mihaly Balazs | set | recipients:
+ Attila-Mihaly Balazs |
2016-10-17 07:56:45 | Attila-Mihaly Balazs | set | messageid: <1476691005.05.0.512321507178.issue28458@psf.upfronthosting.co.za> |
2016-10-17 07:56:44 | Attila-Mihaly Balazs | link | issue28458 messages |
2016-10-17 07:56:44 | Attila-Mihaly Balazs | create | |
|