[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2019-02-08 Thread Martin Panter
Martin Panter added the comment: I haven’t confirmed, but it looks like the original change here broke bidirectional reading and writing with a single TextIOWrapper object; see Issue 35928. -- ___ Python tracker

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-12-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-12-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset eab421bff954e4fb77516bfe6c98d30ced1412d0 by Serhiy Storchaka in branch '2.7': [2.7] bpo-25862: Fix several bugs in the _io module. (GH-8026) (GH-8033) https://github.com/python/cpython/commit/eab421bff954e4fb77516bfe6c98d30ced1412d0

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-30 Thread miss-islington
miss-islington added the comment: New changeset e5153d0d404d58e83d802199bea1a8dd0ea5178e by Miss Islington (bot) in branch '3.6': bpo-25862: Fix several bugs in the _io module. (GH-8026) https://github.com/python/cpython/commit/e5153d0d404d58e83d802199bea1a8dd0ea5178e --

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-30 Thread miss-islington
miss-islington added the comment: New changeset dedb28efd84314d899f795e821a3fc27d2f928e7 by Miss Islington (bot) in branch '3.7': bpo-25862: Fix several bugs in the _io module. (GH-8026) https://github.com/python/cpython/commit/dedb28efd84314d899f795e821a3fc27d2f928e7 --

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7642 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +7640 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +7639 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset fdb5a50ef34f7951c3b01eb77b1359725a9ad670 by Serhiy Storchaka in branch 'master': bpo-25862: Fix several bugs in the _io module. (GH-8026) https://github.com/python/cpython/commit/fdb5a50ef34f7951c3b01eb77b1359725a9ad670 --

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The assertion failure can be also caused by setting self->snapshot to NULL when Py_BuildValue() fails due to lack of memory. It is very difficult to reproduce this. PR 8026 fixes this and other difficulty reproducible refcount bugs in the _io module.

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7638 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0464de0f9a226cfa32b803e0326c12b2432aba26 by Serhiy Storchaka (Zackery Spytz) in branch '2.7': [2.7] bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918). (GH-8013)

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-29 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +7621 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d6a283b37b66ecd2d0ff43602ddc8e91b54a51c5 by Serhiy Storchaka (Zackery Spytz) in branch '3.6': [3.6] bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918). (GH-8012)

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-29 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +7619 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-29 Thread miss-islington
miss-islington added the comment: New changeset eabebbb54c2604fd8d08e8019ea1be634aed8c2f by Miss Islington (bot) in branch '3.7': bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918) https://github.com/python/cpython/commit/eabebbb54c2604fd8d08e8019ea1be634aed8c2f

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +7612 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 23db935bcf258657682e66464bf8512def8af830 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918)

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2018-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Similar case: text.read(1); text.write(b'x'); text.tell() And there may be crashes after setting self->snapshot to NULL due to the failure of Py_BuildValue(). -- ___ Python tracker

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2017-11-07 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.6, Python 3.7 -Python 3.5 ___ Python tracker ___

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2017-10-07 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +3891 stage: needs patch -> patch review ___ Python tracker ___

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2015-12-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka stage: -> needs patch ___ Python tracker ___

[issue25862] TextIOWrapper assertion failure after read() and SEEK_CUR

2015-12-14 Thread Martin Panter
New submission from Martin Panter: 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() ''