Thoughts

8 views
Skip to first unread message

Richard Tew

unread,
Mar 8, 2007, 11:20:57 AM3/8/07
to py-liv...@googlegroups.com
Hi,

As you might have read, Guido has written similar but more
comprehensive updating code and checked it into the p3yk branch. You
can find it here:
http://svn.python.org/view/python/branches/p3yk/Lib/xreload.py?view=markup

Another interesting piece of code is by Per Vognsen (psykotic) which
locates instances and replaces references. This is something I have
already experimented with in my day to day work on EVE Online and
ruled out adding to the library this list is for. The reason I ruled
it out is because in practice it just results in extreme lag while
instances are ferreted out. It takes less time to kill and restart
all the servers and clients than to sit there with one or all of them
being non-responsive for a minute or so. You can find Per's code
here:
http://programming.reddit.com/info/18k39/comments/c18nc8

If I were to work on the library some more, I would incorporate both
Guido and Per's code but leave Per's disabled and make it optional.

Cheers,
Richard.

Reply all
Reply to author
Forward
0 new messages