Inheritance in nested classes

Martin Skou msj at
Tue Nov 15 16:37:02 CET 2005

I'm experimenting with using Python for a small web interface, using
Mark Hammond's nice win32 extensions.

I use a small class hierarchy which uses inheritance and nested classes.

Here are a small extract of the code:

class page:
	def __init__(self):
	def __str__(self):

	class simple_tag:
	class p(simple_tag):
	class table:

		class row:
			class data:

Will this type of code perform noticable slower than unnested classes?

I'm using the Active Server Pages integration in the win32 extensions,
does anyone have good/bad experiences using this interface?



More information about the Python-list mailing list