Redefining nested function from other function overrides original nested function #861
Consider the following codes saved in
Running the codes in voc results in following outputs:
However, the intended outputs from Python 3.6 are:
The last write overwrites the first nested function.
One potential way to solve it would be generating class files for each nested function marked with enclosing function's name and instruct voc to look for the correct class file when invoking nested function.
The text was updated successfully, but these errors were encountered: