Title: @classmethod decorators not being properly treated · Issue #499 · microsoft/vscode-python · GitHub
Open Graph Title: @classmethod decorators not being properly treated · Issue #499 · microsoft/vscode-python
X Title: @classmethod decorators not being properly treated · Issue #499 · microsoft/vscode-python
Description: Environment data VS Code version: 1.19.0 Python Extension version: Python Version: 3.6 OS and version: osx 10.13 I have a class defined as below class A(object): @classmethod def load(cls, pk): pass a = A() Actual behavior When I type a....
Open Graph Description: Environment data VS Code version: 1.19.0 Python Extension version: Python Version: 3.6 OS and version: osx 10.13 I have a class defined as below class A(object): @classmethod def load(cls, pk): pas...
X Description: Environment data VS Code version: 1.19.0 Python Extension version: Python Version: 3.6 OS and version: osx 10.13 I have a class defined as below class A(object): @classmethod def load(cls, pk): pas...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/499
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@classmethod decorators not being properly treated","articleBody":"## Environment data\r\nVS Code version: 1.19.0\r\nPython Extension version: \r\nPython Version: 3.6\r\nOS and version: osx 10.13\r\n\r\nI have a class defined as below\r\n\r\n```\r\nclass A(object):\r\n @classmethod\r\n def load(cls, pk):\r\n pass\r\na = A()\r\n```\r\n\r\n## Actual behavior\r\nWhen I type `a.load`, `cls` is still expected as the first argument.\r\n## Expected behavior\r\nI would expect that `pk` would be expected as the first argument.\r\n\r\n\r\n\r\n\r\n## Steps to reproduce: \r\nType the above\r\n\r\n## Logs\r\nNot really applicable I wouldn't think.\r\n\r\n\r\nI don't expect every decorator to be handled perfectly, but I would think that `@classmethod` is common enough that it should be handled properly.","author":{"url":"https://github.com/siftikha","@type":"Person","name":"siftikha"},"datePublished":"2017-12-30T22:25:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/499/vscode-python/issues/499"}
| 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:a86f7633-b7cc-7b62-d47f-4eb97cd9bbf2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE68:1EC7:53E340D:76ECFE8:6A50166B |
| html-safe-nonce | 3fa4c6fc5f017d697c0fbdffad31aebce5ebe3bfd2067467e2470fe18702298c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTY4OjFFQzc6NTNFMzQwRDo3NkVDRkU4OjZBNTAxNjZCIiwidmlzaXRvcl9pZCI6IjUwNzcyNTgzMDYxMzg5MzY5MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 355e0d5d442943a5043b3c448826c6c234bf5300b9a309756c3325a65dea7624 |
| hovercard-subject-tag | issue:285227402 |
| 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/microsoft/vscode-python/499/issue_layout |
| twitter:image | https://opengraph.githubassets.com/de07f8a37fb77f2a12d1f835094705d3c24574117534fe049e63a45cc8126b6d/microsoft/vscode-python/issues/499 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/de07f8a37fb77f2a12d1f835094705d3c24574117534fe049e63a45cc8126b6d/microsoft/vscode-python/issues/499 |
| og:image:alt | Environment data VS Code version: 1.19.0 Python Extension version: Python Version: 3.6 OS and version: osx 10.13 I have a class defined as below class A(object): @classmethod def load(cls, pk): pas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | siftikha |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14f013003d3992e8746116a6f2f55cd2fdaccd329ee0423392831ae051ecb535 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| 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 | 26ee7c1a62943cf19a6fcc1d1ac93ac83465c885 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width