[3.6] bpo-33503: Fix the broken pypi link in the source and the docum… · python/cpython@e4cd12d

23 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -31,7 +31,7 @@ installing other Python projects, refer to the

3131

Key terms

3232

=========

3333
34-

* the `Python Packaging Index <https://pypi.python.org/pypi>`__ is a public

34+

* the `Python Packaging Index <https://pypi.org>`__ is a public

3535

repository of open source licensed packages made available for use by

3636

other Python users

3737

* the `Python Packaging Authority

Original file line numberDiff line numberDiff line change

@@ -78,7 +78,7 @@ setup script). Indirectly provides the :class:`distutils.dist.Distribution` and

7878

| | be built | :class:`distutils.core.Extension` |

7979

+--------------------+--------------------------------+-------------------------------------------------------------+

8080

| *classifiers* | A list of categories for the | a list of strings; valid classifiers are listed on `PyPI |

81-

| | package | <https://pypi.python.org/pypi?:action=list_classifiers>`_. |

81+

| | package | <https://pypi.org/classifiers>`_. |

8282

+--------------------+--------------------------------+-------------------------------------------------------------+

8383

| *distclass* | the :class:`Distribution` | a subclass of |

8484

| | class to use | :class:`distutils.core.Distribution` |

Original file line numberDiff line numberDiff line change

@@ -250,4 +250,4 @@ without warnings does not guarantee that PyPI will convert the content

250250

successfully.

251251
252252
253-

.. _Python Package Index (PyPI): https://pypi.python.org/pypi

253+

.. _Python Package Index (PyPI): https://pypi.org

Original file line numberDiff line numberDiff line change

@@ -117,7 +117,7 @@ programming), software engineering (unit testing, logging, profiling, parsing

117117

Python code), and operating system interfaces (system calls, filesystems, TCP/IP

118118

sockets). Look at the table of contents for :ref:`library-index` to get an idea

119119

of what's available. A wide variety of third-party extensions are also

120-

available. Consult `the Python Package Index <https://pypi.python.org/pypi>`_ to

120+

available. Consult `the Python Package Index <https://pypi.org>`_ to

121121

find packages of interest to you.

122122
123123
Original file line numberDiff line numberDiff line change

@@ -19,7 +19,7 @@ standard library module. (Eventually you'll learn what's in the standard

1919

library and will be able to skip this step.)

2020
2121

For third-party packages, search the `Python Package Index

22-

<https://pypi.python.org/pypi>`_ or try `Google <https://www.google.com>`_ or

22+

<https://pypi.org>`_ or try `Google <https://www.google.com>`_ or

2323

another Web search engine. Searching for "Python" plus a keyword or two for

2424

your topic of interest will usually find something helpful.

2525

@@ -611,7 +611,7 @@ use ``p.read(n)``.

611611

"expect" library. A Python extension that interfaces to expect is called

612612

"expy" and available from http://expectpy.sourceforge.net. A pure Python

613613

solution that works like expect is `pexpect

614-

<https://pypi.python.org/pypi/pexpect/>`_.

614+

<https://pypi.org/project/pexpect/>`_.

615615
616616
617617

How do I access the serial (RS232) port?

Original file line numberDiff line numberDiff line change

@@ -41,7 +41,7 @@ appearance---and the curses library will figure out what control codes

4141

need to be sent to the terminal to produce the right output. curses

4242

doesn't provide many user-interface concepts such as buttons, checkboxes,

4343

or dialogs; if you need such features, consider a user interface library such as

44-

`Urwid <https://pypi.python.org/pypi/urwid/>`_.

44+

`Urwid <https://pypi.org/project/urwid/>`_.

4545
4646

The curses library was originally written for BSD Unix; the later System V

4747

versions of Unix from AT&T added many enhancements and new functions. BSD curses

@@ -55,7 +55,7 @@ everything, though.

5555
5656

The Windows version of Python doesn't include the :mod:`curses`

5757

module. A ported version called `UniCurses

58-

<https://pypi.python.org/pypi/UniCurses>`_ is available. You could

58+

<https://pypi.org/project/UniCurses>`_ is available. You could

5959

also try `the Console module <http://effbot.org/zone/console-index.htm>`_

6060

written by Fredrik Lundh, which doesn't

6161

use the same API as curses but provides cursor-addressable text output

@@ -432,7 +432,7 @@ User Input

432432
433433

The C curses library offers only very simple input mechanisms. Python's

434434

:mod:`curses` module adds a basic text-input widget. (Other libraries

435-

such as `Urwid <https://pypi.python.org/pypi/urwid/>`_ have more extensive

435+

such as `Urwid <https://pypi.org/project/urwid/>`_ have more extensive

436436

collections of widgets.)

437437
438438

There are two methods for getting input from a window:

Original file line numberDiff line numberDiff line change

@@ -427,25 +427,25 @@ to make sure everything functions as expected in both versions of Python.

427427
428428
429429

.. _2to3: https://docs.python.org/3/library/2to3.html

430-

.. _caniusepython3: https://pypi.python.org/pypi/caniusepython3

430+

.. _caniusepython3: https://pypi.org/project/caniusepython3

431431

.. _cheat sheet: http://python-future.org/compatible_idioms.html

432-

.. _coverage.py: https://pypi.python.org/pypi/coverage

432+

.. _coverage.py: https://pypi.org/project/coverage

433433

.. _Futurize: http://python-future.org/automatic_conversion.html

434434

.. _importlib: https://docs.python.org/3/library/importlib.html#module-importlib

435435

.. _importlib2: https://pypi.python.org/pypi/importlib2

436436

.. _Modernize: https://python-modernize.readthedocs.org/en/latest/

437437

.. _mypy: http://mypy-lang.org/

438438

.. _Porting to Python 3: http://python3porting.com/

439-

.. _Pylint: https://pypi.python.org/pypi/pylint

439+

.. _Pylint: https://pypi.org/project/pylint

440440
441441

.. _Python 3 Q & A: https://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html

442442
443443

.. _pytype: https://github.com/google/pytype

444444

.. _python-future: http://python-future.org/

445445

.. _python-porting: https://mail.python.org/mailman/listinfo/python-porting

446-

.. _six: https://pypi.python.org/pypi/six

447-

.. _tox: https://pypi.python.org/pypi/tox

448-

.. _trove classifier: https://pypi.python.org/pypi?%3Aaction=list_classifiers

446+

.. _six: https://pypi.org/project/six

447+

.. _tox: https://pypi.org/project/tox

448+

.. _trove classifier: https://pypi.org/classifiers

449449
450450

.. _"What's New": https://docs.python.org/3/whatsnew/index.html

451451
Original file line numberDiff line numberDiff line change

@@ -44,7 +44,7 @@ Key terms

4444

``venv``. It allows virtual environments to be used on versions of

4545

Python prior to 3.4, which either don't provide ``venv`` at all, or

4646

aren't able to automatically install ``pip`` into created environments.

47-

* The `Python Packaging Index <https://pypi.python.org/pypi>`__ is a public

47+

* The `Python Packaging Index <https://pypi.org>`__ is a public

4848

repository of open source licensed packages made available for use by

4949

other Python users.

5050

* the `Python Packaging Authority

Original file line numberDiff line numberDiff line change

@@ -4,7 +4,7 @@ Software Packaging and Distribution

44
55

These libraries help you with publishing and installing Python software.

66

While these modules are designed to work in conjunction with the

7-

`Python Package Index <https://pypi.python.org/pypi>`__, they can also be used

7+

`Python Package Index <https://pypi.org>`__, they can also be used

88

with a local index server, or without any index server at all.

99
1010

.. toctree::

Original file line numberDiff line numberDiff line change

@@ -30,7 +30,7 @@ optional components.

3030

In addition to the standard library, there is a growing collection of

3131

several thousand components (from individual programs and modules to

3232

packages and entire application development frameworks), available from

33-

the `Python Package Index <https://pypi.python.org/pypi>`_.

33+

the `Python Package Index <https://pypi.org>`_.

3434
3535
3636

.. toctree::