Title: 'sorted' from python 2.4 or 2.5 makes test on 'utils.histogram' fail · Issue #2 · aimacode/aima-python · GitHub
Open Graph Title: 'sorted' from python 2.4 or 2.5 makes test on 'utils.histogram' fail · Issue #2 · aimacode/aima-python
X Title: 'sorted' from python 2.4 or 2.5 makes test on 'utils.histogram' fail · Issue #2 · aimacode/aima-python
Description: 1) What steps will reproduce the problem? $ python2.4 doctests.py -v utils.py or $ python2.5 doctests.py -v utils.py 2) What is the expected output? What do you see instead? Failed example: histogram(vals, 1) Expected: [(200, 3), (110, 2...
Open Graph Description: 1) What steps will reproduce the problem? $ python2.4 doctests.py -v utils.py or $ python2.5 doctests.py -v utils.py 2) What is the expected output? What do you see instead? Failed example: histogr...
X Description: 1) What steps will reproduce the problem? $ python2.4 doctests.py -v utils.py or $ python2.5 doctests.py -v utils.py 2) What is the expected output? What do you see instead? Failed example: histogr...
Opengraph URL: https://github.com/aimacode/aima-python/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'sorted' from python 2.4 or 2.5 makes test on 'utils.histogram' fail","articleBody":"```\n1) What steps will reproduce the problem?\n\n$ python2.4 doctests.py -v utils.py\n\nor\n\n$ python2.5 doctests.py -v utils.py\n\n2) What is the expected output? What do you see instead?\n\nFailed example:\n histogram(vals, 1) \nExpected:\n [(200, 3), (110, 2), (160, 2), (220, 1), (100, 1)]\nGot:\n [(200, 3), (160, 2), (110, 2), (100, 1), (220, 1)]\n\n3) What version of the product are you using? On what operating system?\n\n* Code from SVN repository.\n* Debian GNU/Linux (Sid, up-to-date).\n\n4) Please provide any additional information below.\n\nIt looks like python's sorted in 2.4 or 2.5 doesn't work exactly as the one\nsupplied (but I can't try that because I haven't got 2.3, and on 2.4 it\ndoesn't work).\n\nI'm sure this is not a bug, but maybe you're interested in having\nsuccessful tests also on python >= 2.4.\n\nSorry for such a useless report, otherwise. :-)\n```\n\nOriginal issue reported on code.google.com by `matteo.a...@gmail.com` on 1 Oct 2007 at 2:23\n","author":{"url":"https://github.com/GoogleCodeExporter","@type":"Person","name":"GoogleCodeExporter"},"datePublished":"2016-02-02T00:11:21Z","url":"https://github.com/aimacode/aima-python/issues/2"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:4c3c2513-eed4-8d42-b05c-4c098bc12892 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 924A:2429C1:79778C:9806F2:6B0252A9 |
| html-safe-nonce | d99b9c2dc8d0de215969f8bef75cc4b7ad567fdbd65ac81c3a412dde109d4efb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjRBOjI0MjlDMTo3OTc3OEM6OTgwNkYyOjZCMDI1MkE5IiwidmlzaXRvcl9pZCI6IjE4MjgzODA4MjUzODE2NTUyMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 097c07c8252e238ae28932b45d18592601d4e0e6d9e0cb85cef297c81281b155 |
| hovercard-subject-tag | issue:130526149 |
| 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/aimacode/aima-python/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b06f42c68250d3c25dad0636f73bb6902c4e03b2038da5daae406e066d22d663/aimacode/aima-python/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b06f42c68250d3c25dad0636f73bb6902c4e03b2038da5daae406e066d22d663/aimacode/aima-python/issues/2 |
| og:image:alt | 1) What steps will reproduce the problem? $ python2.4 doctests.py -v utils.py or $ python2.5 doctests.py -v utils.py 2) What is the expected output? What do you see instead? Failed example: histogr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GoogleCodeExporter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/aimacode/aima-python git https://github.com/aimacode/aima-python.git |
| octolytics-dimension-user_id | 17015933 |
| octolytics-dimension-user_login | aimacode |
| octolytics-dimension-repository_id | 50881110 |
| octolytics-dimension-repository_nwo | aimacode/aima-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 50881110 |
| octolytics-dimension-repository_network_root_nwo | aimacode/aima-python |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width