Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Disable implicit conversion from float to array index#1363

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@tminka
Copy link
Contributor

What does this implement/fix? Explain your changes.

A float value as an array index will raise an error. Fixes an oversight in#1343

Does this close any currently open issues?

The comment in#1342

Any other comments?

...

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Add yourself toAUTHORS
  • Updated theCHANGELOG

return0;
}

privatestaticIntPtrRaiseTypeError(IntPtridx)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

NIT:RaiseIndexMustBeIntegerError

@tminkatminkaforce-pushed theno-implicit-float-to-index branch from4f18f9e to657d675CompareJanuary 21, 2021 20:44
@lostmsulostmsu merged commit32fdc9c intopythonnet:masterJan 21, 2021
@tminkatminka deleted the no-implicit-float-to-index branchJanuary 21, 2021 21:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@lostmsulostmsulostmsu approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@tminka@lostmsu

[8]ページ先頭

©2009-2025 Movatter.jp