Title: Move Demo/classes/Rat.py to Lib/fractions.py and fix it up. · Issue #46023 · python/cpython · GitHub
Open Graph Title: Move Demo/classes/Rat.py to Lib/fractions.py and fix it up. · Issue #46023 · python/cpython
X Title: Move Demo/classes/Rat.py to Lib/fractions.py and fix it up. · Issue #46023 · python/cpython
Description: BPO 1682 Nosy @gvanrossum, @rhettinger, @facundobatista, @mdickinson, @ncoghlan, @wm75 Files rational.patchrational.patch: V2, ported to 2.6rational.patch: V3, still minimalrational_tweaks.patch: Some tweaks on top of the original implem...
Open Graph Description: BPO 1682 Nosy @gvanrossum, @rhettinger, @facundobatista, @mdickinson, @ncoghlan, @wm75 Files rational.patchrational.patch: V2, ported to 2.6rational.patch: V3, still minimalrational_tweaks.patch: S...
X Description: BPO 1682 Nosy @gvanrossum, @rhettinger, @facundobatista, @mdickinson, @ncoghlan, @wm75 Files rational.patchrational.patch: V2, ported to 2.6rational.patch: V3, still minimalrational_tweaks.patch: S...
Opengraph URL: https://github.com/python/cpython/issues/46023
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Move Demo/classes/Rat.py to Lib/fractions.py and fix it up.","articleBody":"BPO | [1682](https://bugs.python.org/issue1682)\n--- | :---\nNosy | @gvanrossum, @rhettinger, @facundobatista, @mdickinson, @ncoghlan, @wm75\nFiles | \u003cli\u003e[rational.patch](https://bugs.python.org/file9021/rational.patch \"Uploaded as text/plain at 2007-12-21.17:41:30 by jyasskin\")\u003c/li\u003e\u003cli\u003e[rational.patch](https://bugs.python.org/file9114/rational.patch \"Uploaded as text/plain at 2008-01-09.07:36:22 by jyasskin\"): V2, ported to 2.6\u003c/li\u003e\u003cli\u003e[rational.patch](https://bugs.python.org/file9152/rational.patch \"Uploaded as text/plain at 2008-01-13.22:57:29 by jyasskin\"): V3, still minimal\u003c/li\u003e\u003cli\u003e[rational_tweaks.patch](https://bugs.python.org/file9201/rational_tweaks.patch \"Uploaded as text/plain at 2008-01-18.04:05:50 by jyasskin\"): Some tweaks on top of the original implementation\u003c/li\u003e\u003cli\u003e[lehmer_gcd.py](https://bugs.python.org/file9464/lehmer_gcd.py \"Uploaded as text/plain at 2008-02-19.19:31:24 by @mdickinson\"): Revised Lehmer gcd algorithm\u003c/li\u003e\u003cli\u003e[lehmer_gcd_2.py](https://bugs.python.org/file9485/lehmer_gcd_2.py \"Uploaded as text/plain at 2008-02-22.01:02:53 by @mdickinson\"): Benchmark gcd implementations\u003c/li\u003e\u003cli\u003e[lehmer_gcd.patch](https://bugs.python.org/file9486/lehmer_gcd.patch \"Uploaded as text/plain at 2008-02-22.01:05:10 by @mdickinson\")\u003c/li\u003e\u003cli\u003e[fraction_inline_arith.patch](https://bugs.python.org/file9570/fraction_inline_arith.patch \"Uploaded as text/plain at 2008-02-29.06:37:25 by jyasskin\")\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 = \u003cDate 2008-07-01.20:35:22.398\u003e\ncreated_at = \u003cDate 2007-12-21.17:41:30.425\u003e\nlabels = ['type-bug', 'library']\ntitle = 'Move Demo/classes/Rat.py to Lib/fractions.py and fix it up.'\nupdated_at = \u003cDate 2014-09-25.11:53:54.268\u003e\nuser = 'https://bugs.python.org/jyasskin'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2014-09-25.11:53:54.268\u003e\nactor = 'wolma'\nassignee = 'jyasskin'\nclosed = True\nclosed_date = \u003cDate 2008-07-01.20:35:22.398\u003e\ncloser = 'mark.dickinson'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2007-12-21.17:41:30.425\u003e\ncreator = 'jyasskin'\ndependencies = []\nfiles = ['9021', '9114', '9152', '9201', '9464', '9485', '9486', '9570']\nhgrepos = []\nissue_num = 1682\nkeywords = ['patch']\nmessage_count = 92.0\nmessages = ['58949', '59424', '59425', '59582', '59583', '59608', '59614', '59615', '59633', '59635', '59636', '59639', '59640', '59645', '59650', '59651', '59656', '59657', '59659', '59665', '59747', '59755', '59772', '59773', '59870', '59884', '59886', '59958', '59982', '60080', '60081', '60131', '60132', '60133', '60137', '61737', '61995', '62001', '62005', '62010', '62011', '62013', '62028', '62029', '62099', '62189', '62192', '62218', '62222', '62227', '62236', '62249', '62251', '62252', '62253', '62254', '62256', '62257', '62258', '62271', '62305', '62311', '62318', '62320', '62324', '62335', '62337', '62340', '62380', '62401', '62403', '62406', '62547', '62550', '62564', '62566', '62567', '62568', '62671', '62672', '63087', '63126', '68725', '68732', '68757', '68822', '68823', '68843', '68851', '69020', '69027', '69069']\nnosy_count = 7.0\nnosy_names = ['gvanrossum', 'rhettinger', 'facundobatista', 'mark.dickinson', 'ncoghlan', 'jyasskin', 'wolma']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue1682'\nversions = ['Python 2.6', 'Python 3.0']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/jyasskin","@type":"Person","name":"jyasskin"},"datePublished":"2007-12-21T17:41:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":92},"url":"https://github.com/46023/cpython/issues/46023"}
| 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:a8285f05-3fc0-cb70-eb94-52a6b406d001 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83D4:E3F0D:325C410:41E6537:696B883C |
| html-safe-nonce | 9fb7fcdfc30cd860e7a729188705863601db636eee853e87246985fc034142c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0Q0OkUzRjBEOjMyNUM0MTA6NDFFNjUzNzo2OTZCODgzQyIsInZpc2l0b3JfaWQiOiI4NTM2MjE2Njk0NzY4MjQwNzAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b3520e33673ff6aadfd3f15c423f961b7e8444423afad7e91991e8a2ac84ddd9 |
| hovercard-subject-tag | issue:1198826736 |
| 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/46023/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c77e98a3b091f4f9b8d819deed70937d84c2b97527010cf8cbeb0d0e6a0934d/python/cpython/issues/46023 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c77e98a3b091f4f9b8d819deed70937d84c2b97527010cf8cbeb0d0e6a0934d/python/cpython/issues/46023 |
| og:image:alt | BPO 1682 Nosy @gvanrossum, @rhettinger, @facundobatista, @mdickinson, @ncoghlan, @wm75 Files rational.patchrational.patch: V2, ported to 2.6rational.patch: V3, still minimalrational_tweaks.patch: S... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jyasskin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width