recursive methods require implementing a stack?

Charles T. Smith cts.private.yahoo at gmail.com
Wed Apr 6 16:21:28 EDT 2016


I just tried to write a recursive method in python - am I right that local
variables are only lexically local scoped, so sub-instances have the same
ones? Is there a way out of that? Do I have to push and pop my own simulated
stack frame entry? 


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /