That can happen with this pep also. What is stopping someone from removing the variable in the external scope because it is hard to find its reference in the closure. With the default argument method, at least the importing of variable from external scope is explicit and nearer to the use.
1
u/fishburne Sep 10 '15
That can happen with this pep also. What is stopping someone from removing the variable in the external scope because it is hard to find its reference in the closure. With the default argument method, at least the importing of variable from external scope is explicit and nearer to the use.