[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 using

[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 compatible. It adds

[issue9226] erroneous behavior when creating classes inside a closure

2010-07-11 Thread Chris Monsanto
New submission from Chris Monsanto ch...@monsan.to: 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

[issue9226] erroneous behavior when creating classes inside a closure

2010-07-11 Thread Chris Monsanto
Chris Monsanto ch...@monsan.to 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 rep...@bugs.python.org http://bugs.python.org/issue9226

[issue9226] erroneous behavior when creating classes inside a closure

2010-07-11 Thread Chris Monsanto
Changes by Chris Monsanto ch...@monsan.to: -- versions: +Python 2.6, Python 3.1 -3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9226