I have a type check
isinstance(myvar, list)
in a controller. This worked fine until I added a function to the 
controller:
def list():
...

the built-in list type is overridden and is now a function (controller 
function). The isinstance check does not work anymore. Is this behavior on 
purpose? I guess the best way to avoid such problems is to have no 'list' 
controller function?

Alex

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to