24 Oct
2008
24 Oct
'08
7:28 p.m.
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