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

BUG: Ensure correct behavior for rows ending in delimiter in loadtxt #22847

Merged
merged 1 commit into from Dec 21, 2022

Conversation

charris
Copy link
Member

@charris charris commented Dec 21, 2022

Backport of #22836

If a row ends in a delimiter, add_fields can be called twice without any field actually being parsed. This causes issues with the field buffer setup.
Basically, I tried to be too smart, and now it needs a small fixup...

closes gh-22833

…umpy#22836)

If a row ends in a delimiter, `add_fields` can be called twice without
any field actually being parsed.  This causes issues with the field
buffer setup.

closes numpygh-22833
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Dec 21, 2022
@charris charris added this to the 1.24.1 release milestone Dec 21, 2022
@charris charris merged commit d6dbe36 into numpy:maintenance/1.24.x Dec 21, 2022
@charris charris deleted the backport-22836 branch December 21, 2022 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants