"Updating" lambda functions

Elaine Jackson elainejackson7355 at home.com
Thu Sep 16 22:58:44 EDT 2004


"Terry Reedy" <tjreedy at udel.edu> wrote in message
news:mailman.3428.1095385637.5135.python-list at python.org...

| I am curious if there is any reason other that habit carried over from
| other languages to not write the above as
|
| def fu(x): return x
| def fu(x): return fu(x) + 17
| etc

In my interpreter (IDLE 1.0 on Windows 98) it causes an infinite regress.





More information about the Python-list mailing list