[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2020-09-06 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2020-09-05 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: A little bit too fast with my previous comment; just disregard that suggestion. Maybe we should just disable the sqlite3.enable_shared_cache() method if we are running on macOS, since it will only result in a misuse error anyway. --

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2020-09-05 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: >From the SQLite docs https://sqlite.org/c3ref/enable_shared_cache.html: "Note: This method is disabled on MacOS X 10.7 and iOS version 5.0 and will always return SQLITE_MISUSE. On those systems, shared cache mode should be enabled per-database conne

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2019-09-28 Thread Ned Deily
Change by Ned Deily : -- resolution: third party -> duplicate superseder: -> Got warning when compiling sqlite3 module on Mac OS X ___ Python tracker ___ _

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2017-06-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: See also . Apple basically disabled this function starting at macOS 10.7, that's why there's a warning. It is possible to suppress the warning, but I don't think its worth the trouble. BTW. The python documen

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2017-06-13 Thread Ned Deily
Ned Deily added the comment: That's another reason why the python.org macOS installer build and, to the best of my knowledge, most third-party distributors of Python on macOS use their own builds of sqlite3 rather than the Apple-supplied system one. I don't think there's anything new to be do

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2017-06-13 Thread STINNER Victor
New submission from STINNER Victor: Warning seen on the macOS Travis CI job: "warning: 'sqlite3_enable_shared_cache' is deprecated: first deprecated in OS X 10.7" https://travis-ci.org/python/cpython/jobs/242325662 clang -Wno-unused-result -Wsign-compare -g -O0 -Wall -Wstrict-prototypes -std