dvarrazzo/psycopg — pull request #13 by jerickso (2012-12-17 23:04:32+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 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;