From 65dcf305794feffb1da33c15b5af8d4964580d72 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Nov 2008 02:21:37 +0000 Subject: - Fix ModelGraphTraverser; don't try to change the ``__name__`` or ``__parent__`` of an object that claims it implements ILocation during traversal even if the ``__name__`` or ``__parent__`` of the object traversed does not match the name used in the traversal step or the or the traversal parent . Rationale: it was insane to do so. This bug was only found due to a misconfiguration in an application that mistakenly had intermediate persistent non-ILocation objects; traversal was causing a persistent write on every request under this setup. - ``repoze.bfg.location.locate`` now unconditionally sets ``__name__`` and ``__parent__`` on objects which provide ILocation (it previously only set them conditionally if they didn't match attributes already present on the object via equality). Prep for 0.5.0. --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 7d3991698..d4a4bcf83 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,9 +51,9 @@ copyright = '2008, Agendaless Consulting' # other places throughout the built documents. # # The short X.Y version. -version = '0.4.9' +version = '0.5.0' # The full version, including alpha/beta/rc tags. -release = '0.4.9' +release = '0.5.0' # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: -- cgit v1.2.3