work around PyPy's lack of PyFrozenSet_*() C-API