-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
reverse(zip(its...))
now checks lengths of constituent iterators for equality
#50435
Conversation
I think |
3073e20
to
b2879af
Compare
@nanosoldier |
The package evaluation job you requested has completed - possible new issues were detected. |
looks pretty safe actually? among the packages that failed only on this branch,
I did not see any use of I also did a code search on JuliaHub and I find use here The latter two it appears, as far as I can tell, to be using the pattern safely and already ensuring that the lengths being zipped match. Only |
bump |
bump |
bump |
b2879af
to
06b3af4
Compare
Throwing it on the triage label just in case (and to make sure it doesn't get forgotten) IMO it's a bugfix. |
can we merge or close? |
thanks for the reminder! |
fixes #45085, fixes #25583, as per suggested by @Moelf
Despite the fact that this might cause code to fail that previously worked, I think this is a bugfix not a breaking change.
In particular,
Iterators.reverse
says:And in many cases, the previous behavior of
reverse(::Zip)
would not return "the same collection"