E&S CVS Commit: pylib - Fixed a bizarre problem with the simulator, where merely *accessing* (not

pje at eby-sarna.com pje at eby-sarna.com
Thu Feb 14 08:19:00 EST 2002

Module Name:	pylib
Committed By:	pje
Date:		Thu Feb 14 13:18:02 UTC 2002

Modified Files:
	pylib/TW/Utils: Simulator.py
	pylib/TW/tests: testM1.py

Log Message:
Fixed a bizarre problem with the simulator, where merely *accessing* (not
even altering, or inspecting the contents of) the "f_locals" of the frame
being run caused subsequent writes to locals to simply not happen.
IMPORT_STAR operations are now patched to pass through the locals to the
simulator directly, so as to not require looking directly at the frame, and
thus avoiding whatever strange quantum observer effect was happening in
both 2.1 and 2.2.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pylib/TW/Utils/Simulator.py
cvs rdiff -r1.2 -r1.3 pylib/TW/tests/testM1.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the source-changes mailing list