[wrapper] multiline_read, pyrepl.readline compatible