This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Attila-Mihaly Balazs
Recipients Attila-Mihaly Balazs
Date 2016-10-17.07:56:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476691005.05.0.512321507178.issue28458@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2016-10-17 07:56:45Attila-Mihaly Balazssetrecipients: + Attila-Mihaly Balazs
2016-10-17 07:56:45Attila-Mihaly Balazssetmessageid: <1476691005.05.0.512321507178.issue28458@psf.upfronthosting.co.za>
2016-10-17 07:56:44Attila-Mihaly Balazslinkissue28458 messages
2016-10-17 07:56:44Attila-Mihaly Balazscreate