[issue7785] FileIO.write() accepts Unicode strings

2010-01-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Oops. Fixed in r77781. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue7785] FileIO.write() accepts Unicode strings

2010-01-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-bugs-lis

[issue7785] FileIO.write() accepts Unicode strings

2010-01-26 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue7785] FileIO.write() accepts Unicode strings

2010-01-26 Thread David Beazley
New submission from David Beazley : Is io.FileIO.write() supposed to accept and implicitly encode Unicode strings as illustrated by this simple example? >>> f = open("/dev/null","wb",buffering=0) >>> f.write("Hello World\n") 12 >>> Moreover, is the behavior of BufferedWriter objects supposed