-
Notifications
You must be signed in to change notification settings - Fork 0
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
StopIteration when creating a large frame #1
Comments
Many thanks for isolating this issue. I cannot, however, reproduce it; might there be some context missing in how you were using it? I have added a test repeating this same scenario: |
Interesting! I am still able to reproduce it. Here is the full traceback: import frame_fixtures as ff
ff.__version__
# '0.2.0'
f1 = ff.parse('s(200000,4)|i(I,int)|c(I,str)|v(str)') Raises:
|
Very strange. Can you try a few different size beyond 200k to see if it always fails over that threshold? |
Interestingly, I cloned the repo and ran the test you added, and it passes for me! I am however able to reproduce the issue by changing the test: def test_large_a() -> None:
import frame_fixtures as ff
f1 = ff.parse('s(200000,4)|i(I,int)|c(I,str)|v(str)')
assert f1.shape == (200000, 4) |
Actually, I take that back. I reverted my change and now the original test is failing for me too. I am very confused. |
I have tried with |
Very strange! |
I ran into this while trying to build a large frame for performance testing. I think it's a bug?
Raises
builtins.RuntimeError: generator raised StopIteration
.The text was updated successfully, but these errors were encountered: