Message98051
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:55 | pitrou | set | recipients:
+ pitrou, lemburg, ghaering, flox |
2010-01-19 13:09:55 | pitrou | set | messageid: <1263906595.83.0.607210271058.issue7723@psf.upfronthosting.co.za> |
2010-01-19 13:09:52 | pitrou | link | issue7723 messages |
2010-01-19 13:09:51 | pitrou | create | |
|