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 <>
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.
Date User Action Args
2010-01-19 13:09:55pitrousetrecipients: + pitrou, lemburg, ghaering, flox
2010-01-19 13:09:55pitrousetmessageid: <>
2010-01-19 13:09:52pitroulinkissue7723 messages
2010-01-19 13:09:51pitroucreate