On Wed, Jan 6, 2010 at 7:44 PM, Wesley C (Google) <[email protected]> wrote: > yep, this behavior is "allowed" because in Python, "min" is not a > reserved word. unfortunately, this (lack of) restriction easily causes > users to overwrite existing data and methods that are popular variable > names. > > for future reference, aside from min, other well-known Python > built-ins that are inadvertently used as variables include: len, str, > list, dict, file, max, hash, type, object, set, id, dir, and buffer.
You can get a list of all built in names by __builtins__. __builtins__ is a python list of string of everything that is at the builtin (global) scope.
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
