Reserved Names link

Ren'Py reserves all names beginning with a single underscore (_). Do not use names beginning with an underscore, as that may cause your game to break in future versions of Ren'Py.

The following is a list of names that are used by Python. Re-using these names can lead to obscure problems.

  • ArithmeticError
  • AssertionError
  • AttributeError
  • BaseException
  • BufferError
  • BytesWarning
  • DeprecationWarning
  • EOFError
  • Ellipsis
  • EnvironmentError
  • Exception
  • False
  • FloatingPointError
  • FutureWarning
  • GeneratorExit
  • IOError
  • ImportError
  • ImportWarning
  • IndentationError
  • IndexError
  • KeyError
  • KeyboardInterrupt
  • LookupError
  • MemoryError
  • NameError
  • None
  • NoneType
  • NotImplemented
  • NotImplementedError
  • OSError
  • OverflowError
  • PendingDeprecationWarning
  • ReferenceError
  • RuntimeError
  • RuntimeWarning
  • StandardError
  • StopIteration
  • SyntaxError
  • SyntaxWarning
  • SystemError
  • SystemExit
  • TabError
  • True
  • TypeError
  • UnboundLocalError
  • UnicodeDecodeError
  • UnicodeEncodeError
  • UnicodeError
  • UnicodeTranslateError
  • UnicodeWarning
  • UserWarning
  • ValueError
  • Warning
  • ZeroDivisionError
  • abs
  • all
  • any
  • apply
  • basestring
  • bin
  • bool
  • buffer
  • bytearray
  • bytes
  • callable
  • chr
  • classmethod
  • cmp
  • coerce
  • compile
  • complex
  • delattr
  • dict
  • dir
  • divmod
  • enumerate
  • eval
  • execfile
  • file
  • filter
  • float
  • format
  • frozenset
  • getattr
  • globals
  • hasattr
  • hash
  • hex
  • id
  • input
  • int
  • intern
  • isinstance
  • issubclass
  • iter
  • len
  • list
  • locals
  • long
  • map
  • max
  • memoryview
  • min
  • next
  • object
  • oct
  • open
  • ord
  • pow
  • print
  • property
  • range
  • raw_input
  • real_file
  • reduce
  • reload
  • repr
  • reversed
  • round
  • set
  • setattr
  • slice
  • sorted
  • staticmethod
  • str
  • sum
  • super
  • tuple
  • type
  • unichr
  • unicode
  • vars
  • xrange
  • zip

The following is a list of names that are used by Ren'Py. While in some cases it makes to redefine these names, one should be aware that doing so can cause obscure problems.

Ren'Py reserves filenames beginning with an underscore or "00".