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: I suggests to modify Include/object.h in 98 line
Type: enhancement Stage: resolved
Components: Versions: Python 3.11
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: 4d656f77
Priority: normal Keywords: patch

Created on 2022-01-30 21:57 by 4d656f77, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 31020 open 4d656f77, 2022-01-30 21:59
Messages (1)
msg412175 - (view) Author: meow (4d656f77) * Date: 2022-01-30 21:57
before version
#define Py_INVALID_SIZE (Py_ssize_t)-1

after version
#define Py_INVALID_SIZE ((Py_ssize_t)-1)

I think that the after version is more safety.
thanks to read this request.
History
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90748
2022-01-30 23:59:104d656f77setstatus: open -> closed
stage: patch review -> resolved
2022-01-30 23:16:564d656f77setcomponents: - C API
2022-01-30 21:59:444d656f77setkeywords: + patch
stage: patch review
pull_requests: + pull_request29212
2022-01-30 21:57:404d656f77create