align readuntil
and readline
?
#25633
Labels
deprecation
This change introduces or involves a deprecation
io
Involving the I/O subsystem: libuv, read, write, etc.
We changed
readline
to remove the trailing newline character by default, butreaduntil
still includes the delimiter. Arguably, they should behave the same.readline
also has a keyword argumentchomp
(defaulting to true) to control this. This is a slightly strange name, and is also very nearly a negative option (like saying "dont_include_delimiter=true"). This could be changed tokeep
, which would instead specify whether to keep the delimiter.The text was updated successfully, but these errors were encountered: