# HG changeset patch # User Paul Boddie # Date 1337555936 -7200 # Node ID 594cde91c7f145e78b75a4b772d9b336ad215ad5 # Parent 5b1d239ec500751ad148f31084909ebc740d95e9 Added copyright and modification details for the visitor changes. diff -r 5b1d239ec500 -r 594cde91c7f1 docs/COPYRIGHT --- a/docs/COPYRIGHT Thu May 17 20:25:34 2012 +0200 +++ b/docs/COPYRIGHT Mon May 21 01:18:56 2012 +0200 @@ -1,6 +1,8 @@ Copyright information from Python 2.5.6 --------------------------------------- +Copyright (c) 2012 Paul Boddie + Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Python Software Foundation. All rights reserved. @@ -26,3 +28,7 @@ Added visit methods to the AST nodes for mutually-assisted dispatch to visitors. + +Changed the visitor dispatch mechanism to use the visit methods provided by +nodes instead of dynamically constructing a visitor method name for use with +getattr and thus obtaining a method for invocation.