Huzzah, another post.

I just discovered that even physically deleting the variable doesn't
work.

The module storylab.game has the class InitGame, which contains
"daemons = {}".

A user runs the code, resulting in some values in "daemons":
"{'berry2': , 'berry3': , 'berry1': }". These are pickled.

The next user runs the code. I put this in to make sure "daemons" is
getting reset:

        req.write(str(lab.game.settings.daemons))
        del lab.game.settings
        req.write(str(lab.game.settings.daemons))
        lab.game.settings = lab.game.InitGame()
        req.write(str(lab.game.settings.daemons))

Okay, that should wipe out any of the values and leave us with a clean
slate, right?

        {'berry2': , 'berry3': , 'berry1': }failed{'berry2': , 'berry3': ,
'berry1': }

Oh, you'd be so lucky.

Why? WHY? Why does these values persist? They persist if I change
them, they persist if I delete them.

Help... please :(
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to