[issue30262] Don't expose sqlite3 Cache and Statement

Aviv Palivoda report at bugs.python.org
Mon May 8 13:21:38 EDT 2017


Aviv Palivoda added the comment:

I am not sure how to raise the deprecation waning in this case. We use both the Cache and Statement objects as part of the sqlite3 module internal flow. How can I only warn the user when he creates this classes directly and not when the sqlite3 module uses them?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30262>
_______________________________________


More information about the Python-bugs-list mailing list