<p></p>
<ol>
<li>
<p>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.</p>
</li>
<li>
<p>in some places, where we don't directly interface the cext, we can, by just wrapping the returned values into the enum ctor</p>
</li>
</ol>

<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-668671569">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZUYXXV6HSXKH7PTWPY3R7ATYNANCNFSM4OWTDJUA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU46EXD5UBHNYCRQFFLR7ATYNA5CNFSM4OWTDJUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE7NR4UI.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-668671569",
"url": "https://github.com/rpm-software-management/rpm/pull/1309#issuecomment-668671569",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>