PEP 3146: Resolve uses of the default role (#3384)
This commit is contained in:
parent
7cf696649b
commit
ac2c284aea
12
pep-3146.txt
12
pep-3146.txt
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue