This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients flox, ghaering, lemburg, pitrou
Date 2010-01-19.13:09:51
SpamBayes Score 6.465447e-06
Marked as misclassified No
Message-id <1263906595.83.0.607210271058.issue7723@psf.upfronthosting.co.za>
In-reply-to
Content
Hello Gerhard,

> As far as I can see, the Python 3 definition of the old "buffer"
> interface is "anything that I can apply memoryview to".

Roughly, yes.

> When returning BLOBs, the sqlite3 module now returns bytes objects. I
> think this could be changed to memoryview without causing any problems.

No, returning bytes objects is the right thing to do under py3k. This "bug" report is only about 2.x, where "bytes" is the same as "str" and therefore doesn't allow to distinguish text from binary data.
History
Date User Action Args
2010-01-19 13:09:55pitrousetrecipients: + pitrou, lemburg, ghaering, flox
2010-01-19 13:09:55pitrousetmessageid: <1263906595.83.0.607210271058.issue7723@psf.upfronthosting.co.za>
2010-01-19 13:09:52pitroulinkissue7723 messages
2010-01-19 13:09:51pitroucreate