Ma Lin added the comment:

sqlite3 module in CPython 3.6.0 also uses sqlite3_stmt_readonly(). see 
284676cf2ac8.
sqlite3_stmt_readonly() was used twice [1][2], but it seems that we can avoid 
using this function in both of them.

[1] https://hg.python.org/cpython/file/3.6/Modules/_sqlite/cursor.c#l517
In palaviv's patch of issue28518, we can eliminate sqlite3_stmt_readonly() in 
here.

[2] https://hg.python.org/cpython/file/3.6/Modules/_sqlite/cursor.c#l612
We can using the old way, so that we can get around it in here.

----------
nosy: +Ma Lin

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29325>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to