objspace.usepycfilesΒΆ

  • 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

If this option is used, then PyPy imports and generates “pyc” files in the same way as CPython. This is true by default and there is not much reason to turn it off nowadays. If off, PyPy never produces “pyc” files and ignores any “pyc” file that might already be present.

Previous topic

objspace.translationmodules

Next topic

objspace.lonepycfiles

This Page