[BangPypers] magic in datetime module?

Anand Chitipothu anandology at gmail.com
Fri Apr 3 08:51:38 CEST 2009


> I have a basic doubt - why do you want to set a module as core
> as __builtins__ to {} in your code ? If you can answer that
> reasonably, it makes sense to investigate this or raise a bug.
> Otherwise, I don't think it is good coding.

It is used in web.py templating engine to restrict the available
builtins to templates.


More information about the BangPypers mailing list