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

This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:55:39 +02:00
..
bsddb
compiler Issue #15212: fix typo in compiler module (rename SC_GLOBAL_EXPLICT to SC_GLOBAL_EXPLICIT). 2012-07-02 00:01:22 +02:00
ctypes Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:55:39 +02:00
curses Fix docstring in curses (#16782) 2012-12-29 23:09:32 +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
hotshot
idlelib Issue #16829: IDLE printing no longer fails if there are spaces or other 2013-01-12 18:12:27 +02:00
importlib
json #16549: fix test failures on Windows. 2012-11-29 05:08:54 +02:00
lib-tk Issue #15861: tkinter now correctly works with lists and tuples containing 2013-01-15 18:01:21 +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:13 +00:00
msilib
multiprocessing Issue #10527: Remove dead code 2013-01-15 13:13:35 +00:00
plat-aix3 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-aix4
plat-atheos
plat-beos5
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-irix5
plat-irix6
plat-linux2
plat-mac
plat-netbsd1 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-next3
plat-os2emx
plat-riscos
plat-sunos5
plat-unixware7
pydoc_data update pydoc-topics 2012-02-23 15:18:13 -05:00
site-packages
sqlite3 #15109: revert '%'->'format' changes in 4b105d328fe7 to fix regression. 2013-01-10 21:10:40 -05:00
test Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:55:39 +02:00
unittest Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02: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:57:14 +02:00
BaseHTTPServer.py Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler 2012-04-29 13:39:16 +08:00
Bastion.py
CGIHTTPServer.py Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests 2012-04-12 02:23:23 +08:00
ConfigParser.py Fixes #4686. Reverts redundant picklability code from r74544. 2012-01-23 17:30:53 +01:00
Cookie.py Fix for issue14426 - buildbots here I come 2012-05-20 16:56:24 +08:00
DocXMLRPCServer.py
HTMLParser.py #14538: HTMLParser can now parse correctly start tags that contain a bare /. 2012-04-18 19:08:41 -06:00
MimeWriter.py
Queue.py
SimpleHTTPServer.py
SimpleXMLRPCServer.py Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer 2012-02-18 14:30:34 +01:00
SocketServer.py Issue #14574: Ignore socket errors raised when flushing a connection on close. 2012-12-25 22:46:32 +00:00
StringIO.py
UserDict.py
UserList.py
UserString.py
_LWPCookieJar.py #15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka. 2012-09-21 16:27:45 +03:00
_MozillaCookieJar.py
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:04 +03:00
__phello__.foo.py
_abcoll.py
_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:02:17 -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:25:59 +02:00
antigravity.py
anydbm.py
argparse.py A follow up for issue #15906: change the test for calling the type conversion 2012-09-12 14:34:50 -04:00
ast.py
asynchat.py
asyncore.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
atexit.py
audiodev.py
base64.py
bdb.py Have Bdb frame_returning in the finally clause 2012-05-01 10:46:59 +08:00
binhex.py
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:36 -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
commands.py
compileall.py
contextlib.py
cookielib.py Use raw strings for docstrings with backslashes in ASCII diagrams 2012-02-26 01:33:22 +01:00
copy.py
copy_reg.py
csv.py
dbhash.py
decimal.py Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 2012-08-24 20:06:30 +01:00
difflib.py
dircache.py
dis.py
doctest.py #14649: clarify DocTestSuite error when there are no docstrings. 2012-09-10 10:17:13 -04:00
dumbdbm.py
dummy_thread.py
dummy_threading.py
filecmp.py
fileinput.py
fnmatch.py
formatter.py
fpformat.py
fractions.py
ftplib.py Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka) 2012-12-17 14:30:48 +01:00
functools.py
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path. 2012-12-16 13:55:47 +01:00
gzip.py Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'. 2012-11-11 13:52:10 +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
hmac.py
htmlentitydefs.py
htmllib.py
httplib.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
ihooks.py
imaplib.py
imghdr.py
imputil.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:01:23 +03:00
mailcap.py
markupbase.py
md5.py
mhlib.py
mimetools.py
mimetypes.py #15199: Fix JavaScript's default MIME type to application/javascript 2012-08-20 21:28:46 +03:00
mimify.py
modulefinder.py
multifile.py
mutex.py
netrc.py
new.py
nntplib.py
ntpath.py
nturl2path.py
numbers.py Update docstring with more useful text (from the PEP) 2012-02-26 01:37:47 +01:00
opcode.py
optparse.py
os.py merge 2.6 with hash randomization fix 2012-02-20 21:44:56 -05:00
os2emxpath.py
pdb.doc
pdb.py
pickle.py
pickletools.py
pipes.py
pkgutil.py
platform.py Fix #16176. Properly identify Windows 8 via platform.platform() 2012-10-11 16:16:50 -05:00
plistlib.py
popen2.py
poplib.py
posixfile.py
posixpath.py #15342: Add clarifying sentence to posixpath.join docstring. 2012-07-21 14:37:29 -04:00
pprint.py
profile.py
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
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:54:25 +03:00
pydoc.py #14638: pydoc now treats non-str __name__ as None instead of raising 2012-04-23 13:27:11 -04:00
quopri.py
random.py
re.py remove extra zero 2012-02-21 08:08:29 -05:00
repr.py
rexec.py
rfc822.py #15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka. 2012-09-21 16:27:45 +03:00
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
robotparser.py
runpy.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
sched.py
sets.py
sgmllib.py
sha.py
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
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
sre.py
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
statvfs.py
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
stringold.py
stringprep.py
struct.py
subprocess.py Keep ref to ECHILD in local scope (#16650) 2012-12-24 20:09:27 +02:00
sunau.py
sunaudio.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
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 22:16:06 -07:00
tempfile.py
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
toaiff.py
token.py Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01: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:30:51 +02:00
trace.py
traceback.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
tty.py
types.py
urllib.py Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199 2012-03-15 13:24:40 -07:00
urllib2.py Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly 2012-12-23 09:00:47 -08:00
urlparse.py Fix issue16713 - tel url parsing with params 2012-12-24 13:56:54 -08:00
user.py
uu.py
uuid.py
warnings.py
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:38:17 +01:00
weakref.py
webbrowser.py
whichdb.py
wsgiref.egg-info
xdrlib.py
xmllib.py
xmlrpclib.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
zipfile.py Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB. 2013-01-15 00:29:51 +02:00