Re: [pysqlite] Blob.read() return value
Austin Bingham <[email protected]> Mon, 15 Jun 2009 07:43:12 +0200
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 12, 2009 at 9:05 PM, Roger Binns<[email protected]> wrote: > I assume you are referring to APSW here. Yes, sorry...I didn't realize this list covered more than that. > Blob is supposed to be > following *exactly* what the builtin Python file type does. =A0In > particular only strings (Python 2) or bytes (Python 3) are returned for > data, and I need to double check what happens once end of blob/file is > reached (empty, none etc) A quick test on my end shows files returning an empty string if I attempt to read past the end. Thanks for the quick response to this. APSW is great, and I'm happy to see that it's healthy and maintained. Austin