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, November 09 2010
7 sefault on mogrify with a Decimal was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 12:30 AM

    Nate,

    I've found the cause of the crash: the Decimal adapter incorrectly assumed the existence of the is_finite() method: it was actually introduced somewhere a...

Monday, November 08 2010
8 Errore in Select.select was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 5:32 PM

    Hi Marco,

    there was a change in the async interface in psycopg2 2.2: the object you should put in the select is the connection, not the cursor.

    We know this bro...

Saturday, November 06 2010
3 Support notifications payload was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 6:37 PM

    Hi,

    the example in the notify section is actually misleading. pid and channel are only accessed as [0] and [1] for backward compatibility. Take a look at the N...

  • Daniele Varrazzo
    Daniele Varrazzo commented at 4:30 PM

    We have just released 2.3.0-beta1: the version includes this feature.

  • Daniele Varrazzo
    Daniele Varrazzo commented at 12:57 AM

    Uhm, gitweb doesn't parse the %3B back into semicolons :\ Try http://tinyurl.com/35nckh5

    The branch has been rebased into my python2 branch that you can access ...

4 Add namedtuple connection/cursor was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    • Milestone set to release-2.3.0
    • Milestone order changed from 1 to 0
    by Daniele Varrazzo at 2:01 PM

    Namedtuple cursor added to psycopg2.extras.

6 _PQBackendPID error on Mac OS X SL was updated in psycopg
7 sefault on mogrify with a Decimal was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    • Milestone set to release-2.3.0
    • Milestone order changed from 4 to 0
    by Daniele Varrazzo at 1:05 AM

    Thank you for the report. I had already refactored mogrify to use more code in common with execute (mostly to support unicode queries) and as a result this bug ...

Tuesday, November 02 2010
5 Adaptation doesn't respect Liskov invariance was created in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo created the ticket at 12:12 AM

    An object can't be adapted even if one of its superclasses can: this breaks the Liskov invariance as the subclass is expected to behave like the superclass. In ...