[issue30593] sqlite3 executescript does not respect isolation_level?

2017-06-12 Thread Noah Levitt
Changes by Noah Levitt : Added file: http://bugs.python.org/file46943/issue30593-test.diff ___ Python tracker <http://bugs.python.org/issue30593> ___ ___ Python-bug

[issue30593] sqlite3 executescript does not respect isolation_level?

2017-06-12 Thread Noah Levitt
Noah Levitt added the comment: And here's a fix. Unfortunately I think the change could break people's scripts. If they have isolation_level set (not None) and use executescript(), they will have to issue an explicit call to connection.commit(). executescript() could do the com

[issue30593] sqlite3 executescript does not respect isolation_level?

2017-06-12 Thread Noah Levitt
Noah Levitt added the comment: Here's a test case -- ___ Python tracker <http://bugs.python.org/issue30593> ___ ___ Python-bugs-list mailing list Unsubscr

[issue30593] sqlite3 executescript does not respect isolation_level?

2017-06-07 Thread Noah Levitt
New submission from Noah Levitt: As far as I can tell, sqlite3 executescript() does not respect isolation_level. Is that true? If so, I think it's worth mentioning in the doc. Or maybe it should respect isolation_level, not sure there's any particular reason not to. --