Skip to content

Conversion from fractions.Fraction to bool #83455

@francois-durand

Description

@francois-durand
BPO 39274
Nosy @rhettinger, @mdickinson, @vstinner, @seberg, @miss-islington, @idomic, @francois-durand
PRs
  • bpo-39274: Ensure Fraction.__bool__ returns a bool #18017
  • [3.8] bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017) #18376
  • [3.7] bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017) #18377
  • 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 2020-02-06.14:59:07.888>
    created_at = <Date 2020-01-09.12:43:51.476>
    labels = ['easy', 'type-bug', '3.9']
    title = 'Conversion from fractions.Fraction to bool'
    updated_at = <Date 2020-02-06.15:14:42.456>
    user = 'https://github.com/francois-durand'

    bugs.python.org fields:

    activity = <Date 2020-02-06.15:14:42.456>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-02-06.14:59:07.888>
    closer = 'vstinner'
    components = []
    creation = <Date 2020-01-09.12:43:51.476>
    creator = 'francois-durand'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39274
    keywords = ['patch', 'newcomer friendly']
    message_count = 12.0
    messages = ['359673', '359675', '359677', '359679', '359681', '360077', '361237', '361238', '361488', '361489', '361491', '361492']
    nosy_count = 8.0
    nosy_names = ['rhettinger', 'mark.dickinson', 'vstinner', 'SilentGhost', 'seberg', 'miss-islington', 'Ido Michael', 'francois-durand']
    pr_nums = ['18017', '18376', '18377']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue39274'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifeeasytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions