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 pwronisz
Recipients pwronisz, vinay.sajip, vstinner
Date 2013-10-15.18:46:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381862795.94.0.867493610974.issue19267@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-10-15 18:46:35pwroniszsetrecipients: + pwronisz, vinay.sajip, vstinner
2013-10-15 18:46:35pwroniszsetmessageid: <1381862795.94.0.867493610974.issue19267@psf.upfronthosting.co.za>
2013-10-15 18:46:35pwroniszlinkissue19267 messages
2013-10-15 18:46:35pwroniszcreate