On Oct 24, 2008, at 3:24 PM, Benji York wrote: > Is there a good reason blobs don't support "b" or "t" in the mode > strings passed to "open"? I'm refactoring some code that expects a > file-like object to use blobs and it wants to pass "wb" as the mode > (which is a sane thing to do).
Blobs are implicitly binary. (Note the "B" in Blob.) > I'll add support for "b" and "t" to the blob code if no one objects. I object. BTW, this questions should have been asked o zodb-dev. Jim -- Jim Fulton Zope Corporation _______________________________________________ Zope-Dev maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
