This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add gc.remap() function to the gc module.
Type: enhancement Stage: patch review
Components: Extension Modules Versions: Python 3.2
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, benjamin.peterson, jon, pingebretson, pitrou
Priority: normal Keywords: patch

Created on 2010-10-25 21:48 by pingebretson, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue10194_gc_remap.diff pingebretson, 2010-10-25 22:13 Patch for py3k r85840
Messages (5)
msg119582 - (view) Author: Peter Ingebretson (pingebretson) * Date: 2010-10-25 21:48
This patch implements the gc.remap() function as described in the following document:

http://doublestar.org/in-place-python-reloading/

The intended use is an enhanced module reloading mechanism, a prototype of which is described here:

http://doublestar.org/python-hot-loading-prototype/

The patch includes unit tests for gc.remap as well as documentation.  The NEWS has a TODO where the issue number would be, which needs to be updated.  The unit test suite has been run on Ubuntu 10.10 and Windows XP.
msg119587 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-10-26 03:30
I think you need to bring this up on python-ideas/python-dev.
msg119594 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-10-26 08:46
Agreed with Benjamin. There is already a visible issue with the patch: it breaks compatibility because the Py_VISIT() argument must now be an lvalue.
msg119608 - (view) Author: Peter Ingebretson (pingebretson) * Date: 2010-10-26 15:27
Thanks, I've started a thread on python-dev to discuss the patch.
msg119659 - (view) Author: Peter Ingebretson (pingebretson) * Date: 2010-10-26 23:50
Closing due to general lack of support on python-dev.  Some portion of this implementation may come back as part of a PEP reference implementation.
History
Date User Action Args
2022-04-11 14:57:07adminsetgithub: 54403
2010-10-26 23:50:02pingebretsonsetstatus: open -> closed
resolution: rejected
messages: + msg119659
2010-10-26 15:27:00pingebretsonsetmessages: + msg119608
2010-10-26 08:46:30pitrousetmessages: + msg119594
2010-10-26 05:44:03asvetlovsetnosy: + asvetlov
2010-10-26 05:35:13jonsetnosy: + jon
2010-10-26 03:30:47benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg119587
2010-10-26 02:40:29ned.deilysetnosy: + pitrou

stage: patch review
2010-10-25 22:14:06pingebretsonsetfiles: - python_remap.diff
2010-10-25 22:13:41pingebretsonsetfiles: + issue10194_gc_remap.diff
2010-10-25 21:48:12pingebretsoncreate