This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Tomáš.Dvořák
Recipients Tomáš.Dvořák, docs@python, ezio.melotti, r.david.murray
Date 2011-10-03.15:13:33
SpamBayes Score 0.0013574432
Marked as misclassified No
Message-id <1317654813.95.0.772062209318.issue13094@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you all very much for the super-quick responses. I'm used to smalltalk, so the python variable binding behaviour is unnatural to me, but I guess there must have been some reasons for making it behave this way. 

Ezio, the 
"lambda each=each: each" 
trick works nicely, thanks a lot. But - what does it mean? :) I just don't know how to parse and understand it :-)

Best regards,
  Tomáš Dvořák
History
Date User Action Args
2011-10-03 15:13:34Tomáš.Dvořáksetrecipients: + Tomáš.Dvořák, ezio.melotti, r.david.murray, docs@python
2011-10-03 15:13:33Tomáš.Dvořáksetmessageid: <1317654813.95.0.772062209318.issue13094@psf.upfronthosting.co.za>
2011-10-03 15:13:33Tomáš.Dvořáklinkissue13094 messages
2011-10-03 15:13:33Tomáš.Dvořákcreate