Issue 10194: Add gc.remap() function to the gc module. (original ) (raw )Created on 2010-10-25 21:48 by pingebretson , last changed 2022-04-11 14:57 by admin . This issue is now closed .
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) *
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) *
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:07
admin
set
github: 54403
2010-10-26 23:50:02
pingebretson
set
status: open -> closedresolution: rejectedmessages: +
2010-10-26 15:27:00
pingebretson
set
messages: +
2010-10-26 08:46:30
pitrou
set
messages: +
2010-10-26 05:44:03
asvetlov
set
nosy: + asvetlov
2010-10-26 05:35:13
jon
set
nosy: + jon
2010-10-26 03:30:47
benjamin.peterson
set
nosy: + benjamin.peterson messages: +
2010-10-26 02:40:29
ned.deily
set
nosy: + pitrou stage: patch review
2010-10-25 22:14:06
pingebretson
set
files: - python_remap.diff
2010-10-25 22:13:41
pingebretson
set
files: + issue10194_gc_remap.diff
2010-10-25 21:48:12
pingebretson
create