cpython/Lib
R David Murray 82c6b45c14 Merge: #5713: Handle 421 error codes during sendmail by closing the socket.
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.

Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
2013-03-20 21:13:56 -04:00
..
collections Merge 2013-03-01 23:51:26 -08:00
concurrent Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
ctypes modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
curses Fix docstring in curses (#16782) 2012-12-29 23:08:07 +02:00
dbm Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
distutils use the HTTPS for pypi upload 2013-03-18 15:20:56 -07:00
email Add missing FeedParser and BytesFeedParser to email.parser.__all__. 2013-03-15 21:00:48 -04:00
encodings
html #16245: Fix the value of a few entities in html.entities.html5. 2012-10-23 15:51:27 +02:00
http #17460: Remove the strict argument of HTTPConnection and removing the 2013-03-18 14:11:41 -07:00
idlelib Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
importlib #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters. 2013-03-16 19:48:51 +02:00
json Merge #16057: Clarify why the base method default is called in custom encoders. 2013-03-17 21:53:48 -04:00
lib2to3 Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
logging modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
msilib Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, 2013-03-11 17:57:08 -04:00
multiprocessing Merge 2013-02-26 13:11:11 +00:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic - Issue #17031: Fix running regen in cross builds. 2013-01-25 18:45:12 +01:00
plat-linux
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data Update pydoc topics and suspicious markup file. 2012-08-25 12:14:59 +02:00
site-packages
sqlite3 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:46:12 +02:00
test Merge: #5713: Handle 421 error codes during sendmail by closing the socket. 2013-03-20 21:13:56 -04:00
tkinter Fix usage of the unittest.skip decorator. 2013-03-19 13:27:24 +02:00
turtledemo
unittest Issue #16997: unittest.TestCase now provides a subTest() context manager to procedurally generate, in an easy way, small test instances. 2013-03-20 20:16:47 +01:00
urllib #17485: Delete the Content-Length header if the data attribute is deleted. 2013-03-20 00:10:51 -04:00
venv Closes #16378: Merged docstring changes from 3.3. 2012-11-14 11:19:42 +00:00
wsgiref Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
xml Issue #11367: fix documentation of some find* methods in ElementTree 2013-03-12 06:04:33 -07:00
xmlrpc Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
__future__.py
__phello__.foo.py
_compat_pickle.py
_dummy_thread.py
_markupbase.py
_osx_support.py Issue #13590: OS X Xcode 4 - improve support for universal extension modules 2013-01-31 01:28:23 -08:00
_pyio.py Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
_strptime.py Issue #17165: fix a bare import in _strptime.py. 2013-02-10 19:29:17 +01:00
_threading_local.py
_weakrefset.py
abc.py Issue #16049: add abc.ABC helper class. 2012-12-13 19:09:33 +02:00
aifc.py Issue #16486: Make aifc files work with 'with' as context managers. 2012-12-29 22:54:49 +02:00
antigravity.py
argparse.py Issue #17047: remove doubled words added in 3.4, 2013-03-11 18:38:13 -04:00
ast.py create NameConstant AST class for None, True, and False literals (closes #16619) 2012-12-06 17:41:04 -05:00
asynchat.py Issue #16787: Increase asyncore and asynchat default output buffers size, to 2013-01-01 16:31:54 +01:00
asyncore.py Issue #16787: Increase asyncore and asynchat default output buffers size, to 2013-01-01 16:31:54 +01:00
base64.py
bdb.py
binhex.py
bisect.py
bz2.py bz2 module: Rewrap docstrings at 72 columns, as per PEP 8. 2012-10-08 20:31:34 +02:00
cProfile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
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 merge from 3.3 2013-01-23 03:01:23 -08:00
cgitb.py merge #12890: don't emit <p> tags in text mode when logdir specified. 2012-10-27 14:55:25 -04:00
chunk.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
cmd.py
code.py Issue #12643: Respect sys.excepthook in code.InteractiveConsole 2012-08-20 23:02:28 +10:00
codecs.py Issue16097 Fix small typo in comment (patch by Wael Al Jishi) 2012-10-01 16:41:08 +01:00
codeop.py
colorsys.py
compileall.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
configparser.py configparser: preserve section order when using `__setitem__` (issue #16820) 2013-01-01 23:45:33 +01:00
contextlib.py Issue #15806: Add contextlib.ignored(). 2013-03-10 22:26:51 -07:00
copy.py
copyreg.py
crypt.py
csv.py
datetime.py Closes #15973: fix a segmentation fault when comparing timezone objects. 2012-09-22 09:23:12 +02:00
decimal.py Merge 3.3. 2012-12-15 22:36:49 +01:00
difflib.py Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular. 2013-03-19 19:44:04 -04:00
dis.py
doctest.py #16522: Add FAIL_FAST flag to doctest. 2012-11-21 15:09:21 -05:00
dummy_threading.py
filecmp.py Close #15442: Expand the list of default directories ignored by filecmp.dircmp and expose it as a module attribute 2013-01-12 06:13:32 -08:00
fileinput.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
fnmatch.py Set cache sizes to a power-of-two 2013-02-17 01:33:37 -08:00
formatter.py
fractions.py Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError. 2012-11-15 20:58:40 +00:00
ftplib.py (issue 17452 / ftplib) fix TypeError occurring in case ssl module is not installed 2013-03-18 09:59:15 +01:00
functools.py merge 2013-03-08 23:04:47 -08:00
genericpath.py Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile. 2012-12-26 07:03:03 -06:00
getopt.py
getpass.py Get rig of EnvironmentError (#16705) 2012-12-17 23:35:18 +02:00
gettext.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
glob.py Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:56:15 +01:00
gzip.py Issue #1159051: GzipFile now raises EOFError when reading a corrupted file 2013-01-22 17:11:07 +02:00
hashlib.py Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00
heapq.py Fix typo 2013-03-05 02:11:10 -05:00
hmac.py
imaplib.py Merge: #17443: Fix buffering in IMAP4_stream. 2013-03-19 13:56:54 -04:00
imghdr.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
imp.py Issue #16880: _imp.load_dynamic() is not defined on a platform that 2013-03-17 15:48:16 -07:00
inspect.py Issue #17071: Signature.bind() now works when one of the keyword arguments is named self. 2013-01-29 21:21:56 +01:00
io.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ipaddress.py Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
keyword.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
linecache.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
locale.py
lzma.py Issue #16034 follow-up: Apply optimizations to the lzma module. 2012-10-21 16:57:32 +02:00
macpath.py Issue #16706: get rid of os.error 2012-12-18 22:02:39 +02:00
macurl2path.py
mailbox.py modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
mailcap.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
mimetypes.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
modulefinder.py merge with 3.3 2012-12-22 19:38:32 -05:00
netrc.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
nntplib.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ntpath.py Fix #16788. Add samestat to Lib/ntpath.py 2012-12-26 08:22:00 -06:00
nturl2path.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
numbers.py
opcode.py
optparse.py
os.py modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
pdb.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +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:41:34 +01:00
pickletools.py
pipes.py
pkgutil.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
platform.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
plistlib.py
poplib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
posixpath.py Fix posixpath.realpath() for multiple pardirs (fixes issue #6975). 2013-02-18 12:22:05 +02:00
pprint.py
profile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
pstats.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
pty.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
py_compile.py Port py_compile over to importlib 2013-01-26 08:48:36 -05:00
pyclbr.py
pydoc.py Merge: #17476: make allmethods actually return all methods. 2013-03-19 02:47:44 -04:00
queue.py
quopri.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
random.py Issue #17141: random.vonmisesvariate() no more hangs for large kappas. 2013-02-10 19:29:54 +02:00
re.py Issue #16564: Fixed a performance regression relative to Python 3.1 in the 2013-03-16 22:53:48 +02:00
reprlib.py
rlcompleter.py
runpy.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
sched.py Issue #16640: Run less code under a lock in sched module. 2012-12-29 21:46:37 +02:00
shelve.py Add spaces to follow PEP8. 2012-10-06 18:38:30 +03:00
shlex.py Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:35 +01:00
shutil.py #17076: Make copying of xattrs more permissive of missing FS support 2013-02-05 08:25:24 +01:00
site.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
smtpd.py modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
smtplib.py Merge: #5713: Handle 421 error codes during sendmail by closing the socket. 2013-03-20 21:13:56 -04:00
sndhdr.py #5024: whichhdr now returns the frame count for WAV files. 2013-03-18 17:42:42 -04:00
socket.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
socketserver.py Merge with 3.3 2012-12-26 15:15:17 +00:00
sre_compile.py Issue #13169: The maximal repetition number in a regular expression has been 2013-02-16 16:54:33 +02:00
sre_constants.py Fix issue #13169: Reimport MAXREPEAT into sre_constants.py. 2013-02-18 11:14:21 +02:00
sre_parse.py Issue #13169: The maximal repetition number in a regular expression has been 2013-02-16 16:54:33 +02:00
ssl.py merge 3.3 (#16900) 2013-01-10 14:16:42 -06:00
stat.py
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
stringprep.py
struct.py
subprocess.py Use a larger amount of data for tests such as the interrupted_write 2013-03-19 23:27:09 -07:00
sunau.py
symbol.py remain symbol.main to symbol._main mirroring token.py 2013-02-05 10:13:22 -05:00
symtable.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
sysconfig.py Issue #13590: OS X Xcode 4 - improve support for universal extension modules 2013-01-31 01:28:23 -08:00
tabnanny.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tarfile.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
telnetlib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
tempfile.py Fix for issue #16800: Use buffered write to handle EINTR. 2013-02-13 01:00:17 +02:00
textwrap.py
this.py
threading.py Improve variable names 2013-03-10 20:34:16 -07:00
timeit.py Issue #17414: Add timeit, repeat, and default_timer to timeit.__all__. 2013-03-15 03:04:25 -04:00
token.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tokenize.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
trace.py #17143: merge with 3.3. 2013-02-15 21:22:22 +02:00
traceback.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
tty.py
turtle.py Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
types.py
uu.py
uuid.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
warnings.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +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 #14631: Add a new :class:`weakref.WeakMethod` to simulate weak references to bound methods. 2012-11-17 18:57:38 +01:00
webbrowser.py Issue #16996: webbrowser module now uses shutil.which() to find a 2013-02-13 12:19:40 +02:00
xdrlib.py Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
zipfile.py Refactor recently added bugfix into more testable code by using a 2013-02-03 00:37:36 -08:00