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 vstinner
Recipients vstinner
Date 2017-10-12.15:25:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507821904.61.0.213398074469.issue31775@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, currently it's not possible to create an unbuffered read-only TextIOWrapper object:

haypo@selma$ python3
Python 3.6.2 (default, Oct  2 2017, 16:51:32) 
>>> open("/etc/issue", "r", 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: can't have unbuffered text I/O
History
Date User Action Args
2017-10-12 15:25:04vstinnersetrecipients: + vstinner
2017-10-12 15:25:04vstinnersetmessageid: <1507821904.61.0.213398074469.issue31775@psf.upfronthosting.co.za>
2017-10-12 15:25:04vstinnerlinkissue31775 messages
2017-10-12 15:25:04vstinnercreate