Title: Remove old pythons and leverage @ operator by bnavigator · Pull Request #679 · python-control/python-control · GitHub
Open Graph Title: Remove old pythons and leverage @ operator by bnavigator · Pull Request #679 · python-control/python-control
X Title: Remove old pythons and leverage @ operator by bnavigator · Pull Request #679 · python-control/python-control
Description: We should finally let go of Python 2. It will allow us to use the matmul operator @ and make code more readable. As NumPy has deprecated Python 3.6 support a while ago (NEP 29), Conda recently dropped it and it will also reach end-of-life in the mainline Python this month, let's also stop testing Python 3.6. There is an important difference to consider when replacing np.dot or ndarray.dot with @: Multiplication by scalars is not allowed, use * instead. Stacks of matrices are broadcast together as if the matrices were elements, respecting the signature (n,k),(k,m)->(n,m):
Open Graph Description: We should finally let go of Python 2. It will allow us to use the matmul operator @ and make code more readable. As NumPy has deprecated Python 3.6 support a while ago (NEP 29), Conda recently drop...
X Description: We should finally let go of Python 2. It will allow us to use the matmul operator @ and make code more readable. As NumPy has deprecated Python 3.6 support a while ago (NEP 29), Conda recently drop...
Opengraph URL: https://github.com/python-control/python-control/pull/679
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:1e2dfa9a-c003-da97-6e7c-8e48d83868c8 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E5EE:1D9846:71EA4A:9DF70D:697A6BA1 |
| html-safe-nonce | e896aa8fffe567f35faf6a5a64bf473e28b138c94e41215fdfc410bf75b30337 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUVFOjFEOTg0Njo3MUVBNEE6OURGNzBEOjY5N0E2QkExIiwidmlzaXRvcl9pZCI6Ijg0MDUwMTIxNzI4MzY5NzU2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9482dab5a292a1b695957551200728023dfeb8f7950307c8b67a9a772003b280 |
| hovercard-subject-tag | pull_request:793950360 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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-control/python-control/pull/679/checks |
| twitter:image | https://avatars.githubusercontent.com/u/4623504?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4623504?s=400&v=4 |
| og:image:alt | We should finally let go of Python 2. It will allow us to use the matmul operator @ and make code more readable. As NumPy has deprecated Python 3.6 support a while ago (NEP 29), Conda recently drop... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4f4c032790588250388c2e36a0e1ea776c0a3f887d37d994e1ac3d7ea79d34ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06b3a5a9a6214e1e06e508d250d778cbaf17c577 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width