cpython/Python
Guido van Rossum cfbf1a33c1 Fix an issue that was reported in but unrelated to the main problem of
SF bug 535905 (Evil Trashcan and GC interaction).

The SETLOCAL() macro should not DECREF the local variable in-place and
then store the new value; it should copy the old value to a temporary
value, then store the new value, and then DECREF the temporary value.
This is because it is possible that during the DECREF the frame is
accessed by other code (e.g. a __del__ method or gc.collect()) and the
variable would be pointing to already-freed memory.

BUGFIX CANDIDATE!
2002-03-28 20:17:52 +00:00
..
.cvsignore
atof.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
bltinmodule.c Patch #494045: patches errno and stat to cope on plan9. 2002-03-09 12:07:51 +00:00
ceval.c Fix an issue that was reported in but unrelated to the main problem of 2002-03-28 20:17:52 +00:00
codecs.c
compile.c Patch #50002: Display line information for bad \x escapes: 2002-03-03 21:30:27 +00:00
dup2.c
dynload_aix.c aix_loaderror(): Conversion of sprintf() to PyOS_snprintf() for buffer 2001-11-28 21:35:49 +00:00
dynload_beos.c Fix for 2002-01-23 15:51:12 +00:00
dynload_dl.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_hpux.c Test for error status of shl_findsym. Fixes #505417. 2.2.1 candiate. 2002-01-26 20:03:48 +00:00
dynload_mac.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_next.c Removed a spurious }. (How did it get there in the first place??) 2002-02-11 16:21:00 +00:00
dynload_os2.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_shlib.c OS/2 EMX port changes (Python part of patch #450267): 2002-02-26 11:41:34 +00:00
dynload_stub.c
dynload_win.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
errors.c Patch #494045: patches errno and stat to cope on plan9. 2002-03-09 12:07:51 +00:00
exceptions.c Patch #50002: Display line information for bad \x escapes: 2002-03-03 21:30:27 +00:00
fmod.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
frozen.c Squash compiler wng about signed/unsigned mismatch. 2001-10-18 18:57:31 +00:00
frozenmain.c Include <unistd.h> in Python.h. Fixes #500924. 2002-01-12 11:05:12 +00:00
future.c Fix SF bug [ #450245 ] Error in parsing future stmts 2001-08-20 20:32:33 +00:00
getargs.c Fixed "u#" parser marker to pass through Unicode objects as-is without 2002-01-09 16:21:27 +00:00
getcompiler.c
getcopyright.c Add 2002 to PSF copyrights. 2002-02-27 13:29:46 +00:00
getcwd.c
getmtime.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
getopt.c
getplatform.c
getversion.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
graminit.c Very subtle syntax change: in a list comprehension, the testlist in 2001-10-15 15:44:05 +00:00
hypot.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
import.c OS/2 EMX port changes (Python part of patch #450267): 2002-02-26 11:41:34 +00:00
importdl.c SF patch #471839: Bug when extensions import extensions (Shane Hathaway) 2001-10-16 20:07:34 +00:00
importdl.h OS/2 EMX port changes (Python part of patch #450267): 2002-02-26 11:41:34 +00:00
mactoolboxglue.c More sprintf -> PyOS_snprintf. 2001-12-04 01:11:32 +00:00
marshal.c Use PyObject_CheckReadBuffer(). 2001-11-09 22:02:48 +00:00
memmove.c
modsupport.c Introduce two new flag bits that can be set in a PyMethodDef method 2002-03-28 05:33:33 +00:00
mysnprintf.c PyOS_vsnprintf(): Change PyMem_Malloc() call to PyMem_MALLOC() macro, 2001-12-21 16:32:15 +00:00
mystrtoul.c
pyfpe.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
pystate.c Add a low-level API to access interpreters, for David Beazley. 2001-07-19 12:19:27 +00:00
pythonrun.c Disable the parser hacks that enabled the "yield" keyword using a future 2002-03-22 23:53:36 +00:00
sigcheck.c
strdup.c
strerror.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
strtod.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
structmember.c Fix SF bug #486144: Uninitialized __slot__ vrbl is None. 2001-12-04 16:23:42 +00:00
symtable.c Add a comment explaining the st_symbols cache. 2001-12-10 00:53:18 +00:00
sysmodule.c Change sys_exit to use METH_VARARGS. 2002-03-27 13:03:09 +00:00
thread.c I've been waiting 8 years for KSR to re-emerge from bankruptcy. If they 2002-03-25 06:49:10 +00:00
thread_beos.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_cthread.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_foobar.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_lwp.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_nt.h SF patch 522961: Leak in Python/thread_nt.h, from Gerald S. Williams. 2002-02-28 21:34:34 +00:00
thread_os2.h OS/2 EMX port changes (Python part of patch #450267): 2002-02-26 11:41:34 +00:00
thread_pth.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_pthread.h Document that _POSIX_SEMAPHORES is predefined. 2002-03-17 17:19:00 +00:00
thread_sgi.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_solaris.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_wince.h Partial patch from SF #452266, by Jason Petrone. 2001-10-16 21:13:49 +00:00
traceback.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00