PyPy
PyPy Configuration[objspace.std.withtypeversion]

objspace.std.withtypeversion

back to parent

Basic Option Information

  • name: withtypeversion
  • description: version type objects when changing them
  • option type: boolean option
  • default: False

Description

This (mostly internal) option enables "type versions": Every type object gets an (only internally visible) version that is updated when the type's dict is changed. This is e.g. used for invalidating caches. It does not make sense to enable this option alone.