cpython/Modules
Tim Peters 93cd83e4ae visit_decref(): Two optimizations.
1. You're not supposed to call this with a NULL argument, although the
   docs could be clearer about that.  The other visit_XYZ() functions
   don't bother to check.  This doesn't either now, although it does
   assert non-NULL-ness now.

2. It doesn't matter whether the object is currently tracked, so don't
   bother checking that either (if it isn't currently tracked, it may
   have some nonsense value in gc_refs, but it doesn't hurt to
   decrement gibberish, and it's cheaper to do so than to make everyone
   test for trackedness).

It would be nice to get rid of the other tests on IS_TRACKED.  Perhaps
trackedness should not be a matter of not being in any gc list, but
should be a matter of being in a new "untracked" gc list.  This list
simply wouldn't be involved in the collection mechanism.  A newly
created object would be put in the untracked list.  Tracking would
simply unlink it and move it into the gen0 list.  Untracking would do
the reverse.  No test+branch needed then.  visit_move() may be vulnerable
then, though, and I don't know how this would work with the trashcan.
2002-06-30 21:31:03 +00:00
..
expat Patch #551011: Fix compilation problems with Cygwin. 2002-05-08 07:16:37 +00:00
.cvsignore
_codecsmodule.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
_curses_panel.c Fix whitespace 2002-03-31 14:55:17 +00:00
_cursesmodule.c
_hotshot.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
_localemodule.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
_sre.c SF #561244 Micro optimizations 2002-06-13 21:11:11 +00:00
_ssl.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
_testcapimodule.c Switch to using METH_NOARGS where possible. 2002-04-01 14:28:58 +00:00
_tkinter.c Fix SF bug #557436, TclError is a str should be an Exception 2002-06-04 17:14:07 +00:00
_weakref.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
addrinfo.h
almodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
ar_beos
arraymodule.c Fix the bug described in 2002-06-19 15:44:15 +00:00
audioop.c
binascii.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
bsddbmodule.c SF patch [ 545523 ] patch for 514433 bsddb.dbopen (NULL) 2002-04-23 02:11:05 +00:00
ccpython.cc
cdmodule.c Repair widespread misuse of _PyString_Resize. Since it's clear people 2002-04-27 18:44:32 +00:00
cgen.py Convert a pile of obvious "yes/no" functions to return bool. 2002-04-04 22:55:58 +00:00
cgensupport.c
cgensupport.h
clmodule.c Repair widespread misuse of _PyString_Resize. Since it's clear people 2002-04-27 18:44:32 +00:00
cmathmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
config.c.in
cPickle.c Undefine TRUE and FALSE before redefining them. 2002-06-26 20:40:42 +00:00
cryptmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
cStringIO.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
cstubs
dbmmodule.c This introduces stricter library/header file checking for the Berkeley DB 2002-06-14 20:30:31 +00:00
dlmodule.c Convert METH_OLDARGS -> METH_VARARGS: also PyArg_Parse -> PyArg_ParseTuple 2002-03-31 15:43:28 +00:00
errnomodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
fcntlmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
flmodule.c Convert METH_OLDARGS -> METH_NOARGS: remove args parameter 2002-03-31 15:56:56 +00:00
fmmodule.c Convert from using METH_OLDARGS to METH_NOARGS. 2002-03-31 14:57:24 +00:00
fpectlmodule.c
fpetestmodule.c
gcmodule.c visit_decref(): Two optimizations. 2002-06-30 21:31:03 +00:00
gdbmmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c
glmodule.c
grpmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
imageop.c Convert more METH_OLDARGS & PyArg_Parse() 2002-04-02 18:26:33 +00:00
imgfile.c Convert METH_OLDARGS -> METH_VARARGS: also PyArg_Parse -> PyArg_ParseTuple 2002-03-31 15:43:28 +00:00
ld_so_aix
ld_so_beos
license.terms
linuxaudiodev.c Repair widespread misuse of _PyString_Resize. Since it's clear people 2002-04-27 18:44:32 +00:00
main.c
makesetup [Patch #536769] Add -Xcompiler flag for adding arguments and switches for 2002-03-29 18:00:19 +00:00
makexp_aix
mathmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
md5.h Issue an explicit error when we can't find an appropriate type for 2002-05-29 14:00:22 +00:00
md5c.c
md5module.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
mmapmodule.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
mpzmodule.c Get rid of all METH_OLDARGS & PyArg_Parse. 2002-04-01 01:37:14 +00:00
nismodule.c Remove METH_OLDARGS: 2002-03-31 15:27:00 +00:00
operator.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
parsermodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
pcre-int.h
pcre.h
pcremodule.c
posixmodule.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
puremodule.c
pwdmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
pyexpat.c Define PyDoc_STRVAR if it is not available (PyXML 1.54). 2002-06-30 06:40:55 +00:00
pypcre.c Undefine DPRINTF before defining it, there was a conflict with some other 2002-06-26 20:41:30 +00:00
python.c
readline.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
regexmodule.c Repair widespread misuse of _PyString_Resize. Since it's clear people 2002-04-27 18:44:32 +00:00
regexpr.c
regexpr.h
resource.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
rgbimgmodule.c Remove METH_OLDARGS: 2002-03-31 15:27:00 +00:00
rotormodule.c Don't accept null bytes in the key. 2002-06-10 19:46:18 +00:00
selectmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
Setup.config.in
Setup.dist SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
sgimodule.c Convert more METH_OLDARGS & PyArg_Parse() 2002-04-02 18:26:33 +00:00
shamodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
signalmodule.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
socketmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
socketmodule.h Major overhaul of timeout sockets: 2002-06-13 15:07:44 +00:00
sre.h
sre_constants.h
stropmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
structmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
sunaudiodev.c Remove METH_OLDARGS: 2002-03-31 15:27:00 +00:00
svmodule.c
symtablemodule.c
syslogmodule.c Use the PyModule_Add*() APIs instead of manipulating the module dict 2002-04-01 14:53:37 +00:00
tclNotify.c
termios.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
testcapi_long.h
threadmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
timemodule.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
timing.h
timingmodule.c Convert from using METH_OLDARGS to METH_NOARGS. 2002-03-31 14:57:24 +00:00
tkappinit.c
unicodedata.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
unicodedata_db.h
unicodename_db.h
xreadlinesmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
xxmodule.c Whitespace normalization. 2002-05-23 15:49:38 +00:00
xxsubtype.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
yuv.h
yuvconvert.c
zlibmodule.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00