Skip to content

create a numbits() method for int and long types #47689

@fredrikj

Description

@fredrikj
mannequin
BPO 3439
Nosy @rhettinger, @terryjreedy, @mdickinson, @orsenthil, @pitrou, @vstinner
Files
  • numbits.diff
  • numbits-6.patch
  • bit_length_pybench.patch: Temporary patch to pybench, for comparisons.
  • bit_length10.patch
  • bit_length11.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 = 'https://github.com/rhettinger'
    closed_at = <Date 2008-12-17.16:20:52.373>
    created_at = <Date 2008-07-24.17:20:43.790>
    labels = ['interpreter-core', 'type-feature']
    title = 'create a numbits() method for int and long types'
    updated_at = <Date 2010-06-23.07:53:24.373>
    user = 'https://bugs.python.org/fredrikj'

    bugs.python.org fields:

    activity = <Date 2010-06-23.07:53:24.373>
    actor = 'mark.dickinson'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2008-12-17.16:20:52.373>
    closer = 'mark.dickinson'
    components = ['Interpreter Core']
    creation = <Date 2008-07-24.17:20:43.790>
    creator = 'fredrikj'
    dependencies = []
    files = ['10972', '12327', '12340', '12364', '12365']
    hgrepos = []
    issue_num = 3439
    keywords = ['patch', 'needs review']
    message_count = 95.0
    messages = ['70216', '70221', '70223', '70228', '70230', '70231', '70312', '71115', '71116', '71376', '71384', '74383', '74725', '74729', '74749', '74750', '74751', '74754', '74755', '74756', '74757', '74759', '74766', '75498', '75751', '75753', '75767', '75770', '75771', '77221', '77407', '77630', '77632', '77636', '77675', '77676', '77677', '77678', '77681', '77682', '77685', '77689', '77714', '77721', '77722', '77723', '77724', '77725', '77726', '77728', '77730', '77738', '77741', '77742', '77747', '77750', '77754', '77756', '77782', '77897', '77898', '77905', '77907', '77908', '77909', '77911', '77913', '77918', '77920', '77922', '77923', '77924', '77925', '77926', '77928', '77929', '77930', '77932', '77935', '77937', '77970', '77980', '77984', '78056', '78066', '78067', '78072', '108322', '108333', '108397', '108401', '108402', '108418', '108422', '108437']
    nosy_count = 8.0
    nosy_names = ['rhettinger', 'terry.reedy', 'zooko', 'mark.dickinson', 'orsenthil', 'pitrou', 'vstinner', 'fredrikj']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = 'commit review'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue3439'
    versions = ['Python 3.1', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-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