PEP 3146: Resolve uses of the default role (#3384)

This commit is contained in:
Adam Turner 2023-09-01 20:21:05 +01:00 committed by GitHub
parent 7cf696649b
commit ac2c284aea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -132,10 +132,10 @@ they are used.
However, if by chance the historically-untaken branch is now taken, or some However, if by chance the historically-untaken branch is now taken, or some
integer-optimized ``a + b`` snippet receives two strings, we must support this. integer-optimized ``a + b`` snippet receives two strings, we must support this.
We cannot change Python semantics. Each of these sections of optimized machine We cannot change Python semantics. Each of these sections of optimized machine
code is preceded by a `guard`, which checks whether the simplifying assumptions code is preceded by a ``guard``, which checks whether the simplifying
we made when optimizing still hold. If the assumptions are still valid, we run assumptions we made when optimizing still hold. If the assumptions are still
the optimized machine code; if they are not, we revert back to the interpreter valid, we run the optimized machine code; if they are not, we revert back to
and pick up where we left off. the interpreter and pick up where we left off.
We have chosen to reuse a set of existing compiler libraries called LLVM We have chosen to reuse a set of existing compiler libraries called LLVM
[#llvm]_ for code generation and code optimization. This has saved our small [#llvm]_ for code generation and code optimization. This has saved our small
@ -848,8 +848,8 @@ Unladen Swallow [#us-oprofile-change]_, other profiling tools should be easy as
well, provided they support a similar JIT interface [#oprofile-jit-interface]_. well, provided they support a similar JIT interface [#oprofile-jit-interface]_.
We have documented the process for using oProfile to profile Unladen Swallow We have documented the process for using oProfile to profile Unladen Swallow
[#oprofile-workflow]_. This document will be merged into CPython's `Doc/` tree [#oprofile-workflow]_. This document will be merged into CPython's ``Doc/``
in the merge. tree in the merge.
Addition of C++ to CPython Addition of C++ to CPython