Skip to content

Extension modules with single-letter names can't be loaded #68516

Closed

Description

@encukou
BPO 24328
Nosy @brettcannon, @ncoghlan, @encukou, @ericsnowcurrently, @vadmium
Files
  • fix-short-names.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 = None
    closed_at = <Date 2015-05-29.22:11:53.968>
    created_at = <Date 2015-05-29.19:49:52.190>
    labels = ['type-bug', 'release-blocker']
    title = "Extension modules with single-letter names can't be loaded"
    updated_at = <Date 2015-05-29.23:44:58.127>
    user = 'https://github.com/encukou'

    bugs.python.org fields:

    activity = <Date 2015-05-29.23:44:58.127>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-05-29.22:11:53.968>
    closer = 'python-dev'
    components = []
    creation = <Date 2015-05-29.19:49:52.190>
    creator = 'petr.viktorin'
    dependencies = []
    files = ['39554']
    hgrepos = []
    issue_num = 24328
    keywords = ['patch']
    message_count = 4.0
    messages = ['244403', '244424', '244430', '244431']
    nosy_count = 6.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'petr.viktorin', 'python-dev', 'eric.snow', 'martin.panter']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24328'
    versions = ['Python 3.5', 'Python 3.6']

    Activity

    1. encukou commented on May 29, 2015

      @encukou
      MemberAuthor

      A regression in the PEP-489 implementation prevents loading extension modules with single-character names (because length-1 bytestrings are interned).

      Here is a fix. It would be great to have it in 3.5.0b2.

    2. python-dev commented on May 29, 2015

      python-devmannequin
      Mannequin

      New changeset 784f372d701a by Benjamin Peterson in branch '3.5':
      fix importing one char extension modules (closes bpo-24328)
      https://hg.python.org/cpython/rev/784f372d701a

      New changeset d89bab1f160e by Benjamin Peterson in branch 'default':
      merge 3.5 (bpo-24328)
      https://hg.python.org/cpython/rev/d89bab1f160e

    3. vadmium commented on May 29, 2015

      @vadmium
      Member

      Two minor comments on Reitveld. Looks like you alreay fixed one of them in the actual commit.

    4. added
      type-bug
      on May 29, 2015
    5. python-dev commented on May 29, 2015

      python-devmannequin
      Mannequin

      New changeset 8428cb297d15 by Benjamin Peterson in branch '3.5':
      use assert method (bpo-24328)
      https://hg.python.org/cpython/rev/8428cb297d15

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      release-blockertype-bug

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions