Author pitrou
Recipients benjamin.peterson, loewis, nneonneo, pitrou, pmpp, skrah
Date 2010-02-05.13:55:41
SpamBayes Score 0.000246121
Marked as misclassified No
Message-id <1265378143.38.0.0579264942601.issue5677@psf.upfronthosting.co.za>
In-reply-to
Content
Oh and the following line shouldn't be needed:

data = b'xxx' if 'b' in mode else u'xxx'

Since old-style file objects always take bytestrings (it's harmless, though, because the unicode string will be implicitly converted).
History
Date User Action Args
2010-02-05 13:55:43pitrousetrecipients: + pitrou, loewis, nneonneo, benjamin.peterson, skrah, pmpp
2010-02-05 13:55:43pitrousetmessageid: <1265378143.38.0.0579264942601.issue5677@psf.upfronthosting.co.za>
2010-02-05 13:55:41pitroulinkissue5677 messages
2010-02-05 13:55:41pitroucreate