Statement evals as False in my IDE and True elsewhere

CM cmpython at gmail.com
Thu Jan 30 18:02:42 EST 2014


> Try using square brackets notation instead. Apparently your
> __builtins__ is a dictionary, not a module, though I don't know why
> (probably something to do with numpy, which I've never actually used).
> 
> But try this:
> builtin_all = __builtins__["all"]
> 
> It might work.

Yes, it does.  Thanks!

Che M



More information about the Python-list mailing list