Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The value of the lambda is the generator object. How else could you call list() on it if it was thrown away?


You're just using the word "value" in a different way. I meant "value" as in the 7.


You're right. I am still referring to that particular part of your blog post:

  >> So that’s the only case I can think of where Python
  >> completely throws away the value of a lambda function.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: