Looking for comments on a v3.8 change in behavior.

The PMT library in GNU Radio contains a function is_dict(x) that returns a
boolean if the object x is a dictionary. It also returns True if x is a
pair. This is a longstanding design oddity or bug (take your pick).

In v3.9 and higher, is_dict(x) will return False if x is not a dictionary,
which is what you would expect. None of the OOT packages I've looked at
depend on the current behavior. In fact, some of them would be surprised by
it. So, I am leaning toward backporting this to v3.8.

Is there anyone/anysoftware that depends on is_dict(x) returning True if x
is a pair?

Reply via email to