Skip to content

distutils: isinstance checks fail with setuptools-monkeypatched Extension/Distribution #67291

@gmt

Description

@gmt
mannequin
BPO 23102
Nosy @jaraco, @scoder, @djc, @merwok, @Preston-Landers, @berkerpeksag, @koobs, @zooba, @dstufft
Files
  • distutils_accomodate_extension_ducktypes.patch: patch: allow distutils.extension.Extension to be monkey-patched with a duck-type of itself.
  • distutils_accomodate_distribution_ducktypes.patch: patch: likewise for distutils.dist.Distribution
  • 0001-distutils-type-checks-can-fail-issue-23102.patch: patch: allow distutils.extension.Extension to be monkey-patched with a duck-type of itself (respin 1)
  • 0002-distutils-type-checks-can-fail-issue-23102.patch: patch: allow distutils.dist.Distribution to be monkey-patched with a duck-type of itself (respin 1)
  • 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 2021-02-03.18:19:25.658>
    created_at = <Date 2014-12-23.06:36:28.668>
    labels = ['3.7', 'type-bug', 'library']
    title = 'distutils: isinstance checks fail with setuptools-monkeypatched Extension/Distribution'
    updated_at = <Date 2021-02-03.18:19:25.657>
    user = 'https://bugs.python.org/gmt'

    bugs.python.org fields:

    activity = <Date 2021-02-03.18:19:25.657>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-02-03.18:19:25.658>
    closer = 'steve.dower'
    components = ['Distutils']
    creation = <Date 2014-12-23.06:36:28.668>
    creator = 'gmt'
    dependencies = []
    files = ['37529', '37554', '44619', '44620']
    hgrepos = []
    issue_num = 23102
    keywords = ['patch']
    message_count = 13.0
    messages = ['233034', '233109', '233113', '233172', '233173', '260244', '276045', '276148', '276172', '276175', '276177', '276216', '386333']
    nosy_count = 14.0
    nosy_names = ['jaraco', 'scoder', 'cgrohmann', 'djc', 'eric.araujo', 'Arfrever', 'planders', 'berker.peksag', 'koobs', 'steve.dower', 'dstufft', 'Jens.Timmerman', 'ralf.gommers', 'gmt']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23102'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions