Skip to content

Have -b warn when directly comparing ints and bytes #67869

@brettcannon

Description

@brettcannon
BPO 23681
Nosy @brettcannon, @pfmoore, @vstinner, @larryhastings, @PCManticore, @berkerpeksag, @vadmium, @serhiy-storchaka
Files
  • bytes_to_int_compare.patch
  • bytes_to_int_compare_2.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/serhiy-storchaka'
    closed_at = <Date 2015-03-20.14:59:45.984>
    created_at = <Date 2015-03-16.17:05:30.088>
    labels = ['interpreter-core', 'type-feature', 'release-blocker']
    title = 'Have -b warn when directly comparing ints and bytes'
    updated_at = <Date 2015-03-20.14:59:45.983>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2015-03-20.14:59:45.983>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2015-03-20.14:59:45.984>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2015-03-16.17:05:30.088>
    creator = 'brett.cannon'
    dependencies = []
    files = ['38511', '38591']
    hgrepos = []
    issue_num = 23681
    keywords = ['patch']
    message_count = 10.0
    messages = ['238228', '238236', '238237', '238261', '238501', '238626', '238636', '238637', '238665', '238687']
    nosy_count = 9.0
    nosy_names = ['brett.cannon', 'paul.moore', 'vstinner', 'larry', 'Claudiu.Popa', 'python-dev', 'berker.peksag', 'martin.panter', 'serhiy.storchaka']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue23681'
    versions = ['Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions