Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude delimiter by default in readuntil; rename chomp option to keep #25646

Merged
merged 2 commits into from
Jan 22, 2018

Conversation

JeffBezanson
Copy link
Member

The first (less important) commit just renames the existing chomp argument to readline to keep, with the opposite meaning. The second commit adds the keep option to readuntil, and makes the function exclude the delimiter by default, to match readline.

Fixes #25633.

@JeffBezanson JeffBezanson added breaking This change will break code io Involving the I/O subsystem: libuv, read, write, etc. labels Jan 20, 2018
@JeffBezanson JeffBezanson merged commit 92bf8fd into master Jan 22, 2018
@JeffBezanson JeffBezanson deleted the jb/readuntilchomp branch January 22, 2018 17:31
@iamed2
Copy link
Contributor

iamed2 commented Feb 22, 2018

The examples in the docstring show the old behaviour.

@ararslan ararslan added the needs docs Documentation for this change is required label Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This change will break code io Involving the I/O subsystem: libuv, read, write, etc. needs docs Documentation for this change is required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants