Skip to content

No longer use implicit convertion to int with loss #82180

Closed
@serhiy-storchaka

Description

@serhiy-storchaka
BPO 37999
Nosy @mdickinson, @serhiy-storchaka, @hpjansson
PRs
  • bpo-37999: No longer use __int__ in implicit integer conversions. #15636
  • bpo-37999: Simplify the conversion code for %c, %d, %x, etc. #20437
  • bpo-37999: Fix outdated __int__ and nb_int references in comments #20449
  • gh-81163: Add support for extended color functions in ncurses 6.1 #17536
  • 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-05-28.08:12:43.571>
    created_at = <Date 2019-09-01.11:24:04.696>
    labels = ['interpreter-core', 'type-feature', '3.10']
    title = 'No longer use implicit convertion to int with loss'
    updated_at = <Date 2020-07-01.19:01:56.267>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2020-07-01.19:01:56.267>
    actor = 'hpj'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-05-28.08:12:43.571>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2019-09-01.11:24:04.696>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37999
    keywords = ['patch']
    message_count = 6.0
    messages = ['350947', '370004', '370063', '370072', '370173', '372622']
    nosy_count = 3.0
    nosy_names = ['mark.dickinson', 'serhiy.storchaka', 'hpj']
    pr_nums = ['15636', '20437', '20449', '17536']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue37999'
    versions = ['Python 3.10']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions