Vedran Čačić <ved...@gmail.com> added the comment:

You mean, something like

    while ((row = pysqlite_cursor_iternext(self))) {
            PyList_Append(list, row);
            Py_DECREF(row);
    }

? It's interesting that now we have walrus in Python, we see the opportunities 
for it in other languages. (In C, it's spelled (=).:)

----------
nosy: +veky

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39496>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to