New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pysqlite: Evaluate removal of sqlite3_stmt_readonly #73511
Comments
I'm not sure where to request changes to pysqlite, so my apologies if this isn't the right place. To begin with: I'll either end up building a newer version of sqlite myself or just accepting that pysqlite won't be part of this python installation. However, I thought it might be useful to know that use of the function "sqlite3_stmt_readonly" is the only thing tying pysqlite to the current minimum requirement to use sqlite 3.7.4. The currently available 'supported' version of sqlite for RHEL6 is 3.6.x and there's likely others out there who (for whatever reason) are stuck on an older release of sqlite and moving to the latest & greatest OS isn't [currently] feasible. |
pysqlite is not part of Python stdlib so here is not the right place. :-( |
sqlite3 module in CPython 3.6.0 also uses sqlite3_stmt_readonly(). see 284676cf2ac8. [1] https://hg.python.org/cpython/file/3.6/Modules/_sqlite/cursor.c#l517 [2] https://hg.python.org/cpython/file/3.6/Modules/_sqlite/cursor.c#l612 |
Hi Ma Lin. If you find this is also a problem in sqlite3 module, feel free to open another issue against sqlite3. :-) |
RHEL6's life-cycle is around 10 years [1], it will be alive until 2020. Let's wait bpo-28518, IMO, that issue will decide whether we can get around sqlite3_stmt_readonly(). |
Python ships with RH6, and includes a working sqlite3 module. So if you are restricting yourself to software directly supported by RH6, you are fine. If you are installing python3.6 on your rh6 box, then you can also install a more up to date sqlite in order to get it to compile the sqlite3 module. So I don't see any actionable issue because of RH6 here, either for us or for pysqlite. The other issue is a different story, of course. |
Just remind, there is a chance to remove sqlite3_stmt_readonly(). :) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: