Issue 15169: Clear C code under PyImport_ExecCodeModuleObject() (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/59374
classification
Title: | Clear C code under PyImport_ExecCodeModuleObject() | ||
---|---|---|---|
Type: | Stage: | needs patch | |
Components: | Interpreter Core | Versions: | Python 3.3 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | brett.cannon | Nosy List: | brett.cannon, georg.brandl, loewis, python-dev |
Priority: | release blocker | Keywords: |
Created on 2012-06-24 19:59 by brett.cannon, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg163834 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2012-06-24 19:59 |
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. | ||
msg163836 - (view) | Author: Martin v. Löwis (loewis) * ![]() |
Date: 2012-06-24 20:02 |
I propose to defer this to 3.4. | ||
msg164019 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2012-06-25 21:29 |
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. | ||
msg165393 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2012-07-13 17:57 |
New changeset 9e164b404983 by Brett Cannon in branch 'default': Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use http://hg.python.org/cpython/rev/9e164b404983 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:32 | admin | set | nosy: + georg.brandlgithub: 59374 |
2012-07-13 17:58:39 | brett.cannon | link | issue14599 dependencies |
2012-07-13 17:58:30 | brett.cannon | set | status: open -> closedresolution: fixed |
2012-07-13 17:57:11 | python-dev | set | nosy: + python-devmessages: + |
2012-07-13 15:37:25 | brett.cannon | set | assignee: brett.cannon |
2012-07-13 15:32:42 | brett.cannon | set | priority: normal -> release blocker |
2012-06-25 21:29:35 | brett.cannon | set | messages: + |
2012-06-24 20:02:12 | loewis | set | nosy: + loewismessages: + |
2012-06-24 19:59:15 | brett.cannon | create |