]> granicus.if.org Git - python/commit
Make sure the objects returned by __getinitargs__() are kept alive (in
authorGuido van Rossum <guido@python.org>
Wed, 20 Aug 1997 22:26:19 +0000 (22:26 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 20 Aug 1997 22:26:19 +0000 (22:26 +0000)
commit558be283bf2c3a2c405c8a404da1cfed69900226
tree10459fb7fd83a7ad78ba35c6b458e41cb00c1010
parent86c052e83afc980d105186d53473210bb425e2ae
Make sure the objects returned by __getinitargs__() are kept alive (in
the memo) to avoid a certain kind of nasty crash.  (Not easily
reproducable because it requires a later call to __getinitargs__() to
return a tuple that happens to be allocated at the same address.)
Lib/copy.py