Title: Explicitly import reduce from functools by saatviku · Pull Request #8 · machinezone/python_etf · GitHub
Open Graph Title: Explicitly import reduce from functools by saatviku · Pull Request #8 · machinezone/python_etf
X Title: Explicitly import reduce from functools by saatviku · Pull Request #8 · machinezone/python_etf
Description: This minor change is intended to make library run error free in Python 3. Python 3 dropped support for reduce() without using functools. Reduce() is available in functools in Python2 as well. https://docs.python.org/2/library/functools.html#functools.reduce "This is the same function as reduce(). It is made available in this module to allow writing code more forward-compatible with Python 3." Lack of this will throw an error in Python 3 : NameError: name 'reduce' is not defined
Open Graph Description: This minor change is intended to make library run error free in Python 3. Python 3 dropped support for reduce() without using functools. Reduce() is available in functools in Python2 as well. https...
X Description: This minor change is intended to make library run error free in Python 3. Python 3 dropped support for reduce() without using functools. Reduce() is available in functools in Python2 as well. https...
Opengraph URL: https://github.com/machinezone/python_etf/pull/8
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:990f9cfc-d312-2b8d-e70d-48d10471c3f4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DDA2:63E9D:8082E2:A52AC9:69920DD1 |
| html-safe-nonce | 85617d5cba0f32294e51ad91a3aa887a74c987996bbc0a76286ecf436436be8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREEyOjYzRTlEOjgwODJFMjpBNTJBQzk6Njk5MjBERDEiLCJ2aXNpdG9yX2lkIjoiMjMxMzc4MDU3NDQwNDM0OTM5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 015727461e75bf32240b76f920fb352d366038df865da7f60594bea444bb1d6a |
| hovercard-subject-tag | pull_request:586010202 |
| 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/machinezone/python_etf/pull/8/files |
| twitter:image | https://avatars.githubusercontent.com/u/19250999?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19250999?s=400&v=4 |
| og:image:alt | This minor change is intended to make library run error free in Python 3. Python 3 dropped support for reduce() without using functools. Reduce() is available in functools in Python2 as well. https... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/machinezone/python_etf git https://github.com/machinezone/python_etf.git |
| octolytics-dimension-user_id | 6372053 |
| octolytics-dimension-user_login | machinezone |
| octolytics-dimension-repository_id | 37169860 |
| octolytics-dimension-repository_nwo | machinezone/python_etf |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 37169860 |
| octolytics-dimension-repository_network_root_nwo | machinezone/python_etf |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width