Skip to content

(4.x) Merge 3.4#21480

Merged
alalek merged 5 commits intoopencv:4.xfrom
alalek:merge-3.4
Jan 19, 2022
Merged

(4.x) Merge 3.4#21480
alalek merged 5 commits intoopencv:4.xfrom
alalek:merge-3.4

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Jan 19, 2022

#21468 from VadimLevin:dev/vlevin/handle-pymodule-add-object-result
#21470 from alalek:winpack_dldt_fix_21469

Previous "Merge 3.4": #21430

alalek and others added 5 commits January 18, 2022 08:20
Comment from Python documentation:
Unlike other functions that steal references, `PyModule_AddObject()` only
decrements the reference count of value on success.
This means that its return value must be checked, and calling code must
`Py_DECREF()` value manually on error.
@alalek
Copy link
Copy Markdown
Member Author

alalek commented Jan 19, 2022

👍

@alalek alalek merged commit 6ae8103 into opencv:4.x Jan 19, 2022
@alalek alalek mentioned this pull request Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants