◐ Shell
clean mode source ↗

Add test_poll.py from Cpython v3.11.2 by Masorubka1 · Pull Request #4888 · RustPython/RustPython

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@unittest.skip("TODO: RUSTPYTHON")
@unittest.skip("TODO: RUSTPYTHON, I forget why we're skipping this. @Masorubka1 do you know why?")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because rustpython fails filedescriptor reallocation

# trigger ufds array reallocation
for fd in rfds:
    pollster.unregister(fd)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@unittest.skip("TODO: RUSTPYTHON")
@unittest.skip("TODO: RUSTPYTHON, fd reallocation")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fanninpm adding reason will be nice, but I don't want to make them as burden for contributors