python3.7 problem with validation - it doesnt work

Michael Torrie torriem at gmail.com
Fri Sep 21 19:58:40 EDT 2018


On 09/19/2018 06:12 AM, alon.najman at gmail.com wrote:
> python3.7 problem with validation - it doesn't work.

I don't know what "validation" means, but MRAB has told you why it
wasn't working.  My question to you is why do you need that inner
function anyway?  An inner function is normally used to define a
closure, where you can capture some state and preserve it for future
use.  Your inner function does not do this, and is therefore redundant,
not to mention error-prone!



More information about the Python-list mailing list