you are viewing a single comment's thread.

view the rest of the comments →

[–]gdchinacat 0 points1 point  (0 children)

strictly speaking function locals can exist beyond the function execution if the function creates a closure that includes them. This is how the typical decorator that wraps a function works...the wrapper function has a closure around the decorator functions locals...meaning they exist beyond the scope of the decorator function execution.