On ons, 2009-11-04 at 09:44 -0500, Robert Haas wrote:
> On Wed, Nov 4, 2009 at 9:02 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> > Here is a patch to support arrays in PL/Python as parameters and return
> > values. It converts an array parameter to a Python "list", and converts
> > a Python "sequence" return value back to an array.
>
> This is probably a stupid question, but why would you use different
> types for incoming and outgoing data flow?
A list is one particular kind of sequence.
See also
http://docs.python.org/reference/datamodel.html#the-standard-type-hierarchy