runs very fine on ubuntu linux (feisty). Nice game.
On Thu, 2007-05-24 at 20:48 +1200, Greg Ewing wrote:
John Eriksson wrote:
After several weeks of coding I'm finally releasing my latest project
(at least the first release candidate), the space game Slingshot.
Hi,
Still getting SQL-error when trying to add a new releas for one of my
projects.
Best Regerdas
/John
lör 2007-05-26 klockan 15:29 -0700 skrev Phil Hassey:
The pygame.org website was recently moved to a new server and had some
troubles ... Sorry it took me a few days to get to fixing it - I
I've run into that sticky variables problem again:
code = {.:[],c:[crate]}
a = code[.]
b = code[.]
a ==b
True
a is b
True
One solution is:
import copy
a = copy.copy(code[.])
b = copy.copy(code[.])
a == b
True
a is b
False
But is there a better way to make it clear I want the value,
On 5/27/07, Kris Schnee [EMAIL PROTECTED] wrote:
I've run into that sticky variables problem again:
code = {.:[],c:[crate]}
a = code[.]
b = code[.]
a ==b
True
a is b
True
One solution is:
import copy
a = copy.copy(code[.])
b = copy.copy(code[.])
a == b
True
a is b
False
Kris Schnee wrote:
I've run into that sticky variables problem again:
code = {.:[],c:[crate]}
a = code[.]
b = code[.]
a ==b
True
a is b
True
One solution is:
import copy
a = copy.copy(code[.])
b = copy.copy(code[.])
a == b
True
a is b
False
But is there a better way
John,
Thanks for pointing that out :) I've got it fixed (I think) please tell me if
you have any trouble.
Thanks!
Phil
John Eriksson [EMAIL PROTECTED] wrote: Hi,
Still getting SQL-error when trying to add a new releas for one of my
projects.
Best Regerdas
/John
lör 2007-05-26 klockan 15:29
Kris Schnee wrote:
Attached is an example made this way that's still not
transparent.
It seems perfectly well transparent to me, judging by
the way it behaves in Intaglio. It must be something to
do with the way you're loading or displaying it. Perhaps
if you post some code?
--
Greg
Kris Schnee wrote:
But is there a better way to make it clear I want the value, not an
actual reference?
Not really. If you want a copy of something, you need
to write code to create a copy, one way or another.
If you know the data type of the thing you're copying,
there are a variety of
Ethan Glasser-Camp wrote:
I'm interested in the curious use case Kris posts -- checking for
object identity as part of a sea adventure? I can only imagine. :)
Well, it's obvious, really -- if you're being attacked
by a school of giant venomous sea serpents, and you can
determine that they're
Just to muddy the waters some more, on the topic of copying this might be of
interest to you.
http://www.suttoncourtenay.org.uk/duncan/accu/pythonpatterns.html#flyweight
On 5/28/07, Greg Ewing [EMAIL PROTECTED] wrote:
Ethan Glasser-Camp wrote:
I'm interested in the curious use case Kris
10 matches
Mail list logo