Staging
v0.5.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.h -rw-r--r-- 21.3 KB
Python.h -rw-r--r-- 3.6 KB
abstract.h -rw-r--r-- 41.4 KB
asdl.h -rw-r--r-- 1.0 KB
ast.h -rw-r--r-- 304 bytes
bitset.h -rw-r--r-- 792 bytes
bltinmodule.h -rw-r--r-- 264 bytes
boolobject.h -rw-r--r-- 886 bytes
bytearrayobject.h -rw-r--r-- 2.0 KB
bytes_methods.h -rw-r--r-- 2.0 KB
bytesobject.h -rw-r--r-- 4.9 KB
cellobject.h -rw-r--r-- 701 bytes
ceval.h -rw-r--r-- 7.0 KB
classobject.h -rw-r--r-- 1.6 KB
code.h -rw-r--r-- 3.8 KB
codecs.h -rw-r--r-- 5.1 KB
compile.h -rw-r--r-- 1.3 KB
complexobject.h -rw-r--r-- 2.0 KB
datetime.h -rw-r--r-- 8.1 KB
descrobject.h -rw-r--r-- 2.8 KB
dictobject.h -rw-r--r-- 6.6 KB
dtoa.h -rw-r--r-- 368 bytes
dynamic_annotations.h -rw-r--r-- 22.1 KB
enumobject.h -rw-r--r-- 253 bytes
errcode.h -rw-r--r-- 1.4 KB
eval.h -rw-r--r-- 597 bytes
fileobject.h -rw-r--r-- 1.5 KB
fileutils.h -rw-r--r-- 1.0 KB
floatobject.h -rw-r--r-- 4.4 KB
frameobject.h -rw-r--r-- 3.1 KB
funcobject.h -rw-r--r-- 3.5 KB
genobject.h -rw-r--r-- 942 bytes
graminit.h -rw-r--r-- 1.8 KB
grammar.h -rw-r--r-- 2.0 KB
import.h -rw-r--r-- 2.4 KB
intrcheck.h -rw-r--r-- 274 bytes
iterobject.h -rw-r--r-- 567 bytes
listobject.h -rw-r--r-- 2.7 KB
longintrepr.h -rw-r--r-- 3.9 KB
longobject.h -rw-r--r-- 6.9 KB
marshal.h -rw-r--r-- 743 bytes
memoryobject.h -rw-r--r-- 2.8 KB
metagrammar.h -rw-r--r-- 253 bytes
methodobject.h -rw-r--r-- 2.9 KB
modsupport.h -rw-r--r-- 4.6 KB
moduleobject.h -rw-r--r-- 1.4 KB
node.h -rw-r--r-- 890 bytes
object.h -rw-r--r-- 33.9 KB
objimpl.h -rw-r--r-- 13.1 KB
opcode.h -rw-r--r-- 4.6 KB
osdefs.h -rw-r--r-- 869 bytes
parsetok.h -rw-r--r-- 2.1 KB
patchlevel.h -rw-r--r-- 1.2 KB
pgen.h -rw-r--r-- 253 bytes
pgenheaders.h -rw-r--r-- 1.1 KB
py_curses.h -rw-r--r-- 4.1 KB
pyarena.h -rw-r--r-- 2.7 KB
pyatomic.h -rw-r--r-- 5.6 KB
pycapsule.h -rw-r--r-- 1.6 KB
pyctype.h -rw-r--r-- 1.3 KB
pydebug.h -rw-r--r-- 1.0 KB
pyerrors.h -rw-r--r-- 12.6 KB
pyexpat.h -rw-r--r-- 2.0 KB
pyfpe.h -rw-r--r-- 8.3 KB
pygetopt.h -rw-r--r-- 345 bytes
pymacconfig.h -rw-r--r-- 2.9 KB
pymath.h -rw-r--r-- 6.4 KB
pymem.h -rw-r--r-- 4.6 KB
pyport.h -rw-r--r-- 28.8 KB
pystate.h -rw-r--r-- 7.1 KB
pystrcmp.h -rw-r--r-- 436 bytes
pystrtod.h -rw-r--r-- 1.2 KB
pythonrun.h -rw-r--r-- 8.3 KB
pythread.h -rw-r--r-- 2.9 KB
pytime.h -rw-r--r-- 1.3 KB
rangeobject.h -rw-r--r-- 629 bytes
setobject.h -rw-r--r-- 3.1 KB
sliceobject.h -rw-r--r-- 1.3 KB
structmember.h -rw-r--r-- 2.3 KB
structseq.h -rw-r--r-- 1.2 KB
symtable.h -rw-r--r-- 4.2 KB
sysmodule.h -rw-r--r-- 1.2 KB
timefuncs.h -rw-r--r-- 472 bytes
token.h -rw-r--r-- 1.9 KB
traceback.h -rw-r--r-- 769 bytes
tupleobject.h -rw-r--r-- 2.3 KB
typeslots.h -rw-r--r-- 1.9 KB
ucnhash.h -rw-r--r-- 975 bytes
unicodeobject.h -rw-r--r-- 58.5 KB
warnings.h -rw-r--r-- 953 bytes
weakrefobject.h -rw-r--r-- 2.4 KB

back to top