Skip to content

Clear C code under PyImport_ExecCodeModuleObject() #59374

Closed

Description

@brettcannon
BPO 15169
Nosy @loewis, @brettcannon

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/brettcannon'
closed_at = <Date 2012-07-13.17:58:30.622>
created_at = <Date 2012-06-24.19:59:15.595>
labels = ['interpreter-core', 'release-blocker']
title = 'Clear C code under PyImport_ExecCodeModuleObject()'
updated_at = <Date 2012-07-13.17:58:30.621>
user = 'https://github.com/brettcannon'

bugs.python.org fields:

activity = <Date 2012-07-13.17:58:30.621>
actor = 'brett.cannon'
assignee = 'brett.cannon'
closed = True
closed_date = <Date 2012-07-13.17:58:30.622>
closer = 'brett.cannon'
components = ['Interpreter Core']
creation = <Date 2012-06-24.19:59:15.595>
creator = 'brett.cannon'
dependencies = []
files = []
hgrepos = []
issue_num = 15169
keywords = []
message_count = 4.0
messages = ['163834', '163836', '164019', '165393']
nosy_count = 3.0
nosy_names = ['loewis', 'brett.cannon', 'python-dev']
pr_nums = []
priority = 'release blocker'
resolution = 'fixed'
stage = 'needs patch'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue15169'
versions = ['Python 3.3']

Activity

  1. brettcannon commented on Jun 24, 2012

    @brettcannon
    MemberAuthor

    import.c:PyImport_ExecCodeModuleObject() is holding on to a ton of C code thanks to get_sourcefile(). Should have PyImport_ExecCodeModuleWithPathnames() use get_sourcefile() only. And then get_sourcefile() should get re-implemented in Python code.

  2. added
    interpreter-core
    on Jun 24, 2012
  3. loewis commented on Jun 24, 2012

    loewismannequin
    Mannequin

    I propose to defer this to 3.4.

  4. brettcannon commented on Jun 25, 2012

    @brettcannon
    MemberAuthor

    The problem of deferring to 3.4 is that it will lock in semantics which are honestly weird and not desirable for PyImport_ExecCodeModuleObject() which is new in 3.3.

  5. self-assigned this
    on Jul 13, 2012
  6. python-dev commented on Jul 13, 2012

    python-devmannequin
    Mannequin
  7. 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

Labels

interpreter-corerelease-blocker

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions