Gerhard Häring <g...@ghaering.de> added the comment:

As far as I can see the docs for Python 3.x need to be adjusted. In particular 
http://docs.python.org/3.1/library/sqlite3.html#sqlite-and-python-types

buffer should then there probably be replaced by memoryview. As far as I can 
see, the Python 3 definition of the old "buffer" interface is "anything that I 
can apply memoryview to". At least that was my interpretation when doing the 
Python 3 port of the sqlite3 module.

Correct?

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7723>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to