Issue 27342: Clean up some Py_XDECREFs in rangeobject.c and bltinmodule.c (original) (raw)

Issue27342

Created on 2016-06-17 07:39 by xiang.zhang, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cleanup_some_xdecrefs.patch xiang.zhang,2016-06-17 07:39 review
cleanup_some_xdecrefs_v2.patch xiang.zhang,2016-06-17 15:26 review
Messages (5)
msg268711 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2016-06-17 07:39
Some Py_XDECREFs in rangeobject.c and bltinmodule.c are not necessary. Py_DECREF is enough. Clean up them.
msg268724 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-06-17 13:19
Mostly good except longrangeiter_dealloc().
msg268729 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2016-06-17 15:26
Thanks for review. Eliminate the wrongs ones.
msg268744 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2016-06-17 22:40
v2 looks correct.
msg268768 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-06-18 06:44
New changeset 52931189d7ee by Serhiy Storchaka in branch 'default': Issue #27342: Replaced some Py_XDECREFs with Py_DECREFs. https://hg.python.org/cpython/rev/52931189d7ee
History
Date User Action Args
2022-04-11 14:58:32 admin set github: 71529
2016-06-18 06:45:18 serhiy.storchaka set status: open -> closedresolution: fixedstage: patch review -> resolved
2016-06-18 06:44:28 python-dev set nosy: + python-devmessages: +
2016-06-17 22:40:07 rhettinger set nosy: + rhettingermessages: +
2016-06-17 15:26:00 xiang.zhang set files: + cleanup_some_xdecrefs_v2.patchmessages: +
2016-06-17 13:19:14 serhiy.storchaka set type: enhancementcomponents: + Interpreter Coreversions: + Python 3.6nosy: + mark.dickinsonmessages: + stage: patch review
2016-06-17 08:36:31 serhiy.storchaka set nosy: + serhiy.storchaka
2016-06-17 07:39:28 xiang.zhang create