Title: The function file() which is deprecated in python3 cannot be fixed by the futurize. · Issue #642 · PythonCharmers/python-future · GitHub
Open Graph Title: The function file() which is deprecated in python3 cannot be fixed by the futurize. · Issue #642 · PythonCharmers/python-future
X Title: The function file() which is deprecated in python3 cannot be fixed by the futurize. · Issue #642 · PythonCharmers/python-future
Description: I am trying to transfer a python2 project to python3, but the function file cannot be rewrite as open which is compatible in both python2 and python3. I found another tool , modernize, can do it.
Open Graph Description: I am trying to transfer a python2 project to python3, but the function file cannot be rewrite as open which is compatible in both python2 and python3. I found another tool , modernize, can do it.
X Description: I am trying to transfer a python2 project to python3, but the function file cannot be rewrite as open which is compatible in both python2 and python3. I found another tool , modernize, can do it.
Opengraph URL: https://github.com/PythonCharmers/python-future/issues/642
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The function file() which is deprecated in python3 cannot be fixed by the futurize.","articleBody":"I am trying to transfer a python2 project to python3, but the function file cannot be rewrite as open which is compatible in both python2 and python3. I found another tool , modernize, can do it.","author":{"url":"https://github.com/bulbyang","@type":"Person","name":"bulbyang"},"datePublished":"2024-07-23T03:35:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/642/python-future/issues/642"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4844936-42f1-7136-b1d3-6dca360aaf82 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C9E:73878:EFE990:13E063A:696EB87F |
| html-safe-nonce | b6d7e0bc03183416b86fe292f01d7829b4da8fba9e7fad10f721cd70cf832f57 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzlFOjczODc4OkVGRTk5MDoxM0UwNjNBOjY5NkVCODdGIiwidmlzaXRvcl9pZCI6Ijc1MTM4NTkxNTA4MjgxODk4MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ce6de7a39cfa8a61760fd3998d0d681e4a25c70713c1df0868420187992869ba |
| hovercard-subject-tag | issue:2424168800 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/PythonCharmers/python-future/642/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e610468bed8f409730e123548e3624c1bd299f45dfdd185d78dc56b43860488c/PythonCharmers/python-future/issues/642 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e610468bed8f409730e123548e3624c1bd299f45dfdd185d78dc56b43860488c/PythonCharmers/python-future/issues/642 |
| og:image:alt | I am trying to transfer a python2 project to python3, but the function file cannot be rewrite as open which is compatible in both python2 and python3. I found another tool , modernize, can do it. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bulbyang |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/PythonCharmers/python-future git https://github.com/PythonCharmers/python-future.git |
| octolytics-dimension-user_id | 3365815 |
| octolytics-dimension-user_login | PythonCharmers |
| octolytics-dimension-repository_id | 11403699 |
| octolytics-dimension-repository_nwo | PythonCharmers/python-future |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11403699 |
| octolytics-dimension-repository_network_root_nwo | PythonCharmers/python-future |
| 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 | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width