Title: complex() on object with __complex__ function loses sign of zero imaginary part · Issue #73788 · python/cpython · GitHub
Open Graph Title: complex() on object with __complex__ function loses sign of zero imaginary part · Issue #73788 · python/cpython
X Title: complex() on object with __complex__ function loses sign of zero imaginary part · Issue #73788 · python/cpython
Description: BPO 29602 Nosy @arigo, @mdickinson, @vstinner, @stevendaprano, @serhiy-storchaka PRs #203#204#205#206#703#552 Files complex-constructor-from-complex.patchcomplex-constructor-from-complex2.patch Note: these values reflect the state of the...
Open Graph Description: BPO 29602 Nosy @arigo, @mdickinson, @vstinner, @stevendaprano, @serhiy-storchaka PRs #203#204#205#206#703#552 Files complex-constructor-from-complex.patchcomplex-constructor-from-complex2.patch Not...
X Description: BPO 29602 Nosy @arigo, @mdickinson, @vstinner, @stevendaprano, @serhiy-storchaka PRs #203#204#205#206#703#552 Files complex-constructor-from-complex.patchcomplex-constructor-from-complex2.patch Not...
Opengraph URL: https://github.com/python/cpython/issues/73788
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"complex() on object with __complex__ function loses sign of zero imaginary part","articleBody":"BPO | [29602](https://bugs.python.org/issue29602)\n--- | :---\nNosy | @arigo, @mdickinson, @vstinner, @stevendaprano, @serhiy-storchaka\nPRs | \u003cli\u003epython/cpython#203\u003c/li\u003e\u003cli\u003epython/cpython#204\u003c/li\u003e\u003cli\u003epython/cpython#205\u003c/li\u003e\u003cli\u003epython/cpython#206\u003c/li\u003e\u003cli\u003epython/cpython#703\u003c/li\u003e\u003cli\u003epython/cpython#552\u003c/li\u003e\nFiles | \u003cli\u003e[complex-constructor-from-complex.patch](https://bugs.python.org/file46653/complex-constructor-from-complex.patch \"Uploaded as text/plain at 2017-02-20.18:00:09 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[complex-constructor-from-complex2.patch](https://bugs.python.org/file46654/complex-constructor-from-complex2.patch \"Uploaded as text/plain at 2017-02-20.18:18:14 by @serhiy-storchaka\")\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 = 'https://github.com/mdickinson'\nclosed_at = \u003cDate 2017-02-20.22:04:35.292\u003e\ncreated_at = \u003cDate 2017-02-20.00:49:52.052\u003e\nlabels = ['interpreter-core', 'type-bug', '3.7']\ntitle = 'complex() on object with __complex__ function loses sign of zero imaginary part'\nupdated_at = \u003cDate 2017-03-31.16:36:13.628\u003e\nuser = 'https://bugs.python.org/TomKrauss'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2017-03-31.16:36:13.628\u003e\nactor = 'dstufft'\nassignee = 'mark.dickinson'\nclosed = True\nclosed_date = \u003cDate 2017-02-20.22:04:35.292\u003e\ncloser = 'mark.dickinson'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2017-02-20.00:49:52.052\u003e\ncreator = 'Tom Krauss'\ndependencies = []\nfiles = ['46653', '46654']\nhgrepos = []\nissue_num = 29602\nkeywords = ['patch']\nmessage_count = 20.0\nmessages = ['288177', '288192', '288196', '288205', '288207', '288208', '288210', '288211', '288212', '288223', '288224', '288229', '288231', '288233', '288236', '288240', '288242', '288245', '288246', '288247']\nnosy_count = 6.0\nnosy_names = ['arigo', 'mark.dickinson', 'vstinner', 'steven.daprano', 'serhiy.storchaka', 'Tom Krauss']\npr_nums = ['203', '204', '205', '206', '703', '552']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue29602'\nversions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/TomKrauss","@type":"Person","name":"TomKrauss"},"datePublished":"2017-02-20T00:49:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/73788/cpython/issues/73788"}
| 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:c6abd0d6-341b-3057-0194-8cc2c6ab377f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEB8:12F35E:3B748B0:55114A1:6A4FD9A7 |
| html-safe-nonce | 258a126f18012c49860294075c571ccf530ed0555e3b1e2b922a2ccae90393e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUI4OjEyRjM1RTozQjc0OEIwOjU1MTE0QTE6NkE0RkQ5QTciLCJ2aXNpdG9yX2lkIjoiMjkxMjIyNzY2NDIyNDkxMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 57d13f3808ccf506c90cd8e158439136c3bca2082f44e11d31d1faed32792727 |
| hovercard-subject-tag | issue:1198968781 |
| 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/73788/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b0f51e647c6a28b027dd39b1b3a2c9070479c824b49cbf159acb599471e588e/python/cpython/issues/73788 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b0f51e647c6a28b027dd39b1b3a2c9070479c824b49cbf159acb599471e588e/python/cpython/issues/73788 |
| og:image:alt | BPO 29602 Nosy @arigo, @mdickinson, @vstinner, @stevendaprano, @serhiy-storchaka PRs #203#204#205#206#703#552 Files complex-constructor-from-complex.patchcomplex-constructor-from-complex2.patch Not... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TomKrauss |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| 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 | 142593e66413bbae27fd485859993597d5a3b104 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width