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 2017-05-27 13:40 by serhiy.storchaka. 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
2017-05-27 13:40:02serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2017-05-27 13:38:14serhiy.storchakasetmessages: + msg294587
2017-05-27 13:37:43serhiy.storchakasetmessages: + msg294586
2017-05-27 13:18:35serhiy.storchakasetpull_requests: + pull_request1914
2017-05-27 13:17:46serhiy.storchakasetpull_requests: + pull_request1913
2017-05-27 13:12:50serhiy.storchakasetmessages: + msg294585
2017-05-18 09:50:07serhiy.storchakalinkissue30397 dependencies
2017-05-18 09:48:41serhiy.storchakasetpull_requests: + pull_request1742
2017-05-18 09:44:45serhiy.storchakacreate