• Tim Peters's avatar
    Bugfix candidate. · 91a364df
    Tim Peters yazdı
    Two exceedingly unlikely errors in dictresize():
    1. The loop for finding the new size had an off-by-one error at the
       end (could over-index the polys[] vector).
    2. The polys[] vector ended with a 0, apparently intended as a sentinel
       value but never used as such; i.e., it was never checked, so 0 could
       have been used *as* a polynomial.
    Neither bug could trigger unless a dict grew to 2**30 slots; since that
    would consume at least 12GB of memory just to hold the dict pointers,
    I'm betting it's not the cause of the bug Fred's tracking down <wink>.
    91a364df
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
setup.py Loading commit data...