Andy Dustman wrote: > What's the current view on the best object class to use for > Binary/BLOB objects? PEP-249 recommends buffer, but buffer > appears deprecated. MySQLdb used to strings, but currently > uses array. mxODBC appears to use strings. psycopg appears > to use buffer. > > Take a look at this for additional comments: > > https://sourceforge.net/tracker/index.php?func=detail > &aid=975831&group_id=22307&atid=374932 > > Anyone got any strong feelings about this?
Won't Python strings be encoded, and therefore often choke on values between 128 and 255? To my naive mind, unicode objects would be the preferred choice. Robert Brewer MIS Amor Ministries [EMAIL PROTECTED] _______________________________________________ DB-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/db-sig
