From: normalperson@... Date: 2015-12-27T05:56:04+00:00 Subject: [ruby-core:72504] [Ruby trunk - Bug #11885] [Open] [PATCH] IO#readpartial rejects bad args Issue #11885 has been reported by Eric Wong. ---------------------------------------- Bug #11885: [PATCH] IO#readpartial rejects bad args https://bugs.ruby-lang.org/issues/11885 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED ---------------------------------------- IO#readpartial rejects bad args Sometimes a sleepy developer will want to swap read_nonblock for readpartial forget to remove "exception: false" * io.c (io_getpartial): remove unused kwarg from template * test/ruby/test_io.rb (test_readpartial_bad_args): new ---Files-------------------------------- 0001-IO-readpartial-rejects-bad-args.patch (2.06 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: