graalvm:StringIO#readpartial reads after ungetc without data in the buffer
