[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-04-17 Thread Chris Monsanto
Chris Monsanto added the comment: This issue has been open for 4 years, last update was 2 months ago. Lack of transactional DDL is a big deal for Python programs that use SQLite heavily. We have a patch for Python 3 that applies cleanly and as far as I can tell works fine. I've been usi

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-04-17 Thread Chris Monsanto
Chris Monsanto added the comment: > Unfortunately, I don't have backwards-compatible proposal to fix this. Trying > to account for a bit more syntax will help in the short term but not fix the > underlying issue. aaugustin -- the patch by torsen made 3 years ago is backwards

[issue9226] erroneous behavior when creating classes inside a closure

2010-07-11 Thread Chris Monsanto
New submission from Chris Monsanto : I have a function whose closure contains a local variable that shadows a global variable (lets call it x). If I create a class as follows: class Test(object): x = x Test.x will contain the value of the global x, not the local x. This ONLY happens when

[issue9226] erroneous behavior when creating classes inside a closure

2010-07-11 Thread Chris Monsanto
Chris Monsanto added the comment: A friend confirmed that this was the case on 3.1.2 as well. -- versions: +3rd party -Python 2.6 ___ Python tracker <http://bugs.python.org/issue9

[issue9226] erroneous behavior when creating classes inside a closure

2010-07-11 Thread Chris Monsanto
Changes by Chris Monsanto : -- versions: +Python 2.6, Python 3.1 -3rd party ___ Python tracker <http://bugs.python.org/issue9226> ___ ___ Python-bugs-list mailin