https://github.com/python/cpython
Revision f341d6017dd4e80509b69b5a9e2625b71b70f205 authored by Eric Snow on 02 April 2024, 20:35:52 UTC, committed by GitHub on 02 April 2024, 20:35:52 UTC
These helpers make it easier to customize and inspect the config used to initialize interpreters.  This is especially valuable in our tests.  I found inspiration from the PyConfig API for the PyInterpreterConfig dict conversion stuff.  As part of this PR I've also added a bunch of tests.
1 parent cae4cdd
Raw File
Tip revision: f341d6017dd4e80509b69b5a9e2625b71b70f205 authored by Eric Snow on 02 April 2024, 20:35:52 UTC
gh-76785: Add PyInterpreterConfig Helpers (gh-117170)
Tip revision: f341d60
indent.pro
--blank-lines-after-declarations
--blank-lines-after-procedures
--braces-after-func-def-line
--braces-on-if-line
--braces-on-struct-decl-line
--break-after-boolean-operator
--comment-indentation25
--comment-line-length79
--continue-at-parentheses
--dont-cuddle-do-while
--dont-cuddle-else
--indent-level4
--line-length79
--no-space-after-casts
--no-space-after-function-call-names
--no-space-after-parentheses
--no-tabs
--procnames-start-lines
--space-after-for
--space-after-if
--space-after-while
--swallow-optional-blank-lines
-T PyCFunction
-T PyObject
back to top