[issue40850] Programming FAQ - variables local to the lambdas

2020-06-03 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue40850] Programming FAQ - variables local to the lambdas

2020-06-02 Thread SilentGhost
SilentGhost added the comment: I don't think your suggestion improve readability there. I think explanation following the code example does a decent job without being overly verbose. Regarding, memoization, it is mentioned in [0], right after describing the technique. So, I'm not sure why yo

[issue40850] Programming FAQ - variables local to the lambdas

2020-06-02 Thread Rainald Koch
New submission from Rainald Koch : In section [10] of the FAQ, I whould add "(a function parameter with different default values)" after "variables local to the lambdas". Besides, I had to look up "memoizing" [2] and suspect that "memorizing" would be correct. [10] https://docs.python.org/3