removing header tag data typing entirely, and layering in type coercion on every possible access from the bindings
The "coercion" issue wrto data typing and arity in rpm-python
is totally hysterical. The code (as implemented) was whacked into
rpm-python and is totally deficient of design (aka a "hack").
See the coercion as it exists in python/header.c
I was attempted better engineering 3+ years ago when rpm-5.0 was
released by essentially removing header tag data typing entirely,
and layering in type coercion on every possible access from
the bindings. You can you can see the efforts (from pre-rpm-5.0 releasing) marked
with this (see system.h)
/**
* Use the tag data type compiled into rpm, not the type from the header.
*/
#undef SUPPORT_
It's not a hard change to remove data typing everywhere in RPM bindings.
However, it is a profound change.
Blueprint information
- Status:
- Started
- Approver:
- Jeff Johnson
- Priority:
- Medium
- Drafter:
- devzero2000
- Direction:
- Approved
- Assignee:
- Jeff Johnson
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Deployment
- Milestone target:
- None
- Started by
- Jeff Johnson
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Work Items
Dependency tree
* Blueprints in grey have been implemented.