Issue 30398: Add a docstring for re.error (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/74583

classification

Title: Add a docstring for re.error
Type: behavior Stage: resolved
Components: Library (Lib), Regular Expressions Versions: Python 3.7, Python 3.6, Python 3.5

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: ezio.melotti, mrabarnett, serhiy.storchaka
Priority: normal Keywords:

Created on 2017-05-18 09:44 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 1647 merged serhiy.storchaka,2017-05-18 09:48
PR 1830 merged serhiy.storchaka,2017-05-27 13:17
PR 1831 merged serhiy.storchaka,2017-05-27 13:18
Messages (4)
msg293916 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-05-18 09:44
re.error doesn't have its own docstring and inherits it from Exception when format pydoc output: "Common base class for all non-exit exceptions." This is wrong of course. Proposed patch adds a docstring for re.error. It overrides Exception docstring and documents additional re.error attributes.
msg294585 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-05-27 13:12
New changeset 12d6b5d156377c0877931a03ef2439dccb2f3711 by Serhiy Storchaka in branch 'master': bpo-30398: Add a docstring for re.error. (#1647) https://github.com/python/cpython/commit/12d6b5d156377c0877931a03ef2439dccb2f3711
msg294586 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-05-27 13:37
New changeset b52c68a5a3f546cbbe1589f8bb3e51bfd55a6c15 by Serhiy Storchaka in branch '3.6': [3.6] bpo-30398: Add a docstring for re.error. (GH-1647) (#1830) https://github.com/python/cpython/commit/b52c68a5a3f546cbbe1589f8bb3e51bfd55a6c15
msg294587 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-05-27 13:38
New changeset a815b5a100f38b883b08d39567c5557de2c19a53 by Serhiy Storchaka in branch '3.5': [3.5] bpo-30398: Add a docstring for re.error. (GH-1647) (#1831) https://github.com/python/cpython/commit/a815b5a100f38b883b08d39567c5557de2c19a53
History
Date User Action Args
2022-04-11 14:58:46 admin set github: 74583
2017-05-27 13:40:02 serhiy.storchaka set status: open -> closedresolution: fixedstage: patch review -> resolved
2017-05-27 13:38:14 serhiy.storchaka set messages: +
2017-05-27 13:37:43 serhiy.storchaka set messages: +
2017-05-27 13🔞35 serhiy.storchaka set pull_requests: + <pull%5Frequest1914>
2017-05-27 13:17:46 serhiy.storchaka set pull_requests: + <pull%5Frequest1913>
2017-05-27 13:12:50 serhiy.storchaka set messages: +
2017-05-18 09:50:07 serhiy.storchaka link issue30397 dependencies
2017-05-18 09:48:41 serhiy.storchaka set pull_requests: + <pull%5Frequest1742>
2017-05-18 09:44:45 serhiy.storchaka create