--- Jeffrey P Shell <jeffrey@...> wrote:
> Nope. Zope uses colons all the time, and has done so
> since the Bobo days.
> (they're used in the publishing machinery to marshal form
> data into simple
> python objects::
> <input type="text" name="age:int" ...>
That's what I recalled seeing previously on the list (I'm
not a zope person, although that use looks fairly neat..)
My use of them right now is to namespace my form variables,
so that a page can have many modules that are unaware of
each other, and all be submitted at once (the user can
change a value in more than one module without refreshing
after each little change), and then the modules are handed
their individual field dictionaries minus the namespace, to
process as needed. Only the outer system knows about the
namespaces, and knows what real module corresponds to each.
Reference Counting Garbage Collection:
Look out philosophy majors, things really DO
cease to exist when no one is looking at them!
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!