[issue30593] sqlite3 executescript does not respect isolation_level?

2021-05-18 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +24837 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26220 ___ Python tracker ___

[issue30593] sqlite3 executescript does not respect isolation_level?

2021-05-18 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Mentioning this behaviour in the documentation should be sufficient. -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +berker.peksag, docs@python, erlendaasland versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7,

[issue30593] sqlite3 executescript does not respect isolation_level?

2017-06-13 Thread Aviv Palivoda
Changes by Aviv Palivoda : -- nosy: +palaviv ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[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 ___ ___ Python-bugs-list mailing

[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 commit itself expl

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30593] sqlite3 executescript does not respect isolation_level?

2017-06-09 Thread Jim Jewett
Jim Jewett added the comment: Do you have a test case that could be used to verify a patch? (Or even a full patch?) -- nosy: +Jim.Jewett stage: -> needs patch type: -> behavior ___ Python tracker

[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. -- components: Libr