-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Obtaining string address results in IndexError #7860
Comments
From the changelog:
|
This always was an edge-case, not that this code never worked for |
@trustable-code there is no accessing in the sample I provided, so the changelog doesn't explain the behaviour. I'd expect taking address not to inject any runtime checks, especially when it's |
I agree and this will be done, but actually it never was possible. For strings it only worked because |
Isn't the problem here that we don't offer a separate call returning the starting address of the string? I don't see why the combination |
As Araq mentioned, you should use |
Commit: c12726d
This code now produces IndexError, even though I think it shouldn't?
The text was updated successfully, but these errors were encountered: