model-writtenrun 2790 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- An anonymous documentation report #1 identified that the PL/Python iterator description and example should use __next__ instead of next.
- Erik Wienhold traced the issue to leftover Python 2 code and submitted two separate patches in #2: the documentation correction and a cleanup replacing Python-version compatibility fallbacks in SPI tests with next(res).
- Michael Paquier confirmed that the greet() example failed with PL/Python 3, cited PEP 3114, and said he would fix it in #3, the thread’s final message.
- Michael committed the documentation patch from #2 unchanged as 2ff7c913d9, with backpatching through PostgreSQL 15.
- Michael then committed the test patch from #2 as db80507d98, retaining and revising its PEP 3114 comment; both submitted patches therefore landed after the final reply.