[Twisted-Python] reactor.run() or application.save()+run?
Jp Calderone
exarkun at intarweb.us
Thu Feb 27 20:34:23 EST 2003
On Thu, Feb 27, 2003 at 11:59:55AM -0800, Brian Warner wrote:
>
> In short, app.save() is storing an object of class __main__.DynamicRequest,
> which cannot be loaded. You need to import that class from yourself to get a
> globally-correct name.
>
> It would be nice if we could detect this sort of thing at .save() time and
> emit a warning..
>
This might be cool (as well as detecting various Ephemeral instances), but
I suspect it would be prohibitively expensive to perform all the time.
Perhaps it could be done in debug mode, though.
Jp
--
up 19 days, 6:29, 7 users, load average: 0.45, 0.39, 0.29
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030227/f38282b0/attachment.pgp
More information about the Twisted-Python
mailing list