]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #21718: cursor.description is now available for queries using CTEs
authorBerker Peksag <berker.peksag@gmail.com>
Sun, 21 Aug 2016 16:38:47 +0000 (19:38 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sun, 21 Aug 2016 16:38:47 +0000 (19:38 +0300)
commit6afe85827c209b9d1e76a65ffdb7420b5f46ad3d
tree22bc20a3337f66da96a7b90009c3b82fd5b9499a
parent8682f578c1c8fd0486c886b001729907a5409a9f
Issue #21718: cursor.description is now available for queries using CTEs

According to PEP 249, cursor.description must be
available for any SELECT statements, such as those
that use CTEs.

Backported from https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c

Additional test cases added by me.
Lib/sqlite3/test/types.py
Misc/NEWS
Modules/_sqlite/cursor.c