Staging
v0.8.1
https://github.com/python/cpython
Revision 512d2cc64328d06f4ff627497ab444e83e513348 authored by Raymond Hettinger on 25 January 2011, 21:32:39 UTC, committed by Raymond Hettinger on 25 January 2011, 21:32:39 UTC
(Reviewed by Georg Brandl.)

Also made similar changes to deque.reverse() though this wasn't
strictly necessary (the edge case cannot occur with two pointers
moving to meet in the middle).  Making the change in reverse()
was more a matter of future-proofing.
1 parent 5543e81
History
Tip revision: 512d2cc64328d06f4ff627497ab444e83e513348 authored by Raymond Hettinger on 25 January 2011, 21:32:39 UTC
Issue #11004: Repair edge case in deque.count().
Tip revision: 512d2cc
File Mode Size
Python-ast.c -rw-r--r-- 266.2 KB
_warnings.c -rw-r--r-- 27.1 KB
asdl.c -rw-r--r-- 1.4 KB
ast.c -rw-r--r-- 101.3 KB
bltinmodule.c -rw-r--r-- 70.0 KB
ceval.c -rw-r--r-- 134.7 KB
ceval_gil.h -rw-r--r-- 14.1 KB
codecs.c -rw-r--r-- 30.6 KB
compile.c -rw-r--r-- 114.7 KB
dtoa.c -rw-r--r-- 79.2 KB
dup2.c -rw-r--r-- 705 bytes
dynamic_annotations.c -rw-r--r-- 6.6 KB
dynload_aix.c -rw-r--r-- 5.7 KB
dynload_dl.c -rw-r--r-- 564 bytes
dynload_hpux.c -rw-r--r-- 1.5 KB
dynload_next.c -rw-r--r-- 3.9 KB
dynload_os2.c -rw-r--r-- 1.2 KB
dynload_shlib.c -rw-r--r-- 4.2 KB
dynload_stub.c -rw-r--r-- 202 bytes
dynload_win.c -rw-r--r-- 9.6 KB
errors.c -rw-r--r-- 24.6 KB
fileutils.c -rw-r--r-- 11.6 KB
formatter_unicode.c -rw-r--r-- 506 bytes
frozen.c -rw-r--r-- 1.3 KB
frozenmain.c -rw-r--r-- 2.7 KB
future.c -rw-r--r-- 4.3 KB
getargs.c -rw-r--r-- 51.9 KB
getcompiler.c -rw-r--r-- 366 bytes
getcopyright.c -rw-r--r-- 502 bytes
getcwd.c -rw-r--r-- 1.5 KB
getopt.c -rw-r--r-- 3.3 KB
getplatform.c -rw-r--r-- 130 bytes
getversion.c -rw-r--r-- 289 bytes
graminit.c -rw-r--r-- 40.6 KB
import.c -rw-r--r-- 113.2 KB
importdl.c -rw-r--r-- 2.7 KB
importdl.h -rw-r--r-- 1.0 KB
makeopcodetargets.py -rwxr-xr-x 1.3 KB
marshal.c -rw-r--r-- 37.6 KB
modsupport.c -rw-r--r-- 14.2 KB
mysnprintf.c -rw-r--r-- 3.3 KB
mystrtoul.c -rw-r--r-- 8.1 KB
opcode_targets.h -rw-r--r-- 6.2 KB
peephole.c -rw-r--r-- 23.9 KB
pyarena.c -rw-r--r-- 5.8 KB
pyctype.c -rw-r--r-- 7.7 KB
pyfpe.c -rw-r--r-- 623 bytes
pymath.c -rw-r--r-- 1.5 KB
pystate.c -rw-r--r-- 20.8 KB
pystrcmp.c -rw-r--r-- 613 bytes
pystrtod.c -rw-r--r-- 37.6 KB
pythonrun.c -rw-r--r-- 66.4 KB
pytime.c -rw-r--r-- 1.7 KB
sigcheck.c -rw-r--r-- 529 bytes
strdup.c -rw-r--r-- 256 bytes
structmember.c -rw-r--r-- 8.8 KB
symtable.c -rw-r--r-- 53.1 KB
sysmodule.c -rw-r--r-- 58.9 KB
thread.c -rw-r--r-- 11.3 KB
thread_cthread.h -rw-r--r-- 2.3 KB
thread_foobar.h -rw-r--r-- 1.4 KB
thread_lwp.h -rw-r--r-- 2.8 KB
thread_nt.h -rw-r--r-- 9.6 KB
thread_os2.h -rw-r--r-- 5.7 KB
thread_pth.h -rw-r--r-- 4.6 KB
thread_pthread.h -rw-r--r-- 16.3 KB
thread_sgi.h -rw-r--r-- 8.0 KB
thread_solaris.h -rw-r--r-- 2.6 KB
thread_wince.h -rw-r--r-- 3.5 KB
traceback.c -rw-r--r-- 10.7 KB

back to top