Thread: python - be: Fix a bug with send method invocations on iterators.

python - be: Fix a bug with send method invocations on iterators.

From
jwp@pgfoundry.org (James William Pye)
Date:
Log Message:
-----------
Fix a bug with send method invocations on iterators.

The returned object was not being coerced through the call's output. This leads
to the attempt to get a type cache entry on an arbitrary python type. Of
course, only the Postgres types have the entries available, so this would
normally result in a pointer to an invalid memory address.

Modified Files:
--------------
    be/src:
        pl.c (r1.45 -> r1.46)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.45&r2=1.46)