Title: Deprecation warnings due to invalid escape sequences in python 3.8 · Issue #853 · bpython/bpython · GitHub
Open Graph Title: Deprecation warnings due to invalid escape sequences in python 3.8 · Issue #853 · bpython/bpython
X Title: Deprecation warnings due to invalid escape sequences in python 3.8 · Issue #853 · bpython/bpython
Description: Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/asottile/pyupgrade/ I will raise a PR for...
Open Graph Description: Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/a...
X Description: Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/a...
Opengraph URL: https://github.com/bpython/bpython/issues/853
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecation warnings due to invalid escape sequences in python 3.8","articleBody":"Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/asottile/pyupgrade/\r\n\r\nI will raise a PR for this\r\n\r\n```\r\nfind . -iname '*.py' | xargs -P4 -I{} python3 -Wall -m py_compile {} \r\n./bpython/line.py:193: DeprecationWarning: invalid escape sequence \\s\r\n current_method_definition_name_re = LazyReCompile(\"def\\s+([a-zA-Z_][\\w]*)\")\r\n./bpython/cli.py:943: DeprecationWarning: invalid escape sequence \\T\r\n elif key in (\"KEY_NPAGE\", \"\\T\"): # page_down or \\T\r\n./bpython/cli.py:947: DeprecationWarning: invalid escape sequence \\S\r\n elif key in (\"KEY_PPAGE\", \"\\S\"): # page_up or \\S\r\n```","author":{"url":"https://github.com/tirkarthi","@type":"Person","name":"tirkarthi"},"datePublished":"2020-10-11T08:41:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/853/bpython/issues/853"}
| 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:e94cc162-5913-b8d6-9aae-14a70db3349d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 879A:F1D29:B31AC9:FA6F57:6968A819 |
| html-safe-nonce | 4173ab1aef050f7c3a0c623cc6a987daba590f69cd6b14e06d5faad1ac93ede5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzlBOkYxRDI5OkIzMUFDOTpGQTZGNTc6Njk2OEE4MTkiLCJ2aXNpdG9yX2lkIjoiNDg0MjI5NDc0MTQ0MjI3NTM1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 18e99ef024056cd5a103ed4c0071d22d04b914dec2b2a3465c83dd8fd3ad6d94 |
| hovercard-subject-tag | issue:718789738 |
| 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/bpython/bpython/853/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35b29fa4592b3cc9987f3c263f61d41c3a4fefbd522d5af07edfab1fbdb0531e/bpython/bpython/issues/853 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35b29fa4592b3cc9987f3c263f61d41c3a4fefbd522d5af07edfab1fbdb0531e/bpython/bpython/issues/853 |
| og:image:alt | Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tirkarthi |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdc7c66bd36a6c12eb8e771e806db863266e573fc299e77f27505a768d4f8a98 |
| turbo-cache-control | no-preview |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| 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 | 3223a6503d318917691422cdadfbe16cd8fb21e5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width