gh-80254: Disallow recursive usage of cursors in `sqlite3` converters by erlend-aasland · Pull Request #29054 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
bpo-36073: Raise ProgrammingError on recursive usage of cursors in sq…
…lite converters
  • Loading branch information
sir-sigurd committed Apr 12, 2021
commit c79e7846554bd36f85572bbc0f23d47bf8f0ea6f
37 changes: 36 additions & 1 deletion Lib/sqlite3/test/regression.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Raise :exc:`~sqlite3.ProgrammingError` on recursive usage of cursors in
:mod:`sqlite3` converters. Patch by Sergey Fedoseev.
32 changes: 26 additions & 6 deletions Modules/_sqlite/cursor.c