Skip to content

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

Merged
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
charris:backport-22836
Dec 21, 2022
Merged

BUG: Ensure correct behavior for rows ending in delimiter in loadtxt #22847
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
charris:backport-22836

Conversation

@charris
Copy link
Copy Markdown
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.

2 participants