PL/Python result set slicing broken in Python 3 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject PL/Python result set slicing broken in Python 3
Date
Msg-id 1335982703.29903.9.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: PL/Python result set slicing broken in Python 3
List pgsql-hackers
This doesn't work anymore with Python 3:

rv = plpy.execute(...)
do_something(rv[0:1])

Apparently, they changed the C API for doing slicing, or rather made one
of the two APIs for it silently do nothing.  Details are difficult to
find, but this email message seems to contain something:
<http://mail.python.org/pipermail/python-3000/2007-August/009851.html>.

I'll try to sort this out sometime, but if someone wants to take a shot
at it, go ahead.



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Beta time?
Next
From: Merlin Moncure
Date:
Subject: Re: How hard would it be to support LIKE in return declaration of generic record function calls ?