--- On Tue, 10/26/10, P.J. Eby wrote:
> If all you really want this for is reloading, it would
> probably make more sense to simply modify the existing class
> and function objects using the reloaded values as a
> template, then save the modified classes and functions back
> to the module.
>
> Ha
--- On Tue, 10/26/10, Neil Schemenauer wrote:
> > I am happy to write up a PEP for this feature.
> > I'll start that process now, though if anyone
> > feels that this idea has no chance of
> > acceptance please let me know.
>
> I think a feature that allows modules to be more
> reliability rel
--- On Tue, 10/26/10, "Martin v. Löwis" wrote:
>>> I think this then mandates a PEP; I'm -1 on the feature also.
>>
>> I am happy to write up a PEP for this feature. I'll start that
>> process now, though if anyone feels that this idea has no chance of
>> acceptance please let me know.
>
> I
--- On Tue, 10/26/10, "Martin v. Löwis" wrote:
> I think this then mandates a PEP; I'm -1 on the feature also.
I am happy to write up a PEP for this feature. I'll start that
process now, though if anyone feels that this idea has no chance of
acceptance please let me know.
Thanks,
Peter
--- On Tue, 10/26/10, Benjamin Peterson wrote:
> Is there any reason that you'd want to do this?
> > http://doublestar.org/python-hot-loading-prototype/
I have a relatively large application written in Python, and a
specific use case where it will significantly increase our speed
of iteration t
--- On Tue, 10/26/10, Hrvoje Niksic wrote:
> What about objects that don't implement tp_traverse because
> they cannot take part in cycles?
A significant majority of objects that can hold references to other
objects can take part in cycles and do implement tp_traverse. My
original thought was
I have a patch that adds a new function to the gc module. The gc.remap()
function uses the tp_traverse mechanism to find all references to any keys
in a provided mapping, and remaps these references in-place to instead point
to the value corresponding to each key.
The motivation for adding thi