STINNER Victor added the comment:
@skrah: ping!
@piro: can't you modify psycopg2 to add conditional code depending on the
Python version? IMO the behaviour change is wanted.
http://www.python.org/dev/peps/pep-3118/
--
nosy: +haypo
___
Python
Stefan Krah added the comment:
I've corresponded privately with Daniele Varrazzo about the psycopg2
issue already and then forgot about this (the psycopg2 fix is good).
Yes, the change was intentional. There's one open issue (#15944)
where dabeaz isn't happy about the change, so let's make that
New submission from Daniele Varrazzo:
Definitely related to this change in Python 3.3:
Accessing a memoryview element with format ‘B’ (unsigned bytes) now
returns an integer (in accordance with the struct module syntax).
For returning a bytes object the view must be cast to ‘c’
Changes by Antoine Pitrou pit...@free.fr:
--
keywords: +3.3regression
nosy: +skrah
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16204
___