[DB-SIG] Should Binary accept unicode string?

INADA Naoki songofacandy at gmail.com
Tue Jan 12 07:59:08 EST 2016


Hi, all.

I found DB-API 2.0 defines Binary() as Binary(string).
https://www.python.org/dev/peps/pep-0249/#binary

What the string means?
On Python 2, should Binary accept unicode?
On Python 3, should Binary accept str?

-- 
INADA Naoki  <songofacandy at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/db-sig/attachments/20160112/830934f6/attachment.html>


More information about the DB-SIG mailing list