- 21 Agu, 2005 9 kayıt (commit)
-
-
Gregory P. Smith yazdı
A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility.
-
Georg Brandl yazdı
-
Raymond Hettinger yazdı
(Contributed by Michael R Bax.)
-
Georg Brandl yazdı
-
Raymond Hettinger yazdı
sequences ==> iterables
-
Raymond Hettinger yazdı
Minor clarification.
-
Raymond Hettinger yazdı
Fix over-aggressive PyErr_Clear(). The same code fragment appears in various guises in list.extend(), map(), filter(), zip(), and internally in PySequence_Tuple().
-
Georg Brandl yazdı
-
Raymond Hettinger yazdı
-
- 20 Agu, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 19 Agu, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 18 Agu, 2005 3 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Raymond Hettinger yazdı
-
Walter Dörwald yazdı
-
- 17 Agu, 2005 5 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
* set_merge() cannot assume that the table doesn't resize during iteration. * convert some unnecessary tests to asserts -- they were necessary in dictobject.c because PyDict_Next() is a public function. The same is not true for set_next(). * re-arrange the order of functions to more closely match the order in dictobject.c. This makes it must easier to compare the two and ought to simplify any issues of maintaining both.
-
- 16 Agu, 2005 3 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 15 Agu, 2005 1 kayıt (commit)
-
-
Barry Warsaw yazdı
hotshot.stats.load.
-
- 14 Agu, 2005 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 13 Agu, 2005 5 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
* Use set_next() for looping in issubset() and frozenset_hash(). * Re-order the presentation of cmp and hash functions.
-
Phillip J. Eby yazdı
was never called during interpreter shutdown GC, so the f_back!=NULL assertion was correct. Now that generators get close()d during GC, the assertion was being triggered because the generator close() was being called as the top-level frame. However, nothing actually is broken by this; it's just that the condition was unexpected in previous Python versions.
-
Raymond Hettinger yazdı
-
Neil Schemenauer yazdı
-
- 12 Agu, 2005 4 kayıt (commit)
-
-
Raymond Hettinger yazdı
a frozenset conversion when the initial search attempt fails with a TypeError and the key is some type of set. Add a testcase. * Eliminate a duplicate if-stmt.
-
Raymond Hettinger yazdı
a frozenset conversion when the initial search attempt fails with a TypeError and the key is some type of set. Add a testcase. * Eliminate a duplicate if-stmt.
-
Neil Schemenauer yazdı
unicode instance if the argument is not an instance of basestring and calling __str__ on the argument returns a unicode instance.
-
Andrew M. Kuchling yazdı
-
- 11 Agu, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
s|=s, s&=s, s-=s, or s^=s). Add related tests. * Improve names for several variables and functions. * Provide alternate table access functions (next, contains, add, and discard) that work with an entry argument instead of just a key. This improves set-vs-set operations because we already have a hash value for each key and can avoid unnecessary calls to PyObject_Hash(). Provides a 5% to 20% speed-up for quick hashing elements like strings and integers. Provides much more substantial improvements for slow hashing elements like tuples or objects defining a custom __hash__() function. * Have difference operations resize() when 1/5 of the elements are dummies. Formerly, it was 1/6. The new ratio triggers less frequently and only in cases that it can resize quicker and with greater benefit. The right answer is probably either 1/4, 1/5, or 1/6. Picked the middle value for an even trade-off between resize time and the space/time costs of dummy entries.
-
- 09 Agu, 2005 2 kayıt (commit)
-
-
Fred Drake yazdı
-
Martin v. Löwis yazdı
add st_gen, st_birthtime.
-
- 07 Agu, 2005 4 kayıt (commit)
-
-
Martin v. Löwis yazdı
Backported to 2.4.
-
Martin v. Löwis yazdı
Backported to 2.4.
-
Raymond Hettinger yazdı
* Bring in free list from dictionary code. * Improve several comments. * Differencing can leave many dummy entries. If more than 1/6 are dummies, then resize them away. * Factor-out common code with new macro, PyAnySet_CheckExact.
-
Tim Peters yazdı
-