E&S CVS Commit: PEAK - Fixed a problem where local name resolution could infinitely recurse.

pje at eby-sarna.com pje at eby-sarna.com
Tue May 20 12:21:00 EDT 2003

Module Name:	PEAK
Committed By:	pje
Date:		Tue May 20 16:20:58 UTC 2003

Modified Files:
	PEAK/src/peak: peak.ini
	PEAK/src/peak/naming: contexts.py
	PEAK/src/peak/naming/tests: __init__.py

Log Message:
Fixed a problem where local name resolution could infinitely recurse.
Added a new 'EmptyContext' naming context, that is now used as the default
initial naming context; this allows "off the top of the tree" acquisition
errors to correctly generate 'NameNotFound' instead of
'NotImplementedError' or other strange error messages.  Added test for the
previously broken condition.  The bug was introduced post-alpha1.  Thanks
to Oleg Broytmann for catching this problem.

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

To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 PEAK/src/peak/peak.ini
cvs rdiff -r1.50 -r1.51 PEAK/src/peak/naming/contexts.py
cvs rdiff -r1.16 -r1.17 PEAK/src/peak/naming/tests/__init__.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