New submission from Tim Peters: This showed up on StackOverflow:
http://stackoverflow.com/questions/19749757/print-is-blocking-forever-when-printing-unicode-subclass-instance-from-idle They were using 32-bit Python 2.7.5 on Windows 7; I reproduced using the same Python on Windows Vista. To reproduce, open IDLE, and enter >>> class Foo(unicode): pass >>> foo = Foo('bar') >>> print foo IDLE hangs then, and Ctrl+C is ignored. Stranger, these variants do *not* hang: >>> foo >>> print str(foo) >>> print repr(foo) Those all work as expected. Cute :-) And none of these hang in a DOS-box session. ---------- components: IDLE messages: 201991 nosy: tim.peters priority: normal severity: normal status: open title: IDLE hangs while printing instance of Unicode subclass versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19481> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com