- 17 Jun, 2004 1 commit
-
-
Armin Rigo authored
SF patch #943898
-
- 16 Jun, 2004 1 commit
-
-
Martin v. Löwis authored
-
- 15 Jun, 2004 6 commits
-
-
Raymond Hettinger authored
Reads better when the iterable is a generator expression.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Fred Drake authored
-
Fred Drake authored
We need to write more; hopefully the barrier is a little lower now.
-
Raymond Hettinger authored
Make sure the start argument is not negative.
-
- 14 Jun, 2004 5 commits
-
-
Fred Drake authored
-
Raymond Hettinger authored
(Contributed by Andrew Gaul.)
-
Martin v. Löwis authored
-
Raymond Hettinger authored
-
Tim Peters authored
a long time ago for VC6.
-
- 13 Jun, 2004 11 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
Beardsley. If the seconds are different, we still need to calculate the differences between milliseconds. Also, on a Gentoo Linux (2.6.5) dual Athlon MP box with glibc 2.3, time can go backwards. This probably happens when the process switches the CPU it's running on. Time can also go backwards when running NTP. If we detect a negative time delta (ie, time went backwards), return a delta of 0. This prevents an illegal array access elsewhere. I think it's safest to *not* update prev_timeofday in this case, so we return without updating. Backport candidate.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 12 Jun, 2004 6 commits
-
-
Raymond Hettinger authored
Maxheap version of heapq.smallest() is forthcoming.
-
Michael W. Hudson authored
-
Raymond Hettinger authored
an alternate algorithm when the number of selected items is small relative to the full iterable.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Change a XDECREF to DECREF (adding an assertion just to be sure).
-
- 11 Jun, 2004 7 commits
-
-
Fred Drake authored
This is basically the support for package data from Phillip Eby's setuptools package. I've changed it only to fit it into the core implementation rather than to live in subclasses, and added documentation.
-
Michael W. Hudson authored
[ 971323 ] make test_signal less annoying after some comments on IRC from a highly opinionated australian who wishes to remain anonymous.
-
Anthony Baxter authored
Ignore it, rather than breaking. Will backport. (and r1.1000 for Misc/NEWS!)
-
Anthony Baxter authored
-
Anthony Baxter authored
have a __module__. Test for this case. Bugfix candidate, will backport.
-
Skip Montanaro authored
-
Skip Montanaro authored
-
- 10 Jun, 2004 3 commits
-
-
Raymond Hettinger authored
tests which nicely highly highlight weaknesses). * Initial value is now a large prime. * Pre-multiply by the set length to add one more basis of differentiation. * Work a bit harder inside the loop to scatter bits from sources that may have closely spaced hash values. All of this is necessary to make up for keep the hash function commutative. Fortunately, the hash value is cached so the call to frozenset_hash() will only occur once per set.
-
Raymond Hettinger authored
* Non-zero initial value so that hash(frozenset()) != hash(0). * Final permutation to differentiate nested sets. * Add logic to make sure that -1 is not a possible hash value.
-
Raymond Hettinger authored
Prevents a collision pattern that occurs with nested tuples. (Yitz Gale provided code that repeatably demonstrated the weakness.)
-