From https://github.com/IronLanguages/ironpython2/issues/92: ```py import os with open("temp.txt", "wb+") as f: f.write(b"test") f.seek(os.SEEK_SET, 0) x = os.dup(f.fileno()) g = os.fdopen(x, "rb") assert g.read() == b"test" ``` fails with: > io.UnsupportedOperation: File not open for reading