Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embeddable distro cannot import modules #90206

Closed
zooba opened this issue Dec 11, 2021 · 2 comments
Closed

embeddable distro cannot import modules #90206

zooba opened this issue Dec 11, 2021 · 2 comments
Assignees
Labels
3.11 bug and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@zooba
Copy link
Member

zooba commented Dec 11, 2021

BPO 46048
Nosy @ambv, @zooba
PRs
  • bpo-46048: Fix parsing of single character lines in getpath readlines() #30048
  • 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/zooba'
    closed_at = <Date 2021-12-11.13:46:56.501>
    created_at = <Date 2021-12-11.13:13:55.532>
    labels = ['interpreter-core', 'type-bug', '3.11']
    title = 'embeddable distro cannot import modules'
    updated_at = <Date 2021-12-11.13:46:56.500>
    user = 'https://github.com/zooba'

    bugs.python.org fields:

    activity = <Date 2021-12-11.13:46:56.500>
    actor = 'steve.dower'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2021-12-11.13:46:56.501>
    closer = 'steve.dower'
    components = ['Interpreter Core']
    creation = <Date 2021-12-11.13:13:55.532>
    creator = 'steve.dower'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46048
    keywords = ['patch']
    message_count = 2.0
    messages = ['408300', '408303']
    nosy_count = 2.0
    nosy_names = ['lukasz.langa', 'steve.dower']
    pr_nums = ['30048']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46048'
    versions = ['Python 3.11']

    @zooba
    Copy link
    Member Author

    zooba commented Dec 11, 2021

    The embeddable distro cannot import native modules.

    This is because the '.' entry in the ._pth file is incorrect parsed by the new getpath module (bpo-45582).

    @zooba zooba added the 3.11 bug and security fixes label Dec 11, 2021
    @zooba zooba self-assigned this Dec 11, 2021
    @zooba zooba added interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error 3.11 bug and security fixes labels Dec 11, 2021
    @zooba zooba self-assigned this Dec 11, 2021
    @zooba zooba added interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error labels Dec 11, 2021
    @zooba
    Copy link
    Member Author

    zooba commented Dec 11, 2021

    New changeset 971ece8 by Steve Dower in branch 'main':
    bpo-46048: Fix parsing of single character lines in getpath readlines() (GH-30048)
    971ece8

    @zooba zooba closed this as completed Dec 11, 2021
    @zooba zooba closed this as completed Dec 11, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 bug and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant