<p></p>
<p>So we can't declutter and eliminate the duplication.</p>
<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1309#issuecomment-669029978">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU6GKZ2ZVRFY6UDQFL3R7ECURANCNFSM4OWTDJUA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU23XU547D243FOJYJ3R7ECURA5CNFSM4OWTDJUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE7QJMWQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1309#issuecomment-669029978",
"url": "https://github.com/rpm-software-management/rpm/pull/1309#issuecomment-669029978",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>