Title: Allow `__index__` only for integral dtypes on Scalars by eriknw · Pull Request #481 · python-graphblas/python-graphblas · GitHub
Open Graph Title: Allow `__index__` only for integral dtypes on Scalars by eriknw · Pull Request #481 · python-graphblas/python-graphblas
X Title: Allow `__index__` only for integral dtypes on Scalars by eriknw · Pull Request #481 · python-graphblas/python-graphblas
Description: I noticed Scalar.__index__ wasn't quite correct. It should be strict and not work for float dtypes. Also, update how we check whether inputs are integral or not. Also, update versions.
Open Graph Description: I noticed Scalar.__index__ wasn't quite correct. It should be strict and not work for float dtypes. Also, update how we check whether inputs are integral or not. Also, update versions.
X Description: I noticed Scalar.__index__ wasn't quite correct. It should be strict and not work for float dtypes. Also, update how we check whether inputs are integral or not. Also, update versions.
Opengraph URL: https://github.com/python-graphblas/python-graphblas/pull/481
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/*id(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:77b0d1ff-c753-ccec-cd90-2a471eccdc41 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A1A2:70438:3133951:420ABA7:6971DF66 |
| html-safe-nonce | 9a21f19ebf8eee17ab581b5a061c8dafc8f8de0e93a812103e010308d3ffec88 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUEyOjcwNDM4OjMxMzM5NTE6NDIwQUJBNzo2OTcxREY2NiIsInZpc2l0b3JfaWQiOiI1OTc1OTgyMTc1NjEyNDI4MTM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 87d1899026eb8a9fc4204c38eb8e3bfe315fadce1213e43f2d773a55fb3a9bf8 |
| hovercard-subject-tag | pull_request:1435441312 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-graphblas/python-graphblas/pull/481 |
| twitter:image | https://opengraph.githubassets.com/6f2ba13a79b3036ca7689e79bce7879d87cf62902e0ae80d39be64ca60b2f8f0/python-graphblas/python-graphblas/pull/481 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6f2ba13a79b3036ca7689e79bce7879d87cf62902e0ae80d39be64ca60b2f8f0/python-graphblas/python-graphblas/pull/481 |
| og:image:alt | I noticed Scalar.__index__ wasn't quite correct. It should be strict and not work for float dtypes. Also, update how we check whether inputs are integral or not. Also, update versions. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eriknw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 683712716975b3393656edf09255a1d488d0e68ab7b9ac97e40ecf40036f696c |
| turbo-cache-control | no-preview |
| go-import | github.com/python-graphblas/python-graphblas git https://github.com/python-graphblas/python-graphblas.git |
| octolytics-dimension-user_id | 103965858 |
| octolytics-dimension-user_login | python-graphblas |
| octolytics-dimension-repository_id | 221014819 |
| octolytics-dimension-repository_nwo | python-graphblas/python-graphblas |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 221014819 |
| octolytics-dimension-repository_network_root_nwo | python-graphblas/python-graphblas |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ed99da4e2de688dd1056894c1eccd4c82c6bbbfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width