D
Daniel Klein
Is it potentially dangerous to use the variable 'object' in code?
Thanks,
Daniel Klein
Thanks,
Daniel Klein
Daniel Klein said:Is it potentially dangerous to use the variable 'object' in code?
Another place: errors in (copied) code which get silently ignoredJohn said:"object" is, I believe, a built-in type in the builtins namespace.
As such, you can shadow it so it's inacessable. However,
the only place were that could cause problems is if you
use it as an identifier at the module level. I think.
Daniel Klein said:Is it potentially dangerous to use the variable 'object' in code?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.