Skip to content

Move Demo/classes/Rat.py to Lib/fractions.py and fix it up. #46023

@jyasskin

Description

@jyasskin
mannequin
BPO 1682
Nosy @gvanrossum, @rhettinger, @facundobatista, @mdickinson, @ncoghlan, @wm75
Files
  • rational.patch
  • rational.patch: V2, ported to 2.6
  • rational.patch: V3, still minimal
  • rational_tweaks.patch: Some tweaks on top of the original implementation
  • lehmer_gcd.py: Revised Lehmer gcd algorithm
  • lehmer_gcd_2.py: Benchmark gcd implementations
  • lehmer_gcd.patch
  • fraction_inline_arith.patch
  • 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 = None
    closed_at = <Date 2008-07-01.20:35:22.398>
    created_at = <Date 2007-12-21.17:41:30.425>
    labels = ['type-bug', 'library']
    title = 'Move Demo/classes/Rat.py to Lib/fractions.py and fix it up.'
    updated_at = <Date 2014-09-25.11:53:54.268>
    user = 'https://bugs.python.org/jyasskin'

    bugs.python.org fields:

    activity = <Date 2014-09-25.11:53:54.268>
    actor = 'wolma'
    assignee = 'jyasskin'
    closed = True
    closed_date = <Date 2008-07-01.20:35:22.398>
    closer = 'mark.dickinson'
    components = ['Library (Lib)']
    creation = <Date 2007-12-21.17:41:30.425>
    creator = 'jyasskin'
    dependencies = []
    files = ['9021', '9114', '9152', '9201', '9464', '9485', '9486', '9570']
    hgrepos = []
    issue_num = 1682
    keywords = ['patch']
    message_count = 92.0
    messages = ['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']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'rhettinger', 'facundobatista', 'mark.dickinson', 'ncoghlan', 'jyasskin', 'wolma']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue1682'
    versions = ['Python 2.6', 'Python 3.0']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions