[Python-Dev] Revive the types sig?
Barry A. Warsaw
barry at digicool.com
Mon Mar 12 18:52:57 EST 2001
>>>>> "GvR" == Guido van Rossum <guido at digicool.com> writes:
GvR> Barry, you were supposed to throw a brick at me with this
GvR> content at the meeting, on Eric's behalf. Why didn't you? I
GvR> was waiting for someone to explain why this was a big idea,
GvR> but everybody kept their face shut! :-(
I actually thought I had, but maybe it was a brick made of bouncy spam
instead of concrete. :/
GvR> I'm not sure this is viable. I believe Jeremy's compiler
GvR> package actually doesn't have its own parser -- it uses the
GvR> parser module (which invokes Python's standard parse) and
GvR> then transmogrifies the parse tree into something more
GvR> usable, but it doesn't change the syntax! Quixote can get
GvR> away with this because their only change is giving a
GvR> different meaning to stand-alone string literals. But for
GvR> type annotations this doesn't give enough freedom, I expect.
I thought PTL definitely included a "template" declaration keyword, a
la, def, so they must have some solution here. MEMs guys?
-Barry
More information about the Python-list
mailing list