cpython/Lib
Gregory P. Smith 99716166b1 Fixes Issue #12268 for the io module - File readline, readlines and
read or readall methods no longer lose data when an underlying read
system call is interrupted within an io module object.  IOError is no
longer raised due to a read system call returning EINTR from within
these methods.

This is a backport of changeset 781b95159954 from 3.2.
The earlier 2.7 changeset 67dc99a989cd already fixed this for the
builtin python 2.x file object.
2012-10-12 13:02:06 -07:00
..
bsddb Merged revisions 86596 via svnmerge from 2010-11-21 13:34:58 +00:00
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 #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows. 2012-07-18 23:51:05 -05:00
curses Issue #5622: Fix curses.wrapper to raise correct exception if curses 2011-03-09 02:36:51 -08:00
distutils Create ~/.pypirc securely (#13512). 2012-07-03 01:23:46 -04:00
email #15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka. 2012-09-21 16:27:45 +03:00
encodings Issue #10807: Remove base64, bz2, hex, quopri, rot13, uu and zlib codecs from 2011-01-02 19:50:36 +00:00
hotshot
idlelib Issue #14997: disable <F5> in idle shell window. 2012-10-04 22:52:07 +03:00
importlib Issue 10899: Remove function type annotations from the stdlib 2011-01-13 19:08:04 +00:00
json #13769: Enhance docs for ensure_ascii semantics in JSON decoding functions 2012-09-01 07:29:06 +03:00
lib-tk Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog. 2012-07-30 20:04:53 +03:00
lib2to3 switch assertion to an explicit ValueError 2012-09-25 11:48:50 -04:00
logging Issue #16168: Use specified socket type for domain sockets in SysLogHandler. 2012-10-09 08:17:41 +01:00
msilib Remove duplication. 2011-10-19 10:39:35 +03:00
multiprocessing Issue #15646: Prevent equivalent of a fork bomb when using multiprocessing 2012-08-14 11:41:19 +01:00
plat-aix3
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 Issue #12935: Correct typo in findertools. 2011-09-15 14:07:31 -07:00
plat-netbsd1
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 sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures 2012-02-21 14:04:46 +02:00
test Fixes Issue #12268 for the io module - File readline, readlines and 2012-10-12 13:02:06 -07:00
unittest Pass on parameters in unittest.TextTestResult.__init__ super call 2012-09-28 12:54:56 +01:00
wsgiref Merged revisions 87797 via svnmerge from 2011-01-06 17:19:05 +00:00
xml #15970: xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param". 2012-09-19 08:11:03 +03:00
__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 Remove the function annotations from _abcoll.py 2011-01-12 20:46:15 +00:00
_LWPCookieJar.py #15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka. 2012-09-21 16:27:45 +03:00
_MozillaCookieJar.py
_pyio.py Issue #15841: The readable(), writable() and seekable() methods of io.BytesIO 2012-09-05 20:11:49 +02: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 #13589: Fix some serialization primitives in the aifc module. 2012-01-17 17:13:04 +01:00
antigravity.py
anydbm.py Add docstring to anydbm.open 2011-05-01 02:02:30 +02:00
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 Issue #11000 ast.parse doc fix (r88172) 2011-01-24 21:48:11 +00:00
asynchat.py
asyncore.py fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect. 2012-03-22 16:06:43 +01:00
atexit.py
audiodev.py
base64.py #1466065: add validate option to base64.b64decode 2010-11-11 20:09:20 +00: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
bdb.py Have Bdb frame_returning in the finally clause 2012-05-01 10:46:59 +08:00
binhex.py
bisect.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 Fix closes Issue12529 - cgi.parse_header failure on double quotes and 2011-10-20 00:52:24 +08:00
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
cgitb.py
chunk.py
cmd.py Issue 15337: help() shown as undocumented 2012-07-16 00:11:05 -07:00
code.py
codecs.py #7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2. 2010-12-02 18:06:51 +00:00
codeop.py
collections.py Minor formatting fix=up 2012-06-09 17:27:23 -07:00
colorsys.py
commands.py
compileall.py Clarify compileall command-line options (#10454). 2011-09-01 20:04:50 +02:00
ConfigParser.py Fixes #4686. Reverts redundant picklability code from r74544. 2012-01-23 17:30:53 +01:00
contextlib.py Issue #10859: Make contextlib.GeneratorContextManager officially 2011-01-08 09:55:31 +00:00
Cookie.py Fix for issue14426 - buildbots here I come 2012-05-20 16:56:24 +08:00
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
cProfile.py
csv.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
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 Issue 11747: Fix output format for context diffs. 2011-04-12 15:48:25 -07:00
dircache.py
dis.py
doctest.py #14649: clarify DocTestSuite error when there are no docstrings. 2012-09-10 10:17:13 -04:00
DocXMLRPCServer.py
dumbdbm.py
dummy_thread.py
dummy_threading.py
filecmp.py Issue 11802: filecmp cache was growing without bound. 2011-06-25 17:14:53 +02:00
fileinput.py
fnmatch.py
formatter.py
fpformat.py
fractions.py Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356). 2010-11-13 10:27:38 +00:00
ftplib.py Issue #10883: Fix socket leaks in urllib.request. 2011-07-23 15:51:16 +02:00
functools.py Issue #11628: cmp_to_key should use__slots__. 2011-03-22 13:20:59 -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 Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
gzip.py Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects. 2012-01-19 00:40:46 +02: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:29:06 -07:00
hmac.py
htmlentitydefs.py
htmllib.py
HTMLParser.py #14538: HTMLParser can now parse correctly start tags that contain a bare /. 2012-04-18 19:08:41 -06:00
httplib.py Issue #16037: Limit httplib's _read_status() function to work around broken 2012-09-25 13:29:30 +02:00
ihooks.py
imaplib.py Issue #1441530: In imaplib, use makefile() to wrap the SSL socket to avoid 2011-05-24 23:10:54 +02:00
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 remove basically bitrotted XXXs 2012-05-07 22:23:48 -04:00
keyword.py Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01:00
linecache.py Issue #10335: Add tokenize.open(), detect the file encoding using 2010-11-09 01:08:59 +00:00
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 #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:28:08 +02:00
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
MimeWriter.py
mimify.py
modulefinder.py Silence ResourceWarnings in modulefinder by using file context managers. 2010-10-30 00:26:48 +00:00
multifile.py
mutex.py
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
new.py
nntplib.py #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
ntpath.py Correction to f1509fc75435 - Issue #11583 2011-06-09 10:00:42 -05:00
nturl2path.py Fix Issue11474 - url2pathname() handling of '/C|/' on Windows 2011-04-14 12:54:35 +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 #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:05:52 -04:00
os.py merge 2.6 with hash randomization fix 2012-02-20 21:44:56 -05:00
os2emxpath.py
pdb.doc
pdb.py PDB now will properly escape backslashes in the names of modules it executes. Fixes #7750 2011-11-17 18:03:24 -05:00
pickle.py Issue #7689: Allow pickling of dynamically created classes when their 2011-10-04 09:34:48 +02:00
pickletools.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02: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:17:47 -07:00
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 fix ws 2011-06-28 21:57:21 -05:00
pstats.py Issue #14900: Add aliases for sorting params for pstat to follow column names from pstat output. 2012-10-07 19:17:15 +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 Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile. 2010-12-04 10:26:46 +00:00
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
Queue.py
quopri.py
random.py Code simplification suggested by Sven Marnach. 2011-06-25 11:24:35 +02:00
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
sched.py Remove duplication. 2011-10-19 10:39:35 +03:00
sets.py
sgmllib.py
sha.py
shelve.py #7905: Actually respect the keyencoding parameter to shelve.Shelf. 2010-12-04 11:12:43 +00:00
shlex.py Merged revisions 85861 via svnmerge from 2010-10-27 18:54:06 +00:00
shutil.py Fix wrong way of adding Error information in shutil.copytree. 2012-08-25 10:11:57 +02:00
SimpleHTTPServer.py merge from 2.5 branch. 2011-03-17 14:23:24 +08:00
SimpleXMLRPCServer.py Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer 2012-02-18 14:30:34 +01: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 Provide a better diagnosis on socket errors 2011-08-28 01:18:31 +02:00
sndhdr.py
socket.py Merged revisions 88622 via svnmerge from 2011-02-25 23:14:08 +00:00
SocketServer.py Fix the patch for issue #7978: select() raises select.error before 3.3, not OSError. 2012-04-09 01:41:34 +02:00
sre.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py Issue #13636: Weak ciphers are now disabled by default in the ssl module 2012-01-03 22:46:48 +01:00
stat.py Issue #8746: Correct faulty configure checks so that os.chflags() and 2011-06-27 23:41:53 -07:00
statvfs.py
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
StringIO.py raise an ValueError in getvalue() on closed StringIO (closes #12161) 2011-05-26 09:56:41 -05:00
stringold.py
stringprep.py
struct.py Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. 2011-01-31 19:27:55 +00:00
subprocess.py Issue #15756: subprocess.poll() now properly handles errno.ECHILD to 2012-09-29 12:02:48 -07:00
sunau.py Issue #10265: Close file objects explicitly in sunau. Patch by Brian Brazil. 2010-10-31 21:27:04 +00:00
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 #1513299: cleanup some map() uses where a comprehension works better. 2010-12-04 10:39:14 +00:00
tarfile.py Issue #14160: TarFile.extractfile() failed to resolve symbolic links when 2012-04-24 22:42:08 +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 Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module. 2011-11-25 21:28:15 +01: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 Issue 12514: Use try/finally to assure that timeit restores GC when done. 2011-07-28 23:56:38 -07:00
toaiff.py
token.py Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01:00
tokenize.py Issue #15054: Fix incorrect tokenization of 'b' and 'br' string literals. 2012-06-16 21:05:50 -05:00
trace.py Fix test failures when Python is compiled without thread support. 2011-08-29 09:37:07 +02:00
traceback.py
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 revert the changes done in d931a3b64fd6 - buildbot failure. 2012-07-08 02:20:27 -07:00
urlparse.py Closes #9374: add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name. 2012-08-24 18:17:28 +02:00
user.py
UserDict.py
UserList.py
UserString.py
uu.py Merged revisions 86037 via svnmerge from 2010-10-31 16:17:36 +00:00
uuid.py Merged revisions 86192 via svnmerge from 2010-11-05 14:56:16 +00:00
warnings.py Add a new warning gategory, ResourceWarning, as discussed on python-dev. It is silent by default, 2010-10-24 15:11:22 +00:00
wave.py Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8 2010-12-28 13:26:42 +00:00
weakref.py Use booleans. 2010-12-03 07:49:09 +00:00
webbrowser.py #12601: fix typo. 2011-07-21 11:18:18 +03:00
whichdb.py Close #13007: whichdb should recognize gdbm 1.9 magic numbers 2011-09-19 16:57:18 +02: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:15:24 +01:00
xmllib.py
xmlrpclib.py Issue #12931: xmlrpclib now encodes Unicode URI to ISO-8859-1, instead of 2011-09-23 01:15:32 +02:00
zipfile.py #14399: zipfile now correctly handles comments added to empty zipfiles. 2012-04-12 18:42:47 -04:00