Title: type() returns incorrect type for nested classes · Issue #56666 · python/cpython · GitHub
Open Graph Title: type() returns incorrect type for nested classes · Issue #56666 · python/cpython
X Title: type() returns incorrect type for nested classes · Issue #56666 · python/cpython
Description: BPO 12457 Nosy @pitrou, @bitdancer, @durban, @pwil3058, @serhiy-storchaka Superseder bpo-15642: Integrate pickle protocol version 4 GSoC work by Stefan Mihaila Files nested_class_bug.py: Short code snippet to demonstrate the problem.conf...
Open Graph Description: BPO 12457 Nosy @pitrou, @bitdancer, @durban, @pwil3058, @serhiy-storchaka Superseder bpo-15642: Integrate pickle protocol version 4 GSoC work by Stefan Mihaila Files nested_class_bug.py: Short code...
X Description: BPO 12457 Nosy @pitrou, @bitdancer, @durban, @pwil3058, @serhiy-storchaka Superseder bpo-15642: Integrate pickle protocol version 4 GSoC work by Stefan Mihaila Files nested_class_bug.py: Short code...
Opengraph URL: https://github.com/python/cpython/issues/56666
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"type() returns incorrect type for nested classes","articleBody":"BPO | [12457](https://bugs.python.org/issue12457)\n--- | :---\nNosy | @pitrou, @bitdancer, @durban, @pwil3058, @serhiy-storchaka\nSuperseder | \u003cli\u003ebpo-15642: Integrate pickle protocol version 4 GSoC work by Stefan Mihaila\u003c/li\u003e\nFiles | \u003cli\u003e[nested_class_bug.py](https://bugs.python.org/file22531/nested_class_bug.py \"Uploaded as text/plain at 2011-07-01.05:25:39 by @pwil3058\"): Short code snippet to demonstrate the problem.\u003c/li\u003e\u003cli\u003e[confusion.py](https://bugs.python.org/file22544/confusion.py \"Uploaded as text/plain at 2011-07-02.00:26:24 by @pwil3058\"): Demonstration of type namimg confusion\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2012-12-04.12:08:43.140\u003e\ncreated_at = \u003cDate 2011-07-01.05:25:40.135\u003e\nlabels = ['interpreter-core', 'type-bug']\ntitle = 'type() returns incorrect type for nested classes'\nupdated_at = \u003cDate 2012-12-04.12:08:43.138\u003e\nuser = 'https://github.com/pwil3058'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2012-12-04.12:08:43.138\u003e\nactor = 'pitrou'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2012-12-04.12:08:43.140\u003e\ncloser = 'pitrou'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2011-07-01.05:25:40.135\u003e\ncreator = 'pwil3058'\ndependencies = []\nfiles = ['22531', '22544']\nhgrepos = []\nissue_num = 12457\nkeywords = []\nmessage_count = 8.0\nmessages = ['139542', '139550', '139622', '172924', '176286', '176897', '176900', '176903']\nnosy_count = 5.0\nnosy_names = ['pitrou', 'r.david.murray', 'daniel.urban', 'pwil3058', 'serhiy.storchaka']\npr_nums = []\npriority = 'normal'\nresolution = 'duplicate'\nstage = None\nstatus = 'closed'\nsuperseder = '15642'\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue12457'\nversions = ['Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/pwil3058","@type":"Person","name":"pwil3058"},"datePublished":"2011-07-01T05:25:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/56666/cpython/issues/56666"}
| 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:6a92bd15-41be-31d0-4fba-de0230a7888c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E508:4342D:1DD2B51:278089E:6A52D62E |
| html-safe-nonce | 2a56fc1a5cf6407f64c4f7b88851cab4f5f89a698340ce9b4dccbfd9f4b49a94 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTA4OjQzNDJEOjFERDJCNTE6Mjc4MDg5RTo2QTUyRDYyRSIsInZpc2l0b3JfaWQiOiI3NzQwMzE4MTIxOTMyODA1Njc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f4cf7f560599a86b935100db22b8b98e39242f334a7ee57f6ec8fb3fbcff8098 |
| hovercard-subject-tag | issue:1198870812 |
| 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/56666/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f65e16c6d1bf30d82ee74cdc5b6ed2a80bda99ef4774db9ea389ec50a1d8cffe/python/cpython/issues/56666 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f65e16c6d1bf30d82ee74cdc5b6ed2a80bda99ef4774db9ea389ec50a1d8cffe/python/cpython/issues/56666 |
| og:image:alt | BPO 12457 Nosy @pitrou, @bitdancer, @durban, @pwil3058, @serhiy-storchaka Superseder bpo-15642: Integrate pickle protocol version 4 GSoC work by Stefan Mihaila Files nested_class_bug.py: Short code... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pwil3058 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width