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: Doc/library/dis.rst lists `versionchange` twice for `WITH_EXCEPT_START`
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, iritkatriel, sobolevn
Priority: normal Keywords: patch

Created on 2022-01-21 16:50 by sobolevn, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30752 merged sobolevn, 2022-01-21 16:51
Messages (2)
msg411147 - (view) Author: Nikita Sobolev (sobolevn) * (Python triager) Date: 2022-01-21 16:50
Right now it has two sections:

```
.. versionchanged:: 3.11
       The ``__exit__`` function is in position 8 of the stack rather than 7.

```

And

```
.. versionchanged:: 3.11
       The ``__exit__`` function is in position 4 of the stack rather than 7.
       Exception representation on the stack now consist of one, not three, items.
```

Furthermore, they seem to contradict each other.
I think that we should only keep the last one.

I will send a PR for it.
msg411248 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-01-22 11:16
New changeset 5d735241168cefe00be177ef4152955c100177ae by Nikita Sobolev in branch 'main':
bpo-46460: remove duplicated `versionchanged` from `dis.rst` (GH-30752)
https://github.com/python/cpython/commit/5d735241168cefe00be177ef4152955c100177ae
History
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90618
2022-01-22 11:16:37iritkatrielsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2022-01-22 11:16:07iritkatrielsetnosy: + iritkatriel
messages: + msg411248
2022-01-21 16:51:52sobolevnsetkeywords: + patch
stage: patch review
pull_requests: + pull_request28939
2022-01-21 16:50:39sobolevncreate