[Zope] ZClass

Michel Pelletier michel@digicool.com
Tue, 02 Nov 1999 11:08:10 -0500


Stephan Richter wrote:
> 
> > Why does Zope asks for a value to enter for a new property when you're
> > making a class? I understand that you've to enter a value when you're
> > making a Class instance? But while defining a class??? Is this meant as a
> > default value??
> Okay, the problem is that Python does not know about data types. You cannot
> declare an"empty" (variable without value) variable in Python, since a
> statement like 'int test' does not exist.I have heard from DC (someone correct
> me please if I am wrong) that they tried to convind Guido to put variable
> declarations into the language without success.

I can guarantee that's a rumor, the dynamic typing of Python is a good
thing.

-Michel