-
-
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
Add IteratorSize for Char #29819
Add IteratorSize for Char #29819
Conversation
CI fails in one case and it seems unrelated (but I am not 100% sure, as the place of the error is strange and it should not happen). |
Seems reasonable to me. Does anyone with strong opinions about broadcasting want to chime in? @mbauman, @JeffBezanson? |
+1 for fixing broadcasting, but maybe |
Agreed this is a change - that is why I have said that I am not sure what is the intended behavior. I understood that the general design intention was that Also I think that we should have that |
I really don’t want to make characters iterable. We wanted to make numbers non-iterable but it was too disruptive so let’s not make another scalar type iterable for no reason. |
But they already are? |
My understanding is that "we are", but only half-way. This PR makes I would also prefer |
Given that |
Sigh. |
Any decision on this change? |
@KristofferC Shall I make a PR to news, or this is now done in some other way? |
Yes, PR to add an entry to that file would be perfect. Thank you! |
This reverts commit 9eda36f.
See discussion in https://discourse.julialang.org/t/broadcasting-and-single-characters/16836.
I am not sure if the current behavior is indented, or what I propose in this PR is intended.
This can be classified as breaking change or bug fix - I am not sure what is the policy for such PRs after Julia 1.0 release.