cpython/Lib
Georg Brandl 2daf6ae249 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 19:54:16 +01:00
..
ctypes check possible recursive _as_parameter_ to prevent segfault (closes #1838) 2011-03-26 17:56:28 -05:00
curses Issue #5622: Fix curses.wrapper to raise correct exception if curses 2011-03-09 02:36:51 -08:00
dbm Add docstring to dbm.open 2011-04-20 18:52:55 +02:00
distutils bump to 3.1.4 2011-06-11 09:58:58 -05:00
email Fix typo in docstring. 2011-04-13 16:43:21 +03:00
encodings Merged revisions 81474 via svnmerge from 2010-05-22 17:01:13 +00:00
html Fix display of html.parser.HTMLParser.feed docstring 2011-05-04 15:55:47 +02:00
http Issue #5537: Fix time2isoz() and time2netscape() functions of httplib.cookiejar 2011-03-21 02:38:51 +01:00
idlelib bump to 3.1.4 2011-06-11 09:58:58 -05:00
importlib Issue #11614: Fix importlib tests for the new __hello__ module 2011-05-16 16:57:18 +02:00
json Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 19:54:16 +01:00
lib2to3 revert unintended changes 2011-03-26 18:11:54 -05:00
logging Revert fix for #13807 mistakenly applied in this branch. 2012-02-03 18:23:05 +00:00
msilib Closes #11696: Fix ID generation in msilib. 2011-03-27 21:05:51 +02:00
multiprocessing Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by 2011-07-02 14:35:49 +02:00
plat-aix4
plat-atheos Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
plat-darwin These are present in the trunk but no longer in 3.x, which causes problems 2009-03-04 23:21:07 +00:00
plat-freebsd4
plat-freebsd5
plat-freebsd6 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-freebsd7 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-freebsd8 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-generic
plat-linux2
plat-netbsd1
plat-next3
plat-os2emx Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from 2008-03-31 01:51:45 +00:00
plat-sunos5 Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +00:00
plat-unixware7 Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
pydoc_data update pydoc-topics 2011-05-29 16:09:08 -05:00
site-packages
sqlite3 Merged revisions 86596 via svnmerge from 2010-11-21 01:30:29 +00:00
test Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 19:54:16 +01:00
tkinter Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 19:54:16 +01:00
urllib Issue #11467: Fix urlparse behavior when handling urls which contains scheme specific part only digits. 2011-04-15 18:20:24 +08:00
wsgiref Merged revisions 87797 via svnmerge from 2011-01-06 17:18:32 +00:00
xml Stop trying to use _xmlplus in the xml module. Closes #11164. 2011-05-09 08:05:43 +02:00
xmlrpc Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer 2012-02-18 14:42:57 +01:00
__future__.py barry has already been causing test breakage 2009-04-01 20:38:13 +00:00
__phello__.foo.py
_abcoll.py Remove the function annotations from _abcoll.py 2011-01-12 20:46:15 +00:00
_compat_pickle.py Issue #6137: The pickle module now translates module names when loading 2009-06-04 20:32:06 +00:00
_dummy_thread.py Merged revisions 65787 via svnmerge from 2008-08-17 22:31:15 +00:00
_markupbase.py Remove the htmllib and sgmllib modules as per PEP 3108. 2008-06-01 21:25:55 +00:00
_pyio.py Issue #12175: RawIOBase.readall() now returns None if read() returns None. 2011-05-25 22:47:16 +02:00
_strptime.py The message for the exception when time.strptime was passed something other 2009-03-31 03:58:04 +00:00
_threading_local.py Merged revisions 84344 via svnmerge from 2010-08-28 18:27:09 +00:00
_weakrefset.py Merged revisions 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from 2011-02-25 09:48:21 +00:00
abc.py Merged revisions 77791 via svnmerge from 2010-01-27 02:28:22 +00:00
aifc.py Merged revisions 72425-72426 via svnmerge from 2009-05-07 18:24:38 +00:00
antigravity.py Another hidden treasure. 2009-06-03 17:21:17 +00:00
ast.py Issue #11000 ast.parse doc fix (r88172) + tix fix (r88170) 2011-01-24 21:46:05 +00:00
asynchat.py Fixed bugs 760475, 953599, and 1519. This is a translation of changelist 64768 2008-07-07 05:04:12 +00:00
asyncore.py Issue #12502: asyncore: fix polling loop with AF_UNIX sockets. 2011-07-14 19:53:38 +02:00
base64.py Merged revisions 85497 via svnmerge from 2010-10-14 21:17:39 +00:00
bdb.py Merged revisions 86861 via svnmerge from 2010-11-29 12:27:45 +00:00
binhex.py Merged revisions 74289 via svnmerge from 2009-08-02 20:09:59 +00:00
bisect.py Per the language summit, the optional fastpath imports should use from-import-star. 2009-03-31 17:51:51 +00:00
cProfile.py Merged revisions 82805-82806,83523-83527,83536,83538,83542,83546-83548,83550-83555,83558,83560 via svnmerge from 2010-10-06 08:26:09 +00:00
calendar.py Merged revisions 85728,85731,85735,85766-85771,85773,85777 via svnmerge from 2010-11-26 08:52:36 +00:00
cgi.py Merged revisions 83901 via svnmerge from 2010-08-09 20:08:48 +00:00
cgitb.py Merged revisions 70980,71059,71225,71234,71241,71243,71249,71251,71255,71266,71299,71329,71397-71398,71486 via svnmerge from 2009-04-11 19:48:14 +00:00
chunk.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
cmd.py Merged revisions 83380 via svnmerge from 2010-08-01 04:14:22 +00:00
code.py Fix issue #1707. When raw_input() was removed, it was incorrectly replaced 2008-01-02 02:55:27 +00:00
codecs.py Merged revisions 81474 via svnmerge from 2010-05-22 17:01:13 +00:00
codeop.py Merged revisions 75472 via svnmerge from 2009-10-18 00:34:08 +00:00
collections.py Minor text rearrangement. 2011-04-20 13:03:49 -07:00
colorsys.py Merged revisions 68884,68973,68978,69003,69083,69112-69113 via svnmerge from 2009-01-30 03:39:35 +00:00
compileall.py Merged revisions 78991-78992,78994 via svnmerge from 2010-03-21 22:02:42 +00:00
configparser.py collections.Mapping is not available for setup.py. Remove the dependency the old-fashioned way (copy and paste). 2011-02-02 22:17:34 +00:00
contextlib.py Merged revisions 73518-73519 via svnmerge from 2009-06-23 10:55:52 +00:00
copy.py Merged revisions 84495-84497 via svnmerge from 2010-09-04 17:49:13 +00:00
copyreg.py Rename copy_reg module to copyreg. 2008-05-11 08:55:36 +00:00
csv.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
decimal.py #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 05:18:48 +02:00
difflib.py Issue 11747: Fix output format for context diffs. 2011-04-12 15:14:12 -07:00
dis.py Merged revisions 68116-68119,68121,68123-68127 via svnmerge from 2009-01-01 15:05:06 +00:00
doctest.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
dummy_threading.py Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 2008-05-25 13:05:15 +00:00
filecmp.py Use new form of with-statement instead of contextlib.nested(). 2009-06-04 00:11:54 +00:00
fileinput.py Use PEP 8 and true booleans. 2009-05-17 12:22:57 +00:00
fnmatch.py Merged revisions 82766 via svnmerge from 2010-07-10 14:00:10 +00:00
formatter.py Fix formatter usage of filter(). Bug #3800. 2008-09-09 19:31:25 +00:00
fractions.py Merged revisions 76458 via svnmerge from 2009-11-23 16:28:18 +00:00
ftplib.py #12002 - ftplib's abort() method raises TypeError 2011-05-07 19:03:47 +02:00
functools.py Issue 8814: functools.wraps() did not copy __annotations__. 2010-08-08 00:56:52 +00:00
genericpath.py Issue #3187: Better support for "undecodable" filenames. Code by Victor 2008-10-02 18:55:37 +00:00
getopt.py Merged revisions 83116 via svnmerge from 2010-07-24 01:11:58 +00:00
getpass.py Fix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z 2011-04-26 20:59:46 +08:00
gettext.py #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 05:18:48 +02:00
glob.py Merged revisions 70712,70714,70764-70765,70769-70771,70773,70776-70777,70788-70789,70824,70828,70832,70836,70842,70851,70855,70857,70866-70872,70883,70885,70893-70894,70896-70897,70903,70905-70907,70915,70927,70933,70951,70960,70962-70964,70998,71001,71006,71008,71010-71011,71019,71037,71056,71094,71101-71103,71106,71119,71123,71149-71150,71203,71212,71214-71217,71221,71240 via svnmerge from 2009-04-05 19:13:16 +00:00
gzip.py Merged revisions 85291 via svnmerge from 2010-10-06 21:29:56 +00:00
hashlib.py issue3715: docstring representation of hex escaped string needs to be double 2008-08-31 16:35:01 +00:00
heapq.py Minor tweaks to a few comments in heapq 2011-04-15 23:34:31 +02:00
hmac.py Fixed failing unit tests due to str/bytes mismatch. 2008-03-03 02:59:49 +00:00
imaplib.py Merged revisions 88231 via svnmerge from 2011-01-29 18:43:43 +00:00
imghdr.py Merged revisions 65713 via svnmerge from 2008-08-16 16:48:16 +00:00
inspect.py Merged revisions 85530,85532-85534,85538-85543,85546-85548 via svnmerge from 2010-11-26 08:42:45 +00:00
io.py add myself 2009-05-01 20:45:43 +00:00
keyword.py Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge from 2008-01-21 20:36:10 +00:00
linecache.py Merged revisions 85090 via svnmerge from 2010-09-29 01:31:23 +00:00
locale.py Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8" 2011-05-17 12:44:54 +02:00
macpath.py Note: only the relevant parts of r79474 are merged. 2010-03-28 11:42:38 +00:00
macurl2path.py Fixing Issue6711 - macurl2path has typos that raise AttributeError 2009-08-16 06:44:28 +00:00
mailbox.py #11999: sync based on comparing mtimes, not mtime to system clock 2011-05-06 22:07:19 -04:00
mailcap.py Merged revisions 80368-80369 via svnmerge from 2010-04-22 13:56:42 +00:00
mimetypes.py Merged revisions 85497 via svnmerge from 2010-10-14 21:17:39 +00:00
modulefinder.py Stop trying to use _xmlplus in the xml module. Closes #11164. 2011-05-09 08:05:43 +02:00
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
nntplib.py #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 05:18:48 +02:00
ntpath.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
nturl2path.py Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows 2011-04-14 13:16:30 +08:00
numbers.py Remove the funky function annotation from numbers.py. 2011-01-12 20:54:53 +00:00
opcode.py http://bugs.python.org/issue4715 2009-02-25 02:25:04 +00:00
optparse.py #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:06:57 -04:00
os.py Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 19:54:16 +01:00
os2emxpath.py Remove os.path.walk 2008-05-08 23:44:58 +00:00
pdb.doc Merged revisions 62998-63003,63005-63006,63009-63012,63014-63017,63019-63020,63022-63024,63026-63029,63031-63041,63043-63045,63047-63054,63056-63062 via svnmerge from 2008-05-16 00:03:33 +00:00
pdb.py Merged revisions 83259,83261,83264-83265,83268-83269,83271-83272,83281 via svnmerge from 2010-08-01 19:35:16 +00:00
pickle.py Merged revisions 82937 via svnmerge from 2010-07-17 23:01:39 +00:00
pickletools.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
pipes.py Merged revisions 81365,81367 via svnmerge from 2010-05-19 21:22:58 +00:00
pkgutil.py Add missing name in pkgutil.__all__ 2011-05-02 22:59:15 +02:00
platform.py #11985: update docstring of platform.python_implementation. 2011-05-04 18:37:50 +03:00
plistlib.py Issue #985064: Make plistlib more resilient to faulty input plists. 2011-05-28 02:19:19 -07:00
poplib.py Merged revisions 74330 via svnmerge from 2009-08-06 16:08:07 +00:00
posixpath.py Merged revisions 85689 via svnmerge from 2010-10-18 13:49:09 +00:00
pprint.py Issue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types. 2009-11-19 01:02:56 +00:00
profile.py update profile license (closes #12417) 2011-06-27 09:14:34 -05:00
pstats.py Remove mentions of previous license in profile module docs (#12417 followup). 2011-07-28 22:56:24 +02:00
pty.py Issue #3782: os.write() must not accept unicode strings 2008-09-15 23:02:56 +00:00
py_compile.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
pyclbr.py Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion. 2011-01-27 00:12:08 +00:00
pydoc.py #11926: add missing keywords to help("keywords"). 2011-04-28 07:42:55 +03:00
queue.py port the queue change r70405 2009-03-21 17:36:10 +00:00
quopri.py Patch 1329 (partial) by Christian Heimes. 2007-10-30 17:27:30 +00:00
random.py #11848: replace dead link in random.betavariate comment. 2011-04-15 08:25:16 +03:00
re.py #2650: Refactor re.escape to use enumerate(). 2011-03-25 14:19:30 +02:00
reprlib.py Rename the repr module file to reprlib.py. 2008-05-16 16:05:36 +00:00
rlcompleter.py Merged revisions 65168 via svnmerge from 2008-07-21 16:32:10 +00:00
runpy.py - remove svn:executable property from some library files 2009-06-22 14:17:00 +00:00
sched.py Merged revisions 72932 via svnmerge from 2009-05-26 07:51:03 +00:00
shelve.py Merged revisions 78145 via svnmerge from 2010-02-11 03:06:51 +00:00
shlex.py Merged revisions 85861 via svnmerge from 2010-10-27 18:54:06 +00:00
shutil.py Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only) 2011-05-06 10:23:04 +02:00
site.py Merged revisions 87497 via svnmerge from 2010-12-26 22:24:54 +00:00
smtpd.py Fix Issue 6706: return None on connect() in case of EWOULDBLOCK/ECONNABORTED error. 2010-11-01 15:18:09 +00:00
smtplib.py Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath. 2011-05-07 19:39:37 +02:00
sndhdr.py Merged revisions 82856-82857 via svnmerge from 2010-07-13 23:19:20 +00:00
socket.py Merged revisions 85420 via svnmerge from 2010-10-13 16:25:33 +00:00
socketserver.py backout 8b384de4e780, so a proper fix can be considered (#5715) 2011-05-24 12:50:34 -05:00
sre_compile.py Merged revisions 66894 via svnmerge from 2008-10-14 23:07:40 +00:00
sre_constants.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
sre_parse.py Merged revisions 78729 via svnmerge from 2010-03-06 15:27:04 +00:00
ssl.py Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional 2011-05-10 00:38:00 +02:00
stat.py Merged revisions 61644,61646-61647,61649-61652,61656-61658,61663,61665,61667 via svnmerge from 2008-03-20 10:49:03 +00:00
string.py Merged revisions 75074 via svnmerge from 2009-09-26 12:35:01 +00:00
stringprep.py Merged revisions 55007-55179 via svnmerge from 2007-05-07 22:24:25 +00:00
struct.py Merged revisions 81947-81950,81955-81956 via svnmerge from 2010-06-12 19:18:51 +00:00
subprocess.py Further fix #7838. CREATE_NEW_CONSOLE was exposed, but none of the 2011-04-29 15:48:13 -05:00
sunau.py Merged revisions 81809 via svnmerge from 2010-06-07 20:24:48 +00:00
symbol.py Merged revisions 73196,73278-73280,73299,73308,73312-73313,73317-73318,73321,73324,73331,73335,73340,73363 via svnmerge from 2009-06-11 22:54:11 +00:00
symtable.py Merged revisions 70801,70809 via svnmerge from 2009-03-31 15:26:37 +00:00
tabnanny.py Merged revisions 81393 via svnmerge from 2010-05-21 10:53:32 +00:00
tarfile.py Merged revisions 85211 via svnmerge from 2010-10-04 15:31:05 +00:00
telnetlib.py Merged revisions 87230 via svnmerge from 2010-12-14 14:27:27 +00:00
tempfile.py Merged revisions 76593 via svnmerge from 2009-11-30 00:16:44 +00:00
textwrap.py Merged revisions 75231 via svnmerge from 2009-10-04 14:54:52 +00:00
this.py
threading.py Merged revisions 87740 via svnmerge from 2011-01-04 18:42:29 +00:00
timeit.py Merged revisions 83393,83396,83398,83404-83405,83408 via svnmerge from 2010-08-01 18:56:30 +00:00
token.py Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61061-61064,61066-61080 via svnmerge from 2008-02-26 08:18:30 +00:00
tokenize.py Merged revisions 84364 via svnmerge from 2010-08-30 14:44:53 +00:00
trace.py Merged revisions 86229 via svnmerge from 2010-11-06 01:35:01 +00:00
traceback.py Merged revisions 76573 via svnmerge from 2009-11-28 16:16:09 +00:00
tty.py
turtle.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
types.py Merged revisions 62194,62197-62198,62204-62205,62214,62219-62221,62227,62229-62231,62233-62235,62237-62239 via svnmerge from 2008-04-09 08:37:03 +00:00
unittest.py #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long. 2011-04-27 10:17:34 +03:00
uu.py Merged revisions 86037 via svnmerge from 2010-10-31 16:06:55 +00:00
uuid.py Merged revisions 86192 via svnmerge from 2010-11-05 14:52:43 +00:00
warnings.py Merged revisions 75797 via svnmerge from 2009-10-27 20:24:45 +00:00
wave.py Merged revisions 85970 via svnmerge from 2010-11-20 11:29:58 +00:00
weakref.py (note: svnmerged from py3k, but the original message was wrong) 2010-01-08 17:56:16 +00:00
webbrowser.py Issue 10738: Fix webbrowser.Opera.raise_opts value. 2010-12-28 19:50:27 +00:00
wsgiref.egg-info
xdrlib.py Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer. 2011-03-27 16:25:40 +01:00
zipfile.py Backport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, support 2011-05-18 13:43:23 +02:00