Skip to content

fractions.Fraction.__pow__ does unneeded renormalization #65335

@Orborde

Description

@Orborde
mannequin
BPO 21136
Nosy @rhettinger, @mdickinson, @ned-deily, @ezio-melotti, @vedgar
Files
  • fraction_pow.diff: Patch Fractions.pow
  • fraction_pow2.diff: Revised patch using _normalize=False
  • 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://github.com/rhettinger'
    closed_at = <Date 2014-04-05.08:30:50.804>
    created_at = <Date 2014-04-02.23:52:30.331>
    labels = ['easy', 'type-bug', 'library']
    title = 'fractions.Fraction.__pow__ does unneeded renormalization'
    updated_at = <Date 2016-07-20.19:48:34.542>
    user = 'https://bugs.python.org/Orborde'

    bugs.python.org fields:

    activity = <Date 2016-07-20.19:48:34.542>
    actor = 'ned.deily'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2014-04-05.08:30:50.804>
    closer = 'mark.dickinson'
    components = ['Library (Lib)']
    creation = <Date 2014-04-02.23:52:30.331>
    creator = 'Orborde'
    dependencies = []
    files = ['34707', '34719']
    hgrepos = []
    issue_num = 21136
    keywords = ['patch', 'easy']
    message_count = 13.0
    messages = ['215409', '215412', '215428', '215429', '215430', '215431', '215492', '215532', '215584', '215585', '270548', '270890', '270891']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'mark.dickinson', 'ned.deily', 'ezio.melotti', 'python-dev', 'Orborde', 'veky']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue21136'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    easystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions