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