cpython/Lib
Serhiy Storchaka 441d30fac7 Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.

This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:26:26 +02:00
..
concurrent Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`. 2012-03-31 20:23:30 +02:00
ctypes Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:26:26 +02:00
curses Fix docstring in curses (#16782) 2012-12-29 23:07:50 +02:00
dbm Close #13007: whichdb should recognize gdbm 1.9 magic numbers 2011-09-19 17:08:18 +02:00
distutils Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
email revert comment wording (#16714) 2012-12-19 22:47:05 +02:00
encodings Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
html #14538: HTMLParser can now parse correctly start tags that contain a bare /. 2012-04-18 19:18:22 -06:00
http Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished. 2012-12-15 19:11:54 +01:00
idlelib Issue #16829: IDLE printing no longer fails if there are spaces or other 2013-01-12 18:13:24 +02:00
importlib Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:14:22 +02:00
json #16549: fix test failures on Windows. 2012-11-29 05:08:54 +02:00
lib2to3 enumerate only requires an iterable (closes #16573) 2012-11-29 10:55:22 -05:00
logging Issue #9501: Improved shutdown handling to deal with module attributes correctly. 2013-01-15 17:55:57 +00:00
msilib Remove duplication. 2011-10-19 10:58:56 +03:00
multiprocessing Issue #10527: Remove dead code 2013-01-15 13:19:24 +00:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux2
plat-netbsd1
plat-next3
plat-os2emx
plat-sunos5
plat-unixware7
pydoc_data update pydoc-topics 2012-02-23 15:18:13 -05:00
site-packages
sqlite3 #13934: document sqlite version strings, use correct one in test. 2013-01-10 20:18:21 -05:00
test Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:26:26 +02:00
tkinter Issue #15861: tkinter now correctly works with lists and tuples containing 2013-01-15 17:56:08 +02:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
urllib Fix issue16713 - tel url parsing with params 2012-12-24 14:00:20 -08:00
wsgiref Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
xml Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 21:58:04 +02:00
xmlrpc Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:14:22 +02:00
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
__phello__.foo.py
_abcoll.py Issue #16373: Prevent infinite recursion for ABC Set class operations. 2012-11-01 13:28:54 +02:00
_compat_pickle.py
_dummy_thread.py
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
_pyio.py call close on the underlying stream even if flush raises (#16597) 2012-12-20 12:24:10 -06:00
_strptime.py Followup to issue #14157: respect the relative ordering of values produced by time.strptime(). 2012-05-14 19:44:59 +02:00
_threading_local.py
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:15:38 -06:00
abc.py
aifc.py Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file. 2012-12-29 22:30:56 +02:00
antigravity.py
argparse.py Update merge from 2.7: s/basetring/str 2012-09-12 14:42:34 -04:00
ast.py Add missing types to docstring of ast.literal_eval. 2011-04-17 19:10:27 +02:00
asynchat.py
asyncore.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
base64.py
bdb.py Have Bdb frame_returning in the finally clause 2012-05-01 10:46:59 +08:00
binhex.py Close #11577: Improve binhex test coverage and fix ResourceWarning 2011-03-16 21:26:40 -04:00
bisect.py
cProfile.py
calendar.py #15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier. 2012-09-21 17:26:35 +03:00
cgi.py #16765: remove unused import. 2012-12-25 14:25:47 +02:00
cgitb.py #12890: don't emit <p> tags in text mode when logdir specified. 2012-10-27 14:42:47 -04:00
chunk.py
cmd.py Issue 15337: help() shown as undocumented 2012-07-16 00:11:05 -07:00
code.py
codecs.py
codeop.py
collections.py Minor fixups. Early-out for equality test. Inline PREV/NEXT constants. 2012-12-01 19:22:02 -08:00
colorsys.py
compileall.py Clarify compileall command-line options (#10454). 2011-09-01 20:04:50 +02:00
configparser.py configparser: preserve section order when using `__setitem__` (issue #16820) 2013-01-01 23:45:33 +01:00
contextlib.py Remove trailing whitespace 2011-05-06 00:02:12 +10:00
copy.py
copyreg.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
csv.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
datetime.py Issue #15973: Fixed segmentation fault on timezone comparison to other types. 2012-09-20 16:39:33 -04:00
decimal.py Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 2012-08-24 20:06:30 +01:00
difflib.py Issue 11747: Fix output format for context diffs. 2011-04-12 15:48:25 -07:00
dis.py
doctest.py #14649: clarify DocTestSuite error when there are no docstrings. 2012-09-10 10:17:13 -04:00
dummy_threading.py
filecmp.py Issue 11802: filecmp cache was growing without bound. 2011-06-25 17:20:21 +02:00
fileinput.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
fnmatch.py
formatter.py
fractions.py
ftplib.py Issue 16646 (ftplib): deliberately use intermediate variable after catching exception 2012-12-17 20:46:16 +01:00
functools.py Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache. 2011-10-15 23:50:42 -07:00
genericpath.py
getopt.py
getpass.py issue11236 getpass.getpass to respond ctrl-c or ctrl-z 2011-04-26 21:02:26 +08:00
gettext.py #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
glob.py #16618: Make glob.glob match consistently across strings and bytes 2012-12-27 10:10:11 +01:00
gzip.py Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'. 2012-11-11 14:04:14 +01:00
hashlib.py Consistently raise a TypeError when a non str is passed to hashlib.new 2012-07-21 21:22:16 -07:00
heapq.py Issue 13274: Make the pure python code for heapq more closely match the C implementation for an undefined corner case. 2011-10-30 14:32:54 -07:00
hmac.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
imaplib.py Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near 2012-04-29 15:56:49 -04:00
imghdr.py
inspect.py Revert part of 13f56cd8dec1 (issue #1785) to avoid breaking getmembers() with unbound methods. 2012-01-18 17:39:01 +01:00
io.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
keyword.py Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01:00
linecache.py
locale.py Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
macpath.py
macurl2path.py
mailbox.py #15222: Insert blank line after each message in mbox mailboxes 2012-09-25 22:02:06 +03:00
mailcap.py
mimetypes.py #15199: Fix JavaScript's default MIME type to application/javascript 2012-08-20 21:28:58 +03:00
modulefinder.py merge 11164 2011-05-09 08:10:38 +02:00
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
nntplib.py Issue #10287: nntplib now queries the server's CAPABILITIES first before sending MODE READER, and only sends it if not already in READER mode. 2012-02-14 23:29:34 +01:00
ntpath.py Correction to f1509fc75435 - Issue #11583 2011-06-09 10:00:42 -05:00
nturl2path.py Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows 2011-04-14 13:16:30 +08:00
numbers.py Update docstring with more useful text (from the PEP) 2012-02-26 01:37:47 +01:00
opcode.py
optparse.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
os.py Issue #15845: Fix comparison between bytes and string. 2013-01-08 11:32:58 +02:00
os2emxpath.py
pdb.py Issue #13120: Allow to call pdb.set_trace() from thread. 2012-12-04 21:08:28 +02:00
pickle.py Issue #12848: The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does. 2012-11-24 20:40:21 +01:00
pickletools.py Issue #13505: Make pickling of bytes object compatible with Python 2. 2011-12-13 13:08:09 -05:00
pipes.py Remove obsolete comment 2011-09-01 22:06:49 +02:00
pkgutil.py Issue #7367: Fix pkgutil.walk_paths to skip directories whose 2011-10-06 14:19:08 -07:00
platform.py Fix #16176. Properly identify Windows 8 via platform.platform() 2012-10-11 16:16:50 -05:00
plistlib.py Issue #985064: Make plistlib more resilient to faulty input plists. 2011-05-28 03:02:30 -07:00
poplib.py
posixpath.py #15342: Add clarifying sentence to posixpath.join docstring. 2012-07-21 14:37:29 -04:00
pprint.py Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key. 2012-07-21 11:17:38 +02:00
profile.py fix ws 2011-06-28 21:57:21 -05:00
pstats.py #16303: remove extra quotes from exception and add (). Initial patch by Vladimir Rutsky. 2012-10-24 23:43:02 +03:00
pty.py Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF. 2012-02-16 00:40:03 -08:00
py_compile.py Issue #12618: py_compile cannot create files in current directory 2011-11-28 09:27:32 -06:00
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:56:36 +03:00
pydoc.py #14638: pydoc now treats non-str __name__ as None instead of raising 2012-04-23 13:27:11 -04:00
queue.py
quopri.py
random.py Issue #14926: fix docstring highlight 2012-06-02 19:40:02 +02:00
re.py #14236: fix docs for \S. 2012-04-29 13:35:55 +03:00
reprlib.py Fix typo. 2011-01-23 21:33:36 +00:00
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
runpy.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
sched.py Remove duplication. 2011-10-19 10:58:56 +03:00
shelve.py
shlex.py
shutil.py Fix wrong way of adding Error information in shutil.copytree. 2012-08-25 10:11:57 +02:00
site.py Issue #10881: Fix test_site failures with OS X framework builds. 2012-02-06 00:55:50 +01:00
smtpd.py Issue #9168: now smtpd is able to bind privileged port. 2011-10-20 23:21:58 +02:00
smtplib.py Issue #16647: save socket error details in LMTP.connect() 2012-12-17 19:06:43 +02:00
sndhdr.py
socket.py issue #879399 2012-12-25 13:04:50 +00:00
socketserver.py Issue #14574: Ignore socket errors raised when flushing a connection on close. 2012-12-25 22:46:32 +00:00
sre_compile.py
sre_constants.py
sre_parse.py #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett. 2013-01-11 08:32:01 +02:00
ssl.py Backport Python 3.2 fix for issue #12065, and add another test for SSLSocket.connect_ex(). 2012-12-28 19:03:43 +01:00
stat.py Issue #8746: Correct faulty configure checks so that os.chflags() and 2011-06-28 00:00:28 -07:00
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
stringprep.py
struct.py Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. 2011-01-31 19:27:55 +00:00
subprocess.py Keep ref to ECHILD in local scope (#16650) 2012-12-24 20:09:27 +02:00
sunau.py
symbol.py Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01:00
symtable.py
sysconfig.py Issue #10881: Fix test_site failures with OS X framework builds. 2012-02-06 00:55:50 +01:00
tabnanny.py #16478: use floor division in tabnanny and fix a ResourceWarning. Patch by Serhiy Storchaka. 2012-11-16 13:17:08 +02:00
tarfile.py Issue #16477: Close tarfile internal handlers in case of exception. 2012-11-29 14:22:26 +02:00
telnetlib.py Fixes Issue #14635: telnetlib will use poll() rather than select() when possible 2012-07-15 23:42:26 -07:00
tempfile.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:14:22 +02:00
textwrap.py Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
this.py
threading.py Fix #15567. collections.deque wasn't imported 2012-08-09 23:04:42 -05:00
timeit.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
token.py Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes. 2012-01-15 19:15:36 -06:00
tokenize.py #16152: fix tokenize to ignore whitespace at the end of the code when no newline is found. Patch by Ned Batchelder. 2012-11-03 17:38:43 +02:00
trace.py Fix test failures when Python is compiled without thread support. 2011-08-29 09:37:07 +02:00
traceback.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
tty.py
turtle.py Issue #13439: Fix many errors in turtle docstrings. 2011-12-02 21:24:14 +02:00
types.py
uu.py
uuid.py
warnings.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
wave.py Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz. 2012-11-17 03:41:54 +01:00
weakref.py Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying. 2012-03-01 16:26:35 +01:00
webbrowser.py #15509: If %action substitution produces a null string, drop it. 2012-09-03 12:30:12 -04:00
wsgiref.egg-info
xdrlib.py Change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:06 +02:00
zipfile.py Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB. 2013-01-15 00:31:39 +02:00