Op 2005-11-22, [EMAIL PROTECTED] schreef <[EMAIL PROTECTED]>: > * Should some of the unicode mathematical symbols be reserved for > literals? > It would be greatly preferable to write \u2205 instead of the other > proposed > empty-set literal notation, {-}. Perhaps nullary operators could be > defined, > so that writing \u2205 alone is the same as __u2205__() i.e., calling > the > nullary function, whether it is defined at the local, lexical, module, > or > built-in scope.
Isn't this essentially already happening with lists?. And isn't something like this already possible with properties, except for the scoping. If python would develop the property idea a bit further and have variables that would call a function each time they are accessed, something like this could work. -- Antoon Pardon -- http://mail.python.org/mailman/listinfo/python-list