Re: Problem with Axiom?
Jean-Paul Calderone <[email protected]> Sun, 27 Aug 2006 17:50:58 -0400
| Newsgroups | gmane.comp.python.quotient.dev |
|---|---|
| Message-ID | <20060827215058.1717.169165522.divmod.quotient.32637@ohm> |
On Sun, 27 Aug 2006 16:51:28 -0400, "Chaz." <[email protected]> wrote: >I am having a strange problem and I am not sure of exactly where the problem >lies. It could be my python code, it could be axiom, I just don't know. > Keeping a global Store like this is complex and error prone. You should instantiate a Store in a function, probably your main function, and then pass it as an argument to the other parts of your program. The particular problem you are running into with the example code you included is that bar is being imported by Store initialization, which causes it to import globaldb before globaldb is set to anything. Jean-Paul