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

next(iter(S.Integers*S.Integers)) hangs (expected (0, 0), ...) #10497

Open
smichr opened this issue Jan 30, 2016 · 1 comment · Fixed by diofant/diofant#276
Open

next(iter(S.Integers*S.Integers)) hangs (expected (0, 0), ...) #10497

smichr opened this issue Jan 30, 2016 · 1 comment · Fixed by diofant/diofant#276
Labels

Comments

@smichr
Copy link
Member

smichr commented Jan 30, 2016

While having finite and infinite set does not cause problems, having only two does

>>> next(iter(Range(3,5)*Range(1,3)))
(3, 1)
>>> next(iter(Range(3,5)*S.Integers))
(3, 0)
>>> next(iter(Range(3,5)*S.Integers*S.Integers))
(3, 0, 0)
>>> next(iter(S.Integers*S.Integers))
...hangs
skirpichev added a commit to diofant/diofant that referenced this issue Jan 30, 2016
skirpichev added a commit to diofant/diofant that referenced this issue Feb 22, 2016
skirpichev added a commit to skirpichev/diofant that referenced this issue May 14, 2016
skirpichev added a commit to skirpichev/diofant that referenced this issue Jun 15, 2016
skirpichev added a commit to skirpichev/diofant that referenced this issue Jun 15, 2016
@oscarbenjamin
Copy link
Contributor

All the examples with Integers hang now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants