[issue40766] Add support for SQLITE_DIRECTONLY and SQLITE_INNOCUOUS for user-defined functions

2020-05-25 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +19661 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20398 ___ Python tracker _

[issue40766] Add support for SQLITE_DIRECTONLY and SQLITE_INNOCUOUS for user-defined functions

2020-05-25 Thread Erlend Egeberg Aasland
New submission from Erlend Egeberg Aasland : Add support for SQLITE_DIRECTONLY and SQLITE_INNOCUOUS in `sqlite3.create_function()` and `sqlite3.create_aggregate()`. >From the SQLite 3.31.0 changelog: - Provide the ability to tag application-defined SQL functions with new properties SQLITE_INN