Right now, all class methods have to be defined in the "class" structure.
It should be possible to define it outside of the structure, like C++
allows. One possible syntax would be:
def foo.barney: ; new method for class foo
Good idea. In fact, why can't the lambda be any type of expression - even
a function? It would allow more power, as long as the scoping was handled
correctly. Continuations might even be possible.
And speaking of continuations, how difficult would it be to have
coroutines in Python?
How difficult would it be to incorporate a simple macro expander in
Python? I remember experimenting with calling the c preprocessor,
and it seemed to work most of the time.