[Rpm-maint] [rpm-software-management/rpm] Improved python support: enums are now enums with all additional goodies. (#1309)

KOLANICH notifications at github.com
Wed Aug 5 07:27:04 UTC 2020


So we can't declutter and eliminate the duplication.

IMHO it makes no sense to make the cluttered enums into python enums because they are a bit faster, so the dev can decide what he needs more, convenience to debug or performance and can switch between them by using the appropriate ctors if needed. That's why I haven't converted the APIs implemented in python and returning the ints belonging to the enums.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1309#issuecomment-669029978
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200805/282d766f/attachment.html>


More information about the Rpm-maint mailing list