etter understanding anyway, but I'd love to hear some details, or see any
links, if you have them.
On Fri, Feb 6, 2009 at 10:25 PM, Chris Rebert wrote:
> On Fri, Feb 6, 2009 at 7:18 PM, er wrote:
> > Somebody much more intelligent than I said today that someone told him
> that
>
Correction, the first sentence should read, "lists are just dictionaries
keyed with integers."
On Fri, Feb 6, 2009 at 10:18 PM, er wrote:
> Somebody much more intelligent than I said today that someone told him that
> Python lists are just dictionaries with lists hashed by int
Somebody much more intelligent than I said today that someone told him that
Python lists are just dictionaries with lists hashed by integers. Since he
said that someone else told him this, I piped up and said that I thought
that wasn't true. I looked at the source code for lists in python, and I
is is actually the solution provided by the
Lua scripting language. Thanks for the global_ module solution, I was just
making sure that was the canonical way.
On Tue, Feb 3, 2009 at 1:27 PM, wrote:
> Quoth MRAB :
> > er wrote:
> > > Simple question, I think: Is there a way to m
Simple question, I think: Is there a way to make a completely global
variable across a slew of modules? If not, what is the canonical way to
keep a global state? The purpose of this is to try to prevent circular
module imports, which just sort of seems nasty. Thank you!
--
http://mail.python.org