Skip to content

Undefined behaviour in Objects/complexobject.c's complex_pow #88864

@Yhg1s

Description

@Yhg1s
BPO 44698
Nosy @tim-one, @Yhg1s, @gpshead, @mdickinson, @ambv, @seberg, @pablogsal, @miss-islington
PRs
  • bpo-44698: Fix undefined behaviour in complex exponentiation. #27278
  • [3.10] bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) #27366
  • [3.9] bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) #27367
  • bpo-44698: Restore complex pow behaviour for small integral exponents #27772
  • [3.10] bpo-44698: Restore complex pow behaviour for small integral exponents (GH-27772) #27796
  • [3.9] bpo-44698: Restore complex pow behaviour for small integral exponents (GH-27772) #27797
  • 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/mdickinson'
    closed_at = <Date 2021-08-17.18:22:58.553>
    created_at = <Date 2021-07-21.15:06:49.955>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.11', '3.7']
    title = "Undefined behaviour in Objects/complexobject.c's complex_pow"
    updated_at = <Date 2021-08-17.18:22:58.552>
    user = 'https://github.com/Yhg1s'

    bugs.python.org fields:

    activity = <Date 2021-08-17.18:22:58.552>
    actor = 'mark.dickinson'
    assignee = 'mark.dickinson'
    closed = True
    closed_date = <Date 2021-08-17.18:22:58.553>
    closer = 'mark.dickinson'
    components = []
    creation = <Date 2021-07-21.15:06:49.955>
    creator = 'twouters'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44698
    keywords = ['patch']
    message_count = 19.0
    messages = ['397947', '398239', '398249', '398250', '398928', '398930', '398932', '398935', '398937', '398940', '398941', '399610', '399620', '399621', '399666', '399767', '399775', '399776', '399779']
    nosy_count = 8.0
    nosy_names = ['tim.peters', 'twouters', 'gregory.p.smith', 'mark.dickinson', 'lukasz.langa', 'seberg', 'pablogsal', 'miss-islington']
    pr_nums = ['27278', '27366', '27367', '27772', '27796', '27797']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44698'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions