Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Daniele Varrazzo's latest activity

Tuesday, March 19 2013
149 Add support for PG_DIAG_*_NAME error fields was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 12:15 AM

    Adding PQresult to the exception requires the Error exception to have a C structure (a PsycoErrorObject): I'm taking a look at doing it, using the Python System...

Monday, March 18 2013
149 Add support for PG_DIAG_*_NAME error fields was updated in psycopg 2 earlier changes…
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 2:26 AM

    I've reviewed the GC interaction and added documentation: this should complete the work.

    I've merged the branch into my devel to run the test with all the versi...

  • Daniele Varrazzo
    Daniele Varrazzo commented at 12:41 AM

    I've done much of the above:

    • all the attributes exposed and tested
    • test after COPY
    • test with Python 3 (decoded from conn encoding)
153 psycopg2's fix_b causing other module using build_py_2to3 to fail was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 2:26 AM

    Fixed in devel, to be released soon.

Sunday, March 17 2013
153 psycopg2's fix_b causing other module using build_py_2to3 to fail was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 11:04 PM

    What about this patch instead?

    Maybe subclassing build_py is not necessary but it doesn't hurt.

    diff --git a/setup.py b/setup.py
    index 3791c14..96cd237 100644
    ...