Re:Understanding a Python Closure Oddity
by gpderetta on Monday June 17, 2024 @11:35AM
(#40706684)
it comes up often enough for me to be annoying. The defaulted argument works, but it is an ugly hack. It is not obvious to me that the surprising semantics are clearly better, but python has a long history to preferring implementation simplicity to user ergonomics.
[ Parent
| on HN ]
There are no comments on this comment yet.