classification
Title: improve struct.unpack_from's error message like struct.pack_into
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: xiang.zhang Nosy List: xiang.zhang
Priority: normal Keywords: patch

Created on 2017-05-03 08:55 by xiang.zhang, last changed 2018-03-10 19:00 by xiang.zhang. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 6059 merged xiang.zhang, 2018-03-10 16:29
Messages (2)
msg292862 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2017-05-03 08:55
In #29649, the error message of struct.pack_into was improved. Since pack_into was changed, I think it's also worth improving unpack_from.
msg313554 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2018-03-10 18:58
New changeset c10b288f345aaef66d2c844924b9a576f9ea4f8b by Xiang Zhang in branch 'master':
bpo-30249: Improve struct.unpack_from() error messages (GH-6059)
https://github.com/python/cpython/commit/c10b288f345aaef66d2c844924b9a576f9ea4f8b
History
Date User Action Args
2018-03-10 19:00:24xiang.zhangsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-03-10 18:58:54xiang.zhangsetmessages: + msg313554
2018-03-10 16:30:58xiang.zhangsetassignee: xiang.zhang
versions: + Python 3.8, - Python 3.7
2018-03-10 16:29:07xiang.zhangsetkeywords: + patch
stage: needs patch -> patch review
pull_requests: + pull_request5821
2017-05-03 08:55:20xiang.zhangcreate