This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Built-in list disappeared from Python 2.7 intersphinx inventory
Type: behavior Stage: resolved
Components: Documentation Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Mariatta Nosy List: Benjamin Swan, Christoph.Deil, Mariatta, docs@python, serhiy.storchaka, zach.ware
Priority: normal Keywords:

Created on 2017-07-09 17:53 by Christoph.Deil, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg297993 - (view) Author: Christoph Deil (Christoph.Deil) Date: 2017-07-09 17:53
We have a project where we sub-class `list`. Since recently our docs build is failing because the intersphinx inventory entry for `list` on Python 2.7 doesn't exist any more.

I think this is a regression, because Python 2.7 is supposed to be stable and other functions and classes here are still there, just "list" is missing:
https://docs.python.org/2.7/library/functions.html#func-list

Just in case someone else sees this issue, the Sphinx warning looks like this:
```
docs/api/pyregion.ShapeList.rst:7: WARNING: py:class reference target not found: list
```
if you have something like
```
class ShapeList(list):
    """My list sub-class"""
```
msg298027 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-07-10 06:22
This is caused by backporting some changes from 3.x. In 3.x the list class is described in two places, in functions.rst and in stdtypes.rst, and these changes fixed the ambiguity by excluding the reference in functions.rst from the index. But in 2.7 this is the only description of the list class.

We need either revert changes that exclude the reference to the list class description in functions.rst from the index, or add a description in stdtypes.rst.
msg367375 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020-04-27 03:47
As Python 2.7 has now reached end-of-life, I'm closing the issue.
History
Date User Action Args
2022-04-11 14:58:48adminsetgithub: 75065
2020-04-27 03:47:04zach.waresetstatus: open -> closed

nosy: + zach.ware
messages: + msg367375

resolution: out of date
stage: resolved
2017-08-03 23:54:21Benjamin Swansetnosy: + Benjamin Swan
2017-08-03 23:26:25r.david.murraylinkissue31117 superseder
2017-07-10 13:54:38Mariattasetassignee: docs@python -> Mariatta

nosy: + Mariatta
2017-07-10 06:22:58serhiy.storchakasettype: behavior

messages: + msg298027
nosy: + serhiy.storchaka
2017-07-09 17:53:28Christoph.Deilcreate