[Rpm-maint] [rpm-software-management/rpm] Remove `md_dict` from all rpmfoo_Type's (PR #3824)
Karolina Surma
notifications at github.com
Fri Jun 20 12:19:34 UTC 2025
Remove the `PyObject *md_dict` members that were added to make RPM's Python types "look like PyModuleObject" in 2002 in 8681309f1a19ebe597464aa3d1304bef06d3790e (CVS patchset 5936).
Note that PyModuleObject is an internal implementation detail of Python, and subject to change. Also, accessing the same object as both `rpmFoo_s*` and `PyModuleObject*` can run afoul of C pointer aliasing rules.
The struct member is undocumented and unused in the rest of the repository.
---
This is yet another atomic change coming from the Python module isolation work.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/3824
-- Commit Summary --
* Remove `md_dict` from all rpmfoo_Type's
-- File Changes --
M python/rpmarchive-py.c (1)
M python/rpmds-py.c (1)
M python/rpmfd-py.c (1)
M python/rpmfiles-py.c (2)
M python/rpmii-py.c (1)
M python/rpmkeyring-py.c (2)
M python/rpmmi-py.c (1)
M python/rpmps-py.c (1)
M python/rpmstrpool-py.c (1)
M python/rpmte-py.c (1)
M python/rpmts-py.c (1)
M python/rpmver-py.c (1)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/3824.patch
https://github.com/rpm-software-management/rpm/pull/3824.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3824
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3824 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250620/2f976ffc/attachment.htm>
More information about the Rpm-maint
mailing list