You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clear C code under PyImport_ExecCodeModuleObject() #59374
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=<Date2012-07-13.17:58:30.622>created_at=<Date2012-06-24.19:59:15.595>labels= ['interpreter-core', 'release-blocker']
title='Clear C code under PyImport_ExecCodeModuleObject()'updated_at=<Date2012-07-13.17:58:30.621>user='https://github.com/brettcannon'
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.
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.
Activity
brettcannon commentedon Jun 24, 2012
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.
loewis commentedon Jun 24, 2012
I propose to defer this to 3.4.
brettcannon commentedon Jun 25, 2012
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.
python-dev commentedon Jul 13, 2012
New changeset 9e164b404983 by Brett Cannon in branch 'default':
Issues bpo-15169, bpo-14599: Make PyImport_ExecCodeModuleWithPathnames() use
http://hg.python.org/cpython/rev/9e164b404983