Deprecating reload() ???

Skip Montanaro skip at pobox.com
Fri Mar 12 16:17:54 EST 2004


    Dave> Another "brute force" kind of solution would be to replace the old
    Dave> objects with links to the new.  Every refence, no matter where it
    Dave> came from, would be re-routed.  The inefficiency would only last
    Dave> until you restart the program.

That would require that you be able to transmogrify an object into a proxy
of some sort without changing its address.  In theory I think this could be
done, but not in pure Python.  It would require a helper written in C.

Skip





More information about the Python-list mailing list