Skip to content

The replacement suggested for callable(x) in py3k is not equivalent #51255

@milkokrachounov

Description

@milkokrachounov
BPO 7006
Nosy @birkenfeld, @ncoghlan, @pitrou, @benjaminp, @ezio-melotti, @Trundle
Files
  • new_callable_semantics.patch: isinstance(obj, collections.Callable)
  • new_callable_semantics_moretests.patch: Same as the last one, but with more test cases to demonstrate touch_import's semantics
  • 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/benjaminp'
    closed_at = <Date 2009-12-28.20:56:27.795>
    created_at = <Date 2009-09-27.14:23:53.304>
    labels = ['interpreter-core', 'type-bug', 'expert-2to3', 'docs']
    title = 'The replacement suggested for callable(x) in py3k is not\tequivalent'
    updated_at = <Date 2009-12-28.20:56:27.793>
    user = 'https://bugs.python.org/milkokrachounov'

    bugs.python.org fields:

    activity = <Date 2009-12-28.20:56:27.793>
    actor = 'benjamin.peterson'
    assignee = 'benjamin.peterson'
    closed = True
    closed_date = <Date 2009-12-28.20:56:27.795>
    closer = 'benjamin.peterson'
    components = ['Documentation', 'Interpreter Core', '2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2009-09-27.14:23:53.304>
    creator = 'milko.krachounov'
    dependencies = []
    files = ['15671', '15673']
    hgrepos = []
    issue_num = 7006
    keywords = ['patch']
    message_count = 22.0
    messages = ['93171', '93175', '93178', '93477', '93478', '93479', '93488', '94364', '94373', '94376', '95400', '95403', '95416', '96871', '96877', '96878', '96879', '96880', '96882', '96883', '96885', '96967']
    nosy_count = 9.0
    nosy_names = ['georg.brandl', 'exarkun', 'ncoghlan', 'pitrou', 'benjamin.peterson', 'ezio.melotti', 'Trundle', 'joe.amenta', 'milko.krachounov']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue7006'
    versions = ['Python 2.6', 'Python 3.0', 'Python 3.1']

    Metadata

    Metadata

    Assignees

    Labels

    docsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-2to3type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions