def __new__(cls, value):
        if isinstance(value, str):
            return str.__new__(cls, value)
        return str.__new__(cls, value, DEFAULT_OUTPUT_ENCODING)
Does the degenerate case for the before-after sort work?
dataset/ETHPy150Open socketubs/pyhn/pyhn/lib/bs4_py3/element.py/NavigableString.__new__--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/tasks/tests/test_topological_sort.py/TopologicalSortTestCase.test_before_after_sort_3