Title: IDLE: Run ... Customized strips backslashes from arguments · Issue #93016 · python/cpython · GitHub
Open Graph Title: IDLE: Run ... Customized strips backslashes from arguments · Issue #93016 · python/cpython
X Title: IDLE: Run ... Customized strips backslashes from arguments · Issue #93016 · python/cpython
Description: PART 1/2 Actions In editor, do "Run... Customized" In text box, Paste or type a valid Windows path (e.g.: c:\Users, \\server\share) Select "OK" Expected response: script receives argument as entered without modification just as it does w...
Open Graph Description: PART 1/2 Actions In editor, do "Run... Customized" In text box, Paste or type a valid Windows path (e.g.: c:\Users, \\server\share) Select "OK" Expected response: script receives argument as entere...
X Description: PART 1/2 Actions In editor, do "Run... Customized" In text box, Paste or type a valid Windows path (e.g.: c:\Users, \\server\share) Select "OK" Expected response: script receive...
Opengraph URL: https://github.com/python/cpython/issues/93016
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IDLE: Run ... Customized strips backslashes from arguments","articleBody":"### PART 1/2\r\n**Actions**\r\nIn editor, do \"Run... Customized\"\r\nIn text box, Paste or type a valid Windows path (e.g.: `c:\\Users`, `\\\\server\\share`)\r\nSelect \"OK\"\r\n\r\n**Expected response:**\r\nscript receives argument as entered without modification just as it does when run on the command line (e.g.: `python prog.py c:\\users`)\r\n\r\n**Actual response:**\r\nscript receives argument with backslashes treated as escape characters (e.g.: `c:users`, `\\servershare`) \r\n\r\n**Workaround:**\r\nargument is not altered if entered in quotes. This is not the same behavior as the command line where quotes are accepted as part of the argument.\r\n\r\n### Part 2/2\r\n**Actions**\r\nIn editor, do \"Run... Customized\"\r\n\r\n**Expected response:**\r\ntext box is populated with previous entry, a legal windows path (e.g. `c:\\Users)\r\n\r\n**Actual response:**\r\ntext box is populated with previous entry mangled as above surrounded by curly braces (e.g.: `{c:users}`, `{\\serverpath}`). If workaround above is used, then the string is correct, but quotes are gone and curly braces are present (e.g.: `{c:\\users}`, `{\\\\server\\share}`\r\n\r\n\r\n### System information\r\nWindows 10 Home x86-64 (21H1 build 19043.1706)\r\nIdle version 3.10.4\r\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-157635\n* gh-158049\n* gh-158050\n* gh-159083\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/davidyorke","@type":"Person","name":"davidyorke"},"datePublished":"2022-05-20T14:16:45Z","url":"https://github.com/python/cpython/issues/93016"}
| 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:d66cbfa2-cc6c-7dc7-0ff8-f3179d2a23f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86D2:1C94F:2CE8468:398E9C1:6B0200EF |
| html-safe-nonce | 023c36e2d57b987d6869fd05b43215e97d01e91c09c3ac3e7cc3327e09181249 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkQyOjFDOTRGOjJDRTg0Njg6Mzk4RTlDMTo2QjAyMDBFRiIsInZpc2l0b3JfaWQiOiIxNzM0ODYzMzIzMTQ3Nzk4ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 84b364b96ad9e4223c90b3d83648cc24fe794aaabd52d2dbc059e31b87cd73b2 |
| hovercard-subject-tag | issue:1243213343 |
| 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/python/cpython/93016/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ff72009de3667017be2614c22798f8a6ec439e70f72b8187fd8c898e9ce85cb/python/cpython/issues/93016 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ff72009de3667017be2614c22798f8a6ec439e70f72b8187fd8c898e9ce85cb/python/cpython/issues/93016 |
| og:image:alt | PART 1/2 Actions In editor, do "Run... Customized" In text box, Paste or type a valid Windows path (e.g.: c:\Users, \\server\share) Select "OK" Expected response: script receives argument as entere... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidyorke |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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:
Viewport: width=device-width