[Rpm-maint] [rpm-software-management/rpm] Improved python support: enums are now enums with all additional goodies. (#1309)
notifications at github.com
Tue Aug 4 15:40:54 UTC 2020
1. What clutters the namespace is the enums values generated by swig, because they are not really python enums and they are not namespaced. IDK if we can just break compatibility and get rid of them. The proposed solution is to setup swig to place them into a separate module (is it possible?), and then import that module and convert it, and not explicitly expose it.
2. in some places, where we don't directly interface the cext, we can, by just wrapping the returned values into the enum ctor
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint