Title: random.choice hits ValueError: cannot convert float NaN to integer · Issue #58236 · python/cpython · GitHub
Open Graph Title: random.choice hits ValueError: cannot convert float NaN to integer · Issue #58236 · python/cpython
X Title: random.choice hits ValueError: cannot convert float NaN to integer · Issue #58236 · python/cpython
Description: BPO 14028 Nosy @tim-one, @rhettinger, @gpshead, @mdickinson Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details GitHub fields: assignee = 'https://githu...
Open Graph Description: BPO 14028 Nosy @tim-one, @rhettinger, @gpshead, @mdickinson Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details ...
X Description: BPO 14028 Nosy @tim-one, @rhettinger, @gpshead, @mdickinson Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details ...
Opengraph URL: https://github.com/python/cpython/issues/58236
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"random.choice hits ValueError: cannot convert float NaN to integer","articleBody":"BPO | [14028](https://bugs.python.org/issue14028)\n--- | :---\nNosy | @tim-one, @rhettinger, @gpshead, @mdickinson\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/rhettinger'\nclosed_at = \u003cDate 2012-02-16.17:29:47.660\u003e\ncreated_at = \u003cDate 2012-02-16.07:57:52.837\u003e\nlabels = ['invalid']\ntitle = 'random.choice hits ValueError: cannot convert float NaN to integer'\nupdated_at = \u003cDate 2012-02-17.01:23:20.932\u003e\nuser = 'https://github.com/gpshead'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2012-02-17.01:23:20.932\u003e\nactor = 'rhettinger'\nassignee = 'rhettinger'\nclosed = True\nclosed_date = \u003cDate 2012-02-16.17:29:47.660\u003e\ncloser = 'gregory.p.smith'\ncomponents = []\ncreation = \u003cDate 2012-02-16.07:57:52.837\u003e\ncreator = 'gregory.p.smith'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 14028\nkeywords = []\nmessage_count = 7.0\nmessages = ['153464', '153473', '153474', '153475', '153476', '153488', '153521']\nnosy_count = 4.0\nnosy_names = ['tim.peters', 'rhettinger', 'gregory.p.smith', 'mark.dickinson']\npr_nums = []\npriority = 'normal'\nresolution = 'not a bug'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = None\nurl = 'https://bugs.python.org/issue14028'\nversions = ['Python 2.7', 'Python 3.2', 'Python 3.3']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/gpshead","@type":"Person","name":"gpshead"},"datePublished":"2012-02-16T07:57:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/58236/cpython/issues/58236"}
| 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:7c15d9c4-4ed8-075a-fdd8-dc63a8892299 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3C0:27C67C:F39612:15EDF4C:6A4CCEB9 |
| html-safe-nonce | bfe747586d7b048ff36a99caf231c6469cec0c89bc6a2f14002fc1a9a60ab769 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0MwOjI3QzY3QzpGMzk2MTI6MTVFREY0Qzo2QTRDQ0VCOSIsInZpc2l0b3JfaWQiOiI4NjM2NTQzNjEzMjM5MzQ4OTIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5bef8877d7003ffea65f80fe639ddd29d4ab789cc830beea5356ffdcde01d3b4 |
| hovercard-subject-tag | issue:1198877722 |
| 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/58236/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4f18316abaf8186c902d9c617cd7ba0b0215a3f855620088eee1622c397d0a2f/python/cpython/issues/58236 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f18316abaf8186c902d9c617cd7ba0b0215a3f855620088eee1622c397d0a2f/python/cpython/issues/58236 |
| og:image:alt | BPO 14028 Nosy @tim-one, @rhettinger, @gpshead, @mdickinson Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gpshead |
| hostname | github.com |
| expected-hostname | github.com |
| None | ee8a9d18044a05fe2d57b9ae797da38c8be34effb03f015f7c42e94770d28a1b |
| 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 | f84814acc6f036583fd43463f5847a846243d2a4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width