mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
* Backports ensurepip to the 2.7 branch * Backports some of the improved documentation to the 2.7 branch. * Adds a private backport of the 3.x mock library as test._mock_backport to enable saner testing of ensurepip. Key Differences from 3.x: * Ensurepip does not have any Makefile integration, specifically it is not ran by default in the Makefile. * There is no venv module in 2.7, so downstream distributors can completely disable ensurepip, ideally with a message redirecting to the correct way to install pip. * To match the ``python`` command in 2.7, ensurepip will install the unversioned ``pip`` command as well. * No-op and hide --default-pip and add --no-default-pip to restore the 3.x behavor on 2.7.
31 lines
514 B
ReStructuredText
31 lines
514 B
ReStructuredText
|
|
.. _python:
|
|
|
|
***********************
|
|
Python Runtime Services
|
|
***********************
|
|
|
|
The modules described in this chapter provide a wide range of services related
|
|
to the Python interpreter and its interaction with its environment. Here's an
|
|
overview:
|
|
|
|
|
|
.. toctree::
|
|
|
|
sys.rst
|
|
sysconfig.rst
|
|
__builtin__.rst
|
|
future_builtins.rst
|
|
__main__.rst
|
|
warnings.rst
|
|
contextlib.rst
|
|
abc.rst
|
|
atexit.rst
|
|
traceback.rst
|
|
__future__.rst
|
|
gc.rst
|
|
inspect.rst
|
|
site.rst
|
|
user.rst
|
|
fpectl.rst
|