Title: 'in' in the control flow 'for ... in ...' syntax is sometimes recognized as a logical operator · Issue #193 · MagicStack/MagicPython · GitHub
Open Graph Title: 'in' in the control flow 'for ... in ...' syntax is sometimes recognized as a logical operator · Issue #193 · MagicStack/MagicPython
X Title: 'in' in the control flow 'for ... in ...' syntax is sometimes recognized as a logical operator · Issue #193 · MagicStack/MagicPython
Description: From @tweakimp in microsoft/vscode#85271 VSCode Version: 1.40.1 and 1.41.0-insider OS Version: Win 10 64bit Steps to Reproduce: Type in this python code and use Developer: Inspect TM Scopes to look at the in keyword in each line. x = [y ...
Open Graph Description: From @tweakimp in microsoft/vscode#85271 VSCode Version: 1.40.1 and 1.41.0-insider OS Version: Win 10 64bit Steps to Reproduce: Type in this python code and use Developer: Inspect TM Scopes to look...
X Description: From @tweakimp in microsoft/vscode#85271 VSCode Version: 1.40.1 and 1.41.0-insider OS Version: Win 10 64bit Steps to Reproduce: Type in this python code and use Developer: Inspect TM Scopes to look...
Opengraph URL: https://github.com/MagicStack/MagicPython/issues/193
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'in' in the control flow 'for ... in ...' syntax is sometimes recognized as a logical operator","articleBody":"From @tweakimp in https://github.com/microsoft/vscode/issues/85271\r\n\r\n- VSCode Version: 1.40.1 and 1.41.0-insider\r\n- OS Version: Win 10 64bit\r\n\r\nSteps to Reproduce:\r\nType in this python code and use `Developer: Inspect TM Scopes` to look at the `in` keyword in each line.\r\n```python\r\nx = [y + 3 for y in range(3)] # 'in' is recognized as logical operator, but is part of the control flow\r\nz = any(y == 3 for y in range(7)) # 'in' is rightfully recognized as control flow operator\r\n\r\nfor a in x: # 'in' is recognized as logical operator, but is part of the control flow\r\n if a in x: # 'in' is rightfully recognized as logical operator\r\n pass\r\n```\r\n\u003c!-- Launch with `code --disable-extensions` to check. --\u003e\r\nDoes this issue occur when all extensions are disabled?: Yes\r\n","author":{"url":"https://github.com/alexr00","@type":"Person","name":"alexr00"},"datePublished":"2019-11-25T10:11:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/193/MagicPython/issues/193"}
| 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:85fba6af-92c8-f433-32f4-6e67f74ace81 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E892:5BE34:B7B5E2:10721DF:6A634334 |
| html-safe-nonce | 56130ac683a6a59281d538736fd4c2ebcb280ee830b180f7bb666439ad6dc1f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODkyOjVCRTM0OkI3QjVFMjoxMDcyMURGOjZBNjM0MzM0IiwidmlzaXRvcl9pZCI6IjMwNjcwOTU2NTg5MjUzNDM1NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3ed77f8dcb127462e2a7a12ec2b2698967adf36c76b7b88280f4cacb10b95a59 |
| hovercard-subject-tag | issue:527980925 |
| 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/MagicStack/MagicPython/193/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bccd61545d6d7ac602e55da6bd8168c906f34b36d2fef62c9ba55c4fc9605f55/MagicStack/MagicPython/issues/193 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bccd61545d6d7ac602e55da6bd8168c906f34b36d2fef62c9ba55c4fc9605f55/MagicStack/MagicPython/issues/193 |
| og:image:alt | From @tweakimp in microsoft/vscode#85271 VSCode Version: 1.40.1 and 1.41.0-insider OS Version: Win 10 64bit Steps to Reproduce: Type in this python code and use Developer: Inspect TM Scopes to look... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexr00 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| go-import | github.com/MagicStack/MagicPython git https://github.com/MagicStack/MagicPython.git |
| octolytics-dimension-user_id | 14324950 |
| octolytics-dimension-user_login | MagicStack |
| octolytics-dimension-repository_id | 43982620 |
| octolytics-dimension-repository_nwo | MagicStack/MagicPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43982620 |
| octolytics-dimension-repository_network_root_nwo | MagicStack/MagicPython |
| 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 | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width