Title: Passing code to futurize as a string · Issue #606 · PythonCharmers/python-future · GitHub
Open Graph Title: Passing code to futurize as a string · Issue #606 · PythonCharmers/python-future
X Title: Passing code to futurize as a string · Issue #606 · PythonCharmers/python-future
Description: futurize works on files. But can I run it on code strings? E.g. is there a function I can import which takes source code (string) as input and returns futurized code (as a string)? If not, where would I start to adapt the futurize script...
Open Graph Description: futurize works on files. But can I run it on code strings? E.g. is there a function I can import which takes source code (string) as input and returns futurized code (as a string)? If not, where wo...
X Description: futurize works on files. But can I run it on code strings? E.g. is there a function I can import which takes source code (string) as input and returns futurized code (as a string)? If not, where wo...
Opengraph URL: https://github.com/PythonCharmers/python-future/issues/606
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Passing code to futurize as a string","articleBody":"`futurize` works on files. But can I run it on code strings? E.g. is there a function I can import which takes source code (string) as input and returns futurized code (as a string)?\r\n\r\nIf not, where would I start to adapt the `futurize` script to do this?","author":{"url":"https://github.com/shobrook","@type":"Person","name":"shobrook"},"datePublished":"2022-05-29T15:43:24Z","url":"https://github.com/PythonCharmers/python-future/issues/606"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:961e9619-ba15-b50f-1fbf-3a28f3998fcb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82A8:12EFD7:2F15FAB:3CCD99B:6B041557 |
| html-safe-nonce | 460970ce253926e41954b87fa2ad7a71272c60f4c98c0cd32295d1103dad9322 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkE4OjEyRUZENzoyRjE1RkFCOjNDQ0Q5OUI6NkIwNDE1NTciLCJ2aXNpdG9yX2lkIjoiNTkzODk5MDUyODU1NjQzODg3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7b1e6062961c61cd1abd700a175c733193791fb3ffc7f4a40df4041dabe07697 |
| hovercard-subject-tag | issue:1251922573 |
| 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/606/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cf4e57532395ad413c1138469a4f9a833d338e032ca59486649c2ee6488c13c1/PythonCharmers/python-future/issues/606 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cf4e57532395ad413c1138469a4f9a833d338e032ca59486649c2ee6488c13c1/PythonCharmers/python-future/issues/606 |
| og:image:alt | futurize works on files. But can I run it on code strings? E.g. is there a function I can import which takes source code (string) as input and returns futurized code (as a string)? If not, where wo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shobrook |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width