Paweł Wroniszewski added the comment:

Hi Victor. Your fix works, but actually using simply ufs='%s\n' also seem to 
work, as 
type( '%s' % u'foo')
and 
type( u'%s' % u'foo')
returns the same - unicode. 

So I would suggest dropping ufs completely, and changing the two occurences to 
fs. It works - I checked. Maybe some code refactoring could be done then, as 
I'm not sure if the two nested 'try' statements are needed in such case.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19267>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to