translation.rweakrefΒΆ

  • name: rweakref
  • description: The backend supports RPython-level weakrefs
  • command-line: –translation-rweakref
  • command-line for negation: –no-translation-rweakref
  • option type: boolean option
  • default: True

This indicates if the backend and GC policy support RPython-level weakrefs. Can be tested in an RPython program to select between two implementation strategies.