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 martin.panter
Recipients martin.panter
Date 2015-12-15.01:43:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450143790.74.0.198268951027.issue25862@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.5.1+ (3.5:014e6f7d7c1a, Dec 14 2015, 11:20:58) 
[GCC 5.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from io import *
>>> text = TextIOWrapper(BytesIO(b"x"), "ascii")
>>> text.read(1)
'x'
>>> text.read()
''
>>> text.seek(0, SEEK_CUR)
python: ./Modules/_io/textio.c:2293: _io_TextIOWrapper_tell_impl: Assertion `self->decoded_chars == ((void *)0) || PyUnicode_GetLength(self->decoded_chars) == 0' failed.
Aborted (core dumped)
[Exit 134]

May affect other versions; I haven’t looked.
History
Date User Action Args
2015-12-15 01:43:10martin.pantersetrecipients: + martin.panter
2015-12-15 01:43:10martin.pantersetmessageid: <1450143790.74.0.198268951027.issue25862@psf.upfronthosting.co.za>
2015-12-15 01:43:10martin.panterlinkissue25862 messages
2015-12-15 01:43:08martin.pantercreate