Module caching

Aaron Scott aaron.hildebrandt at gmail.com
Sat Apr 4 00:50:49 CEST 2009


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

Sorry, that should have been:

	req.write(str(lab.game.game.daemons))
	del lab.game.game
	try: req.write(str(lab.game.game.daemons))
	except: req.write("failed")
	lab.game.game = lab.game.InitGame()
	req.write(str(lab.game.game.daemons))



More information about the Python-list mailing list