[livecoding] r133 committed - - contrib/livecoding/reloader.py: A marker value was being leaked out ...

2 views
Skip to first unread message

livec...@googlecode.com

unread,
Feb 11, 2010, 9:30:53 PM2/11/10
to py-livecod...@googlegroups.com
Revision: 133
Author: richard.m.tew
Date: Thu Feb 11 18:29:38 2010
Log: - contrib/livecoding/reloader.py: A marker value was being leaked out
into reloaded code. Now it should be discarded internally to the code
reloading before this can happen.
http://code.google.com/p/livecoding/source/detail?r=133

Modified:
/trunk/reloader.py

=======================================
--- /trunk/reloader.py Fri Jan 29 00:54:33 2010
+++ /trunk/reloader.py Thu Feb 11 18:29:38 2010
@@ -292,7 +292,7 @@
newScriptFile.SetContributedAttributes(contributedAttributes)

def UpdateClass(self, value, newValue, globals_):
- if value is None:
+ if value is None or value is NonExistentValue:
value = newValue

logger.debug("Updating class %s:%s from %s:%s", value,
hex(id(value)), newValue, hex(id(newValue)))

Reply all
Reply to author
Forward
0 new messages