PyPy
PyPy Configuration[objspace.usepycfiles]

objspace.usepycfiles

back to parent

Basic Option Information

  • name: usepycfiles
  • description: Write and read pyc files when importing
  • command-line: --objspace-usepycfiles
  • command-line for negation: --no-objspace-usepycfiles
  • option type: boolean option
  • default: True

Description

If this option is used, then PyPy imports and generates "pyc" files in the usual way. This is mostly always on, except when using other options that lead to PyPy-specific bytecodes that should not be cached on disk because they might confuse CPython.