[Python-Dev] metaclass insanity

David Abrahams dave@boost-consulting.com
04 Nov 2002 16:51:07 -0500


Guido van Rossum <guido@python.org> writes:

> Can someone provide a reason why you'd want to use nested classes?

"Namespaces are one honking great idea -- let's do more of those!"

> I've never felt this need myself.  What are the motivations?

My people want it so they can mirror the structure of their C++ code
with their Python wrappers, among other things.

-- 
                    David Abrahams
dave@boost-consulting.com * http://www.boost-consulting.com