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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6e70857f-dc64-d452-273e-ceaab4d60e09 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EE0E:32A64E:1E0CDBD:2A65070:697A53FF |
| html-safe-nonce | a9b525bda3c74b600729a08e4fcf6aca9343c4c2e199006fa74e3dd4f33fe094 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTBFOjMyQTY0RToxRTBDREJEOjJBNjUwNzA6Njk3QTUzRkYiLCJ2aXNpdG9yX2lkIjoiNTk2ODAyOTE4NDY3MDk3OTA3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d9b6179d945e21b1bc2c4ccde30aa08add0fb7cca1a964e5d788243fc7149ad9 |
| hovercard-subject-tag | pull_request:793950360 |
| 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-control/python-control/pull/679/files |
| 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 | 6675d94efd2a33cdba9e6e611f931ac7eaa988d8fef14b7a663cc012c4501b42 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca995a95b56cf8bd27cc89fcea65d2ad787f53c1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width