Title: Assigning and deleting __new__ attr on the class does not allow to create instances of this class · Issue #69917 · python/cpython · GitHub
Open Graph Title: Assigning and deleting __new__ attr on the class does not allow to create instances of this class · Issue #69917 · python/cpython
X Title: Assigning and deleting __new__ attr on the class does not allow to create instances of this class · Issue #69917 · python/cpython
Description: BPO 25731 Nosy @Yhg1s, @benjaminp, @eryksun, @skonieczny Files new_patch_fails.py: Attached file works on python 2.7, but fails on python3.5 with TypeError: object() takes no parameters. Note: these values reflect the state of the issue ...
Open Graph Description: BPO 25731 Nosy @Yhg1s, @benjaminp, @eryksun, @skonieczny Files new_patch_fails.py: Attached file works on python 2.7, but fails on python3.5 with TypeError: object() takes no parameters. Note: thes...
X Description: BPO 25731 Nosy @Yhg1s, @benjaminp, @eryksun, @skonieczny Files new_patch_fails.py: Attached file works on python 2.7, but fails on python3.5 with TypeError: object() takes no parameters. Note: thes...
Opengraph URL: https://github.com/python/cpython/issues/69917
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Assigning and deleting __new__ attr on the class does not allow to create instances of this class","articleBody":"BPO | [25731](https://bugs.python.org/issue25731)\n--- | :---\nNosy | @Yhg1s, @benjaminp, @eryksun, @skonieczny\nFiles | \u003cli\u003e[new_patch_fails.py](https://bugs.python.org/file41161/new_patch_fails.py \"Uploaded as text/plain at 2015-11-25.12:29:49 by @skonieczny\"): Attached file works on python 2.7, but fails on python3.5 with `TypeError: object() takes no parameters`.\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 = None\ncreated_at = \u003cDate 2015-11-25.12:29:50.304\u003e\nlabels = ['interpreter-core', 'type-bug', '3.8', '3.9', '3.10']\ntitle = 'Assigning and deleting __new__ attr on the class does not allow to create instances of this class'\nupdated_at = \u003cDate 2021-03-05.12:14:47.716\u003e\nuser = 'https://github.com/skonieczny'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-03-05.12:14:47.716\u003e\nactor = 'eryksun'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2015-11-25.12:29:50.304\u003e\ncreator = 'uosiu'\ndependencies = []\nfiles = ['41161']\nhgrepos = []\nissue_num = 25731\nkeywords = []\nmessage_count = 10.0\nmessages = ['255337', '255371', '258530', '258572', '262922', '263580', '263816', '266574', '266576', '278962']\nnosy_count = 8.0\nnosy_names = ['twouters', 'benjamin.peterson', 'python-dev', 'bkabrda', 'eryksun', 'uosiu', 'jcristau', 'Carl Dunham']\npr_nums = []\npriority = 'normal'\nresolution = None\nstage = None\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue25731'\nversions = ['Python 3.8', 'Python 3.9', 'Python 3.10']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/skonieczny","@type":"Person","name":"skonieczny"},"datePublished":"2015-11-25T12:29:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/69917/cpython/issues/69917"}
| 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:4077eac1-cce9-dd18-e0d9-8cd2fa54d4ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA54:17402E:26E1683:367E133:6A54AA64 |
| html-safe-nonce | 23676129e4e8481104526d6278596948c3526fce530b0a328a0a04173b5be9aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTU0OjE3NDAyRToyNkUxNjgzOjM2N0UxMzM6NkE1NEFBNjQiLCJ2aXNpdG9yX2lkIjoiNTg4ODc1Mjg0MDQyMDAwOTk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9eca97acb3cc32451063320ce670d9b206272b09c759f5d85e555d3e1971e379 |
| hovercard-subject-tag | issue:1198944426 |
| 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/69917/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c43d0b90125a802c9709efd16c690bb2e4068aa9a9418393feb8d4f0e3c0b68/python/cpython/issues/69917 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c43d0b90125a802c9709efd16c690bb2e4068aa9a9418393feb8d4f0e3c0b68/python/cpython/issues/69917 |
| og:image:alt | BPO 25731 Nosy @Yhg1s, @benjaminp, @eryksun, @skonieczny Files new_patch_fails.py: Attached file works on python 2.7, but fails on python3.5 with TypeError: object() takes no parameters. Note: thes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skonieczny |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width