PEP 493: Resolve uses of the default role (#3412)
This commit is contained in:
parent
65191051cd
commit
c8346db3e6
|
@ -52,7 +52,7 @@ offer options to switch off certificate checking entirely (by way of
|
||||||
``curl --insecure`` and ``wget --no-check-certificate``, respectively).
|
``curl --insecure`` and ``wget --no-check-certificate``, respectively).
|
||||||
|
|
||||||
At a different layer of the technology stack, Linux security modules like
|
At a different layer of the technology stack, Linux security modules like
|
||||||
`SELinux` and `AppArmor`, while enabled by default by distribution vendors,
|
``SELinux`` and ``AppArmor``, while enabled by default by distribution vendors,
|
||||||
offer relatively straightforward mechanisms for turning them off.
|
offer relatively straightforward mechanisms for turning them off.
|
||||||
|
|
||||||
At the moment, no such convenient mechanisms exist to disable Python's
|
At the moment, no such convenient mechanisms exist to disable Python's
|
||||||
|
@ -121,8 +121,8 @@ or absence of the feature to be determined using the following technique::
|
||||||
|
|
||||||
python -c "import ssl; ssl.<_relevant_attribute>"
|
python -c "import ssl; ssl.<_relevant_attribute>"
|
||||||
|
|
||||||
This will fail with `AttributeError` (and hence a non-zero return code) if the
|
This will fail with ``AttributeError`` (and hence a non-zero return code) if
|
||||||
relevant capability is not available.
|
the relevant capability is not available.
|
||||||
|
|
||||||
The feature detection attributes defined by this PEP are:
|
The feature detection attributes defined by this PEP are:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue