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 serhiy.storchaka
Recipients abacabadabacaba, benjamin.peterson, eli.bendersky, pitrou, rhettinger, scoder, serhiy.storchaka, stutzbach
Date 2015-11-07.12:50:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There is also a crash with Python implementation of TextIOWrapper.

>>> import _pyio as io
>>> t = io.TextIOWrapper(io.BytesIO())
>>> t.mode = t
>>> t
Fatal Python error: Cannot recover from stack overflow.

Current thread 0xb74a9700 (most recent call first):
  File "/home/serhiy/py/cpython/Lib/", line 1982 in __repr__
  File "/home/serhiy/py/cpython/Lib/", line 1992 in __repr__
  File "/home/serhiy/py/cpython/Lib/", line 1992 in __repr__
  File "/home/serhiy/py/cpython/Lib/", line 1992 in __repr__
Aborted (core dumped)
Date User Action Args
2015-11-07 12:50:58serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, scoder, benjamin.peterson, stutzbach, eli.bendersky, abacabadabacaba
2015-11-07 12:50:58serhiy.storchakasetmessageid: <>
2015-11-07 12:50:58serhiy.storchakalinkissue25455 messages
2015-11-07 12:50:57serhiy.storchakacreate