Benjamin Peterson benja...@python.org added the comment:
Fixed in r73776.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4618
Changes by Antoine Pitrou pit...@free.fr:
--
priority: - high
stage: - needs patch
type: - behavior
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4618
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4618
___
___
Python-bugs-list
Changes by John Szakmeister j...@szakmeister.net:
--
nosy: +jszakmeister
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4618
___
___
New submission from Jean-Paul Calderone [EMAIL PROTECTED]:
Consider:
[EMAIL PROTECTED]:~$ ~/Projects/python/branches/release26-maint/python
Python 2.6+ (trunk:66997, Oct 23 2008, 16:02:09)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type help, copyright, credits or license for more
STINNER Victor [EMAIL PROTECTED] added the comment:
The TypeError(can't write str to text stream) comes from the newline
written by builtin_print().
Workaround: print(ufoo, end=u\n, file=StringIO()).
--
nosy: +haypo
___
Python tracker [EMAIL