• Home
  • Raw
  • Download

Lines Matching +full:python +full:- +full:version

1 This is Python version 3.10.2
4 .. image:: https://travis-ci.com/python/cpython.svg?branch=master
6 :target: https://travis-ci.com/python/cpython
8 .. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
10 :target: https://github.com/python/cpython/actions
12 .. image:: https://dev.azure.com/python/cpython/_apis/build/status/Azure%20Pipelines%20CI?branchNam…
14 :target: https://dev.azure.com/python/cpython/_build/latest?definitionId=4&branchName=master
16 .. image:: https://img.shields.io/badge/discourse-join_chat-brightgreen.svg
17 :alt: Python Discourse chat
18 :target: https://discuss.python.org/
21 Copyright (c) 2001-2022 Python Software Foundation. All rights reserved.
28 -------------------
30 - Website: https://www.python.org
31 - Source code: https://github.com/python/cpython
32 - Issue tracker: https://bugs.python.org
33 - Documentation: https://docs.python.org
34 - Developer's Guide: https://devguide.python.org/
37 -----------------------
42 .. _Developer Guide: https://devguide.python.org/
44 Using Python
45 ------------
47 Installable Python kits, and information about using Python, are available at
48 `python.org`_.
50 .. _python.org: https://www.python.org/
53 ------------------
62 This will install Python as ``python3``.
64 You can pass many options to the configure script; run ``./configure --help``
65 to find out more. On macOS case-insensitive file systems and on Cygwin,
66 the executable is called ``python.exe``; elsewhere it's just ``python``.
68 Building a complete Python installation requires the use of various
69 additional third-party libraries, depending on your build platform and
72 `Install dependencies <https://devguide.python.org/setup/#install-dependencies>`_
78 <https://github.com/python/cpython/blob/master/Mac/README.rst>`_.
81 <https://github.com/python/cpython/blob/master/PCbuild/readme.txt>`_.
88 ../configure --with-pydebug
92 (This will fail if you *also* built at the top-level directory. You should do
93 a ``make clean`` at the top-level first.)
95 To get an optimized build of Python, ``configure --enable-optimizations``
97 Profile Guided Optimization (PGO) and may be used to auto-enable Link Time
105 either via ``configure --enable-optimizations`` or by manually running
106 ``make profile-opt`` regardless of configure flags, the optimized build
109 The entire Python directory is cleaned of temporary files that may have
112 An instrumented version of the interpreter is built, using suitable compiler
114 binary resulting from this step is not good for real-life workloads as it has
123 collected from the instrumented one. The end result will be a Python binary
130 Enabled via configure's ``--with-lto`` flag. LTO takes advantage of the
137 ----------
139 We have a comprehensive overview of the changes in the `What's New in Python
140 3.10 <https://docs.python.org/3.10/whatsnew/3.10.html>`_ document. For a more
142 <https://github.com/python/cpython/blob/master/Misc/NEWS.d>`_, but a full
144 <https://github.com/python/cpython/commits/master>`_.
146 If you want to install multiple versions of Python, see the section below
151 -------------
153 `Documentation for Python 3.10 <https://docs.python.org/3.10/>`_ is online,
157 is downloadable in HTML, PDF, and reStructuredText formats; the latter version
161 For information about building Python's documentation, refer to `Doc/README.rst
162 <https://github.com/python/cpython/blob/master/Doc/README.rst>`_.
165 Converting From Python 2.x to 3.x
166 ---------------------------------
168 Significant backward incompatible changes were made for the release of Python
169 3.0, which may cause programs written for Python 2 to fail when run with Python
170 3. For more information about porting your code from Python 2 to Python 3, see
171 the `Porting HOWTO <https://docs.python.org/3/howto/pyporting.html>`_.
175 -------
177 To test the interpreter, type ``make test`` in the top-level directory. The
186 If any tests fail, you can re-run the failing test(s) in verbose mode. For
189 make test TESTOPTS="-v test_os test_gdb"
191 If the failure persists and appears to be a problem with Python rather than
192 your environment, you can `file a bug report <https://bugs.python.org>`_ and
195 See `Running & Writing Tests <https://devguide.python.org/runtests/>`_
199 ----------------------------
201 On Unix and Mac systems if you intend to install multiple versions of Python
202 using the same installation prefix (``--prefix`` argument to the configure
203 script) you must take care that your primary python executable is not
204 overwritten by the installation of a different version. All files and
206 version and can thus live side-by-side. ``make install`` also creates
209 version (if any) is your "primary" version. Install that version using ``make
212 For example, if you want to install Python 2.7, 3.6, and 3.10 with 3.10 being the
213 primary version, you would execute ``make install`` in your 3.10 build directory
218 ------------------------------
221 <https://bugs.python.org>`_ to report bugs, and/or submit pull requests `on
222 GitHub <https://github.com/python/cpython>`_.
224 You can also follow development discussion on the `python-dev mailing list
225 <https://mail.python.org/mailman/listinfo/python-dev/>`_.
229 -------------------------
231 If you have a proposal to change Python, you may want to send an email to the
232 `comp.lang.python`_ or `python-ideas`_ mailing lists for initial feedback. A
233 Python Enhancement Proposal (PEP) may be submitted if your idea gains ground.
235 `python.org/dev/peps/ <https://www.python.org/dev/peps/>`_.
237 .. _python-ideas: https://mail.python.org/mailman/listinfo/python-ideas/
238 .. _comp.lang.python: https://mail.python.org/mailman/listinfo/python-list
242 ----------------
244 See :pep:`619` for Python 3.10 release details.
248 ---------------------------------
250 Copyright (c) 2001-2022 Python Software Foundation. All rights reserved.
254 Copyright (c) 1995-2001 Corporation for National Research Initiatives. All
257 Copyright (c) 1991-1995 Stichting Mathematisch Centrum. All rights reserved.
259 See the `LICENSE <https://github.com/python/cpython/blob/master/LICENSE>`_ for
263 This Python distribution contains *no* GNU General Public License (GPL) code,