Title: Clarify type coercion rules in statistics module · Issue #64680 · python/cpython · GitHub
Open Graph Title: Clarify type coercion rules in statistics module · Issue #64680 · python/cpython
X Title: Clarify type coercion rules in statistics module · Issue #64680 · python/cpython
Description: BPO 20481 Nosy @gpshead, @ncoghlan, @larryhastings, @stevendaprano, @wm75 Files _sum_coerce.py: provides _sum and _coerce_types to replace the same functions in statistics.py, requires import numbers to workstatistics.patchstats.patch No...
Open Graph Description: BPO 20481 Nosy @gpshead, @ncoghlan, @larryhastings, @stevendaprano, @wm75 Files _sum_coerce.py: provides _sum and _coerce_types to replace the same functions in statistics.py, requires import numbe...
X Description: BPO 20481 Nosy @gpshead, @ncoghlan, @larryhastings, @stevendaprano, @wm75 Files _sum_coerce.py: provides _sum and _coerce_types to replace the same functions in statistics.py, requires import numbe...
Opengraph URL: https://github.com/python/cpython/issues/64680
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clarify type coercion rules in statistics module","articleBody":"BPO | [20481](https://bugs.python.org/issue20481)\n--- | :---\nNosy | @gpshead, @ncoghlan, @larryhastings, @stevendaprano, @wm75\nFiles | \u003cli\u003e[_sum_coerce.py](https://bugs.python.org/file33862/_sum_coerce.py \"Uploaded as text/plain at 2014-02-02.07:45:08 by @wm75\"): provides _sum and _coerce_types to replace the same functions in statistics.py, requires import numbers to work\u003c/li\u003e\u003cli\u003e[statistics.patch](https://bugs.python.org/file33910/statistics.patch \"Uploaded as text/plain at 2014-02-04.16:45:05 by @wm75\")\u003c/li\u003e\u003cli\u003e[stats.patch](https://bugs.python.org/file33978/stats.patch \"Uploaded as text/plain at 2014-02-07.21:04:39 by @stevendaprano\")\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/ncoghlan'\nclosed_at = \u003cDate 2014-02-08.10:14:09.419\u003e\ncreated_at = \u003cDate 2014-02-02.01:31:51.702\u003e\nlabels = ['type-bug', 'library', 'release-blocker']\ntitle = 'Clarify type coercion rules in statistics module'\nupdated_at = \u003cDate 2014-02-08.22:21:40.863\u003e\nuser = 'https://github.com/ncoghlan'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2014-02-08.22:21:40.863\u003e\nactor = 'ncoghlan'\nassignee = 'ncoghlan'\nclosed = True\nclosed_date = \u003cDate 2014-02-08.10:14:09.419\u003e\ncloser = 'python-dev'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2014-02-02.01:31:51.702\u003e\ncreator = 'ncoghlan'\ndependencies = []\nfiles = ['33862', '33910', '33978']\nhgrepos = []\nissue_num = 20481\nkeywords = ['patch']\nmessage_count = 21.0\nmessages = ['209934', '209956', '209976', '210030', '210113', '210126', '210127', '210137', '210143', '210202', '210236', '210239', '210243', '210247', '210251', '210557', '210604', '210607', '210611', '210663', '210694']\nnosy_count = 7.0\nnosy_names = ['gregory.p.smith', 'ncoghlan', 'larry', 'steven.daprano', 'python-dev', 'oscarbenjamin', 'wolma']\npr_nums = []\npriority = 'release blocker'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue20481'\nversions = ['Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/ncoghlan","@type":"Person","name":"ncoghlan"},"datePublished":"2014-02-02T01:31:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/64680/cpython/issues/64680"}
| 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:25c006fb-4475-ec22-0658-8764557ebd15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA3C:225690:A99B2A:F80066:6A6087C4 |
| html-safe-nonce | fc251c9f1ed21bde2dd78a689ecc6f3c18d4efff116108afc108768f25b1610b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTNDOjIyNTY5MDpBOTlCMkE6RjgwMDY2OjZBNjA4N0M0IiwidmlzaXRvcl9pZCI6IjQ5ODM5MDczNTA4NzUyNDQ0ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a012c7e637301a4a1d69b474ac721cbe64f4e7af76e3b9aea6ea4ac79819c7f5 |
| hovercard-subject-tag | issue:1198913873 |
| 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/64680/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f6b41a614c51ac5ce798d890aef31a141df8bb1d5f7f567c167f2eaac1257907/python/cpython/issues/64680 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f6b41a614c51ac5ce798d890aef31a141df8bb1d5f7f567c167f2eaac1257907/python/cpython/issues/64680 |
| og:image:alt | BPO 20481 Nosy @gpshead, @ncoghlan, @larryhastings, @stevendaprano, @wm75 Files _sum_coerce.py: provides _sum and _coerce_types to replace the same functions in statistics.py, requires import numbe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ncoghlan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0 |
| 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 | 9824515e740d83d5eb82168a089b806ab0fe04a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width