[issue31525] switch to sqlite3_prepare_v2

2017-09-19 Thread Berker Peksag
Berker Peksag added the comment: We already use sqlite3_prepare_v2 if it's available: https://github.com/python/cpython/blob/master/Modules/_sqlite/util.h#L43 Do you want to use sqlite3_prepare_v2() unconditionally and drop support for older SQLite versions? -- nosy: +berker.peksag _

[issue31525] switch to sqlite3_prepare_v2

2017-09-19 Thread Benjamin Peterson
New submission from Benjamin Peterson: sqlite has had the sqlite3_prepare_v2 API for more than 10 years now. The sqlite module should switch to using it, which will let us delete some code for automatically recompiling statements. -- components: Extension Modules messages: 302581 nosy: