Title: type( ...).__class__ not work · Issue #583 · RustPython/RustPython · GitHub
Open Graph Title: type( ...).__class__ not work · Issue #583 · RustPython/RustPython
X Title: type( ...).__class__ not work · Issue #583 · RustPython/RustPython
Description: class Test: pass type(Test).__class__ current result: TypeError: argument of type
Open Graph Description: class Test: pass type(Test).__class__ current result: TypeError: argument of type
X Description: class Test: pass type(Test).__class__ current result: TypeError: argument of type <class 'type'> is required for parameter 1 (_typ) (got: <class 'NoneType'>) expected re...
Opengraph URL: https://github.com/RustPython/RustPython/issues/583
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"type( ...).__class__ not work","articleBody":"```\r\nclass Test:\r\n pass\r\n\r\ntype(Test).__class__\r\n```\r\n\r\n**current result:**\r\n\u003e TypeError: argument of type \u003cclass 'type'\u003e is required for parameter 1 (_typ) (got: \u003cclass 'NoneType'\u003e)\r\n\r\n**expected result:**\r\n\r\n\u003e nothing\r\n","author":{"url":"https://github.com/andrew-ld","@type":"Person","name":"andrew-ld"},"datePublished":"2019-03-02T14:58:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/583/RustPython/issues/583"}
| 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:65d16d36-a828-e2b2-8194-608c6d63cd59 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A58:15B7F2:14AFE89:1E048DA:6A58C627 |
| html-safe-nonce | 678b6eda9aba8c6b46c7efdb3224ae44e6f92b546003dcfdb7101903917979ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTU4OjE1QjdGMjoxNEFGRTg5OjFFMDQ4REE6NkE1OEM2MjciLCJ2aXNpdG9yX2lkIjoiMzY4NjIzNjM0MzA2MjAyMTY3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 35fdc132a232132803e70d48ac7c2fcd988238d0c63c08d20ee6e66cdf94e19f |
| hovercard-subject-tag | issue:416405083 |
| 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/RustPython/RustPython/583/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e5b002bcd05e5306074de4c5ba155bf7a99cfff02d905d041dd1382206a2cc35/RustPython/RustPython/issues/583 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e5b002bcd05e5306074de4c5ba155bf7a99cfff02d905d041dd1382206a2cc35/RustPython/RustPython/issues/583 |
| og:image:alt | class Test: pass type(Test).__class__ current result: TypeError: argument of type |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andrew-ld |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width