@@ -986,9 +986,9 @@ Optimizations
986986 van Rossum in :issue:`42927 ` , based on ideas implemented originally in PyPy
987987 and MicroPython.)
988988
989- * When building Python with `` -- enable- optimizations` ` now
989+ * When building Python with :option: ` -- enable- optimizations` now
990990 `` - fno- semantic- interposition`` is added to both the compile and link line.
991- This speeds builds of the Python interpreter created with `` -- enable- shared` `
991+ This speeds builds of the Python interpreter created with :option: ` -- enable- shared`
992992 with `` gcc`` by up to 30 % . See `this article
993993 < https:// developers.redhat.com/ blog/ 2020 / 06 / 25 / red- hat- enterprise- linux- 8 - 2 - brings- faster- python- 3 - 8 - run- speeds/ > `_
994994 for more details. (Contributed by Victor Stinner and Pablo Galindo in
@@ -1300,11 +1300,12 @@ Build Changes
13001300* The :mod:`atexit` module must now always be built as a built- in module.
13011301 (Contributed by Victor Stinner in :issue:`42639 ` .)
13021302
1303- * Added `` -- disable- test- modules` ` option to the `` configure`` script:
1303+ * Added :option: ` -- disable- test- modules` option to the `` configure`` script:
13041304 don' t build nor install test modules.
13051305 (Contributed by Xavier de Gaye, Thomas Petazzoni and Peixing Xin in :issue:`27640 ` .)
13061306
1307- * Add `` -- with - wheel- pkg- dir = PATH `` option to the `` ./ configure`` script. If
1307+ * Add :option:`-- with - wheel- pkg- dir =PATH option < -- with - wheel- pkg- dir > `
1308+ to the `` ./ configure`` script. If
13081309 specified, the :mod:`ensurepip` module looks for `` setuptools`` and `` pip``
13091310 wheel packages in this directory: if both are present, these wheel packages
13101311 are used instead of ensurepip bundled wheel packages.
@@ -1316,19 +1317,19 @@ Build Changes
13161317
13171318 (Contributed by Victor Stinner in :issue:`42856 ` .)
13181319
1319- * Add a new configure `` -- without- static- libpython`` option to not build the
1320- `` libpythonMAJOR. MINOR .a `` static library and not install the `` python.o ``
1321- object file .
1320+ * Add a new :option: ` configure -- without- static- libpython option
1321+ < -- without - static - libpython > ` to not build the ``libpythonMAJOR. MINOR .a ``
1322+ static library and not install the `` python.o `` object file .
13221323
13231324 (Contributed by Victor Stinner in :issue:`43103 ` .)
13241325
13251326* The `` configure`` script now uses the `` pkg- config`` utility, if available,
13261327 to detect the location of Tcl/ Tk headers and libraries. As before, those
1327- locations can be explicitly specified with the `` -- with - tcltk- includes` `
1328- and `` -- with - tcltk- libs` ` configuration options.
1328+ locations can be explicitly specified with the :option: ` -- with - tcltk- includes`
1329+ and :option: ` -- with - tcltk- libs` configuration options.
13291330 (Contributed by Manolis Stamatogiannakis in :issue:`42603 ` .)
13301331
1331- * Add `` -- with - openssl- rpath` ` option to `` configure`` script. The option
1332+ * Add :option: ` -- with - openssl- rpath` option to `` configure`` script. The option
13321333 simplifies building Python with a custom OpenSSL installation, e.g.
13331334 `` ./ configure -- with - openssl = / path/ to/ openssl -- with - openssl- rpath = auto`` .
13341335 (Contributed by Christian Heimes in :issue:`43466 ` .)
@@ -1405,8 +1406,8 @@ New Features
14051406 in debug mode because the :c:type :`PyObject` structure is the same in release
14061407 and debug mode since Python 3.8 (see :issue:`36465 ` ).
14071408
1408- The limited C API is still not supported in the `` -- with - trace- refs`` special
1409- build (`` Py_TRACE_REFS`` macro).
1409+ The limited C API is still not supported in the :option: ` -- with - trace- refs`
1410+ special build (`` Py_TRACE_REFS`` macro).
14101411 (Contributed by Victor Stinner in :issue:`43688 ` .)
14111412
14121413* Add the :c:func:`Py_Is(x, y) < Py_Is> ` function to test if the * x* object is
0 commit comments