Message256430
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. |
|
Date |
User |
Action |
Args |
2015-12-15 01:43:10 | martin.panter | set | recipients:
+ martin.panter |
2015-12-15 01:43:10 | martin.panter | set | messageid: <1450143790.74.0.198268951027.issue25862@psf.upfronthosting.co.za> |
2015-12-15 01:43:10 | martin.panter | link | issue25862 messages |
2015-12-15 01:43:08 | martin.panter | create | |
|