dvarrazzo/psycopg — pull request #14 by jerickso (2012-12-17 23:15:10+00:00)
Title: Changes for Python 3.3

Added your patch in your py33 branch, as well as my own changes based upon the following in the Python 3.3 buffer documentation:

On success, set view->obj to a new reference to exporter and return 0. Otherwise, raise PyExc_BufferError, set view->obj to NULL and return -1;