cpython/Objects
Georg Brandl 09a7c72cad Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
..
stringlib Closes #12579. Positional fields with str.format_map() now raise a ValueError instead of SystemError. 2011-07-18 14:03:41 -04:00
abstract.c code style 2010-11-20 17:21:08 +00:00
accu.c Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists. 2011-10-06 18:57:27 +02:00
boolobject.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
bytearrayobject.c Issue #11231: Fix bytes and bytearray docstrings 2011-12-17 23:18:07 +01:00
bytes_methods.c Fix closes Issue12385 - Clarify maketrans method docstring for bytes and bytearray object. 2011-06-27 09:06:45 -07:00
bytesobject.c Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
capsule.c Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 2010-08-11 17:31:17 +00:00
cellobject.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
classobject.c make hashes always the size of pointers; introduce Py_hash_t #9778 2010-10-17 20:54:53 +00:00
codeobject.c Remove arbitrary string length limits 2011-01-05 03:33:26 +00:00
complexobject.c Port 5b607cd8c71b (closes #11892) 2011-04-20 22:26:57 +02:00
descrobject.c make sure to initialize the method wrapper type 2011-09-01 16:32:31 -04:00
dictnotes.txt Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
dictobject.c Small clarification in docstring of dict.update(): the positional argument is not required. 2011-12-18 19:30:55 +01:00
enumobject.c Merged revisions 81465-81466,81468,81679,81735,81760,81868,82183 via svnmerge from 2010-06-27 21:45:24 +00:00
exceptions.c this is only a borrowed ref in Brett's branch 2012-02-10 08:46:54 -05:00
fileobject.c Issue #9015, #9611: stdprinter.write() clamps the length to 2^31-1 on Windows 2011-01-04 13:15:39 +00:00
floatobject.c Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c functions in float round. 2012-01-27 21:16:01 +00:00
frameobject.c Issue #9089: Remove references to intobject.c and intobject.h from comments. 2010-06-27 18:19:09 +00:00
funcobject.c use Py_CLEAR 2012-02-19 01:11:56 -05:00
genobject.c adjust braces a bit 2011-10-19 16:57:40 -04:00
iterobject.c Fix nit (sentinel on lhs of comparison). 2010-08-07 05:54:08 +00:00
listobject.c Revert "Accept None as start and stop parameters for list.index() and tuple.index()" 2011-11-06 21:02:39 +02:00
listsort.txt Merged revisions 74613,74615,74619-74620,74622 via svnmerge from 2009-09-01 08:13:16 +00:00
lnotab_notes.txt Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
longobject.c Issue #12963: PyLong_AsSize_t() now returns (size_t)-1 in all error cases. 2011-09-12 16:22:47 +02:00
memoryobject.c Merged revisions 88550 via svnmerge from 2011-02-24 20:53:48 +00:00
methodobject.c make hashes always the size of pointers; introduce Py_hash_t #9778 2010-10-17 20:54:53 +00:00
moduleobject.c Merged revisions 87251 via svnmerge from 2010-12-14 23:30:42 +00:00
object.c Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
obmalloc.c Merged revisions 87834 via svnmerge from 2011-01-07 21:49:25 +00:00
rangeobject.c #11845: Fix typo in rangeobject.c that caused a crash in compute_slice_indices. Patch by Daniel Urban. 2011-04-15 08:15:40 +03:00
setobject.c remove unused variable 2011-10-30 14:24:44 -04:00
sliceobject.c plug possible refleak (closes #13199) 2011-10-17 13:09:27 -04:00
structseq.c Fix indentation 2012-02-15 02:52:58 +01:00
tupleobject.c Consolidate the occurrances of the prime used as the multiplier when hashing 2012-01-14 15:31:34 -08:00
typeobject.c ready types returned from PyType_FromSpec 2012-01-29 20:16:37 -05:00
typeslots.inc Merge with 3.1 2011-04-05 15:48:47 +02:00
typeslots.py Support comment lines and missing indices in typeslots.h. 2011-01-06 19:26:21 +00:00
unicodectype.c Remove redundant includes of headers that are already included by Python.h. 2010-11-30 09:41:01 +00:00
unicodeobject.c Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
unicodetype_db.h Upgrade to Unicode 6.0.0. 2010-10-11 22:42:28 +00:00
weakrefobject.c Issue #10359: Remove ";" after function definition, invalid in ISO C 2010-11-09 09:32:19 +00:00