• Kirill Smelkov's avatar
    context: Switch to comparing value keys by identity instead of equality · 281defb2
    Kirill Smelkov authored
    It will be some extra work to define general equality when moving
    context code into C. However that is unnecessary as usually a key is
    specific to one particular package, and value associated with that key
    is struct, or some other aggregate, that is holding all package-specific
    context values.
    
    Switching to compare keys by identity preserves that use-case while
    making transition to C easier.
    281defb2
_context.pyx 11.7 KB