summaryrefslogtreecommitdiff
path: root/Python/traceback.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-20 22:25:32 +0000
committerGuido van Rossum <guido@python.org>1998-05-20 22:25:32 +0000
commitadf0e437cb15791c9bbfd99929388f3ff8e07e3a (patch)
tree5435d878f2e985f819c7a6bdafbf4ed2c35de61b /Python/traceback.c
parent885215c3da9b70f535acbea2c15ccebe1705da04 (diff)
downloadcpython-git-adf0e437cb15791c9bbfd99929388f3ff8e07e3a.tar.gz
Trivial little change: when setting a member to an object, hold the
old value in a temporary and XDECREF it only after then new value has been set. This prevents the (unlikely) case where the destructor of the member uses the containing object -- it would find it in an undefined state.
Diffstat (limited to 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions