cpython/Lib
Nick Coghlan a9b15241c6 Close #20404: blacklist non-text encodings in io.TextIOWrapper
- io.TextIOWrapper (and hence the open() builtin) now use the
  internal codec marking system added for issue #19619
- also tweaked the C code to only look up the encoding once,
  rather than multiple times
- the existing output type checks remain in place to deal with
  unmarked third party codecs.
2014-02-04 22:11:18 +10:00
..
asyncio asyncio: Fix _ProactorWritePipeTransport._pipe_closed() 2014-02-04 08:57:48 +01:00
collections whitespace cleanup 2013-10-13 02:27:22 +02:00
concurrent Issue #20319: concurrent.futures.wait() can block forever even if Futures have completed 2014-02-01 11:49:04 +11:00
ctypes Issue #19734: ctypes resource management fixes 2013-11-24 12:53:50 +10:00
curses Fix docstring in curses (#16782) 2012-12-29 23:09:32 +02:00
dbm Close #19282: Native context management in dbm 2013-11-17 15:59:51 +10:00
distutils Issue #9709: Revert 97fb852c5c26. Many extensions are not using PyMODINIT_FUNC. 2014-01-28 15:04:40 +01:00
email Merge #20206, #5803: more efficient algorithm that doesn't truncate output. 2014-01-13 13:30:13 -05:00
encodings Fixed incorrectly applying a patch for issue19668. 2013-11-23 19:50:47 +02:00
ensurepip Update pip to 1.5.2 and setuptools to 2.1 2014-01-26 00:22:39 -05:00
html #20288: merge with 3.3. 2014-02-01 21:22:26 +02:00
http Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
idlelib Update the python.gif icon for the Idle classbrowser and pathbowser 2014-02-01 23:14:59 -05:00
importlib Issue 19944: Fix importlib.find_spec() so it imports parents as needed. 2014-01-25 15:32:46 -07:00
json Remove mentions of Python 2.x and being externally maintained from 2013-12-08 00:39:36 -08:00
lib2to3 Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
logging Closes #20242: Merged fix from 3.3. 2014-01-13 22:01:16 +00:00
msilib Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, 2013-03-11 17:57:08 -04:00
multiprocessing Close #19946: use runpy as needed in multiprocessing 2013-12-17 22:17:26 +10:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic - Issue #17086: Backport the patches from the 3.3 branch to cross-build 2013-01-31 23:52:03 +01:00
plat-linux
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data Documentation fixes, including fixing "suspicious" problems. 2014-01-26 00:42:02 -08:00
site-packages
sqlite3 (Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalid 2013-12-19 16:39:00 +01:00
test Close #20404: blacklist non-text encodings in io.TextIOWrapper 2014-02-04 22:11:18 +10:00
tkinter Issue #19761: Fixed Tkinter tests on OS X. 2014-02-03 21:34:14 +02:00
turtledemo Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
unittest Issue #20189: Four additional builtin types (PyTypeObject, 2014-01-24 06:17:25 -08:00
urllib Issue #20270: urllib.urlparse now supports empty ports. 2014-01-18 18:31:41 +02:00
venv Issue #19734: venv still needs isolated mode 2013-11-24 11:53:03 +10:00
wsgiref Update docstring to mention correct PEP number. 2014-01-26 14:59:30 -08:00
xml Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
xmlrpc merge from 3.3 2014-01-12 16:07:59 -08: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
_bootlocale.py Fix wrong exception in _bootlocale (apparently this error condition is never triggered) 2013-10-12 15:00:44 +02:00
_collections_abc.py Issue #19218: set __name__ of _collections_abc to collections.abc in order to fix tests and keep beautiful qualified names. 2013-10-13 02:21:33 +02:00
_compat_pickle.py Fix issue #19834: Support unpickling of exceptions pickled by Python 2. 2013-12-02 11:41:01 +01:00
_dummy_thread.py Issue #18808: Thread.join() now waits for the underlying thread state to be destroyed before returning. 2013-09-07 23:38:37 +02:00
_markupbase.py
_osx_support.py Issue #19400: Prevent extension module build failures with Xcode 5 on OS X 2013-10-25 16:03:35 -07:00
_pyio.py Close #20404: blacklist non-text encodings in io.TextIOWrapper 2014-02-04 22:11:18 +10:00
_sitebuiltins.py Normalize whitespace 2013-08-06 22:57:31 +02:00
_strptime.py Issue #19545: Avoid chained exceptions while passing stray % to 2013-11-24 18:17:11 +02:00
_threading_local.py
_weakrefset.py Issue #20006: Fix sporadic failures in test_weakset. 2013-12-18 00:28:36 +01:00
abc.py #16832: s/integer/object/ in docs/docstring, and add whatsnew entry. 2013-12-24 16:13:32 -05:00
aifc.py Issue #19623: Fixed writing to unseekable files in the aifc module. 2013-12-14 20:42:22 +02:00
antigravity.py
argparse.py Issue #13107: argparse and optparse no longer raises an exception when output 2014-01-09 23:18:41 +02: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 #18743: Fix references to non-existant "StringIO" module 2013-08-29 11:39:48 +03:00
asyncore.py Do not raise exception on close() on account of socket attribute still being None: 2013-04-09 17:21:25 +02:00
base64.py Issue #17618: Add Base85 and Ascii85 encoding/decoding to the base64 module. 2013-11-17 23:52:25 +01:00
bdb.py Better behavior when stepping over yield[from]. Fixes issue 16596. By Xavier de Gaye. 2013-11-21 11:30:06 -08:00
binhex.py
bisect.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
bz2.py Closes #19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF. 2013-12-04 23:29:51 +01:00
calendar.py #18705: fix a number of typos. Patch by Févry Thibault. 2013-08-17 15:50:46 +03:00
cgi.py merge from 3.3 2014-01-11 22:22:21 -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 Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
code.py Closes #17730: in code.interact(), when banner="", do not print anything. 2013-10-13 21:49:06 +02:00
codecs.py Issue #8260: The read(), readline() and readlines() methods of 2014-01-26 19:27:56 +02:00
codeop.py
colorsys.py Issue #14323: Expanded the number of digits in the coefficients for the 2013-08-06 11:51:23 +03:00
compileall.py Merge: #19532: make compileall with no file/dir args respect -f and -q. 2013-12-15 20:56:00 -05:00
configparser.py Issue #20315: Removed support for backward compatibility with early 2.x versions. 2014-01-20 21:35:06 +02:00
contextlib.py Merge removal of issue 20317 debugging code from 3.3 2014-01-24 23:07:16 +10:00
copy.py Issue #11480: Fixed copy.copy to work with classes with custom metaclasses. 2013-12-01 13:25:26 -08:00
copyreg.py Issue #17810: Implement PEP 3154, pickle protocol 4. 2013-11-23 18:59:12 +01: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
crypt.py Issue #18405: Improve the entropy of crypt.mksalt(). 2013-08-14 01:39:14 +02:00
csv.py #19449: Handle non-string keys when generating 'fieldnames' error. 2013-11-19 13:16:20 -05:00
datetime.py improve comment 2013-08-29 17:29:30 -04:00
decimal.py Merge from 3.3. 2013-11-24 19:56:23 +01:00
difflib.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
dis.py Close #17916: dis.Bytecode based replacement for distb 2013-11-23 00:57:00 +10:00
doctest.py Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all. 2013-12-03 21:02:05 -06:00
dummy_threading.py
enum.py removed Enum.__eq__ as it added nothing 2013-11-13 14:25:45 -08:00
filecmp.py whatsnew: filecmp.clear_cache, and reword description of cache in docs. 2014-02-02 11:11:01 -05:00
fileinput.py Issue #15204: Silence and check the 'U' mode deprecation warnings in tests. 2013-11-24 23:13:26 +02:00
fnmatch.py Set cache sizes to a power-of-two 2013-02-17 01:33:37 -08:00
formatter.py Issue #18716: Deprecate the formatter module 2013-10-04 11:38:59 -04:00
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 #19781: ftplib now supports SSLContext.check_hostname and server name 2013-12-02 02:56:02 +01:00
functools.py inspect.signature: Add support for 'functools.partialmethod' #20223 2014-01-27 17:28:37 -05:00
genericpath.py #18705: merge with 3.3. 2013-08-17 15:53:55 +03:00
getopt.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
getpass.py #18116: backport fix to 3.3 since real-world failure mode demonstrated. 2013-12-27 11:24:32 -05:00
gettext.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
glob.py Issue #8402: Added the escape() function to the glob module. 2013-11-18 13:06:43 +02:00
gzip.py Issue #19222: Add support for the 'x' mode to the gzip module. 2013-10-19 00:11:13 +02:00
hashlib.py * Issue #16113: Remove sha3 module again. 2014-01-03 14:05:06 +01:00
heapq.py Issue #19018: The heapq.merge() function no longer suppresses IndexError 2013-09-14 20:51:57 -07:00
hmac.py Issue #18775: Add name and block_size attribute to HMAC object. They now 2013-11-20 17:35:06 +01:00
imaplib.py Issue #19782: imaplib now supports SSLContext.check_hostname and server name 2013-12-02 20:01:29 +01:00
imghdr.py Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
imp.py Issue #15204: Deprecated the 'U' mode in file-like objects. 2013-11-23 22:12:06 +02:00
inspect.py inspect.signature: Add (restore) support for builtin classes #20473 2014-02-03 02:46:07 -05:00
io.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ipaddress.py #17400: correct handling of 100.64.0.0/10, fixing the docs and updating NEWS 2013-10-24 09:47:10 -07:00
keyword.py 17830: preserve line endings of original file when updating keywords. 2013-04-25 12:01:36 -04:00
linecache.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
locale.py Issue #20046: Locale alias table no longer contains entities which can be 2013-12-27 00:56:53 +02:00
lzma.py Closes #19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF. 2013-12-04 23:29:51 +01:00
macpath.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
macurl2path.py Increase the coverage of macurl2path. Patch by Colin Williams. 2013-10-23 21:50:56 -07:00
mailbox.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
mailcap.py Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
mimetypes.py Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
modulefinder.py Issue #20315: Removed support for backward compatibility with early 2.x versions. 2014-01-20 21:35:06 +02:00
netrc.py Merge #14984: only import pwd on POSIX. 2013-09-18 08:59:47 -04:00
nntplib.py Issue #19783: nntplib now supports SSLContext.check_hostname and server name 2013-12-02 20:20:11 +01:00
ntpath.py Issue #19456: ntpath.join() now joins relative paths correctly when a drive 2014-01-27 23:16:28 +02:00
nturl2path.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
numbers.py
opcode.py Issue #19722: Added opcode.stack_effect(), which accurately 2013-11-23 14:49:22 -08:00
operator.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
optparse.py Issue #20315: Removed support for backward compatibility with early 2.x versions. 2014-01-20 21:29:31 +02:00
os.py Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start 2013-10-13 02:04:20 +02:00
pathlib.py Issue #20111: pathlib.Path.with_suffix() now sanity checks the given suffix. 2014-01-03 00:07:17 +01:00
pdb.py Better behavior when stepping over yield[from]. Fixes issue 16596. By Xavier de Gaye. 2013-11-21 11:30:06 -08:00
pickle.py Issue #6784: Strings from Python 2 can now be unpickled as bytes objects. 2013-12-07 01:09:27 -08:00
pickletools.py Issue #6784: Strings from Python 2 can now be unpickled as bytes objects. 2013-12-07 01:09:27 -08:00
pipes.py
pkgutil.py Issue 19944: Fix importlib.find_spec() so it imports parents as needed. 2014-01-25 15:32:46 -07:00
platform.py Issue #20229: Avoid plistlib deprecation warning in platform.mac_ver(). 2014-01-13 11:34:19 -08:00
plistlib.py Issue #14455: Fix some issues with plistlib 2014-01-15 11:32:35 +01:00
poplib.py Issue #19784: poplib now supports SSLContext.check_hostname and server name 2013-12-02 20:10:50 +01:00
posixpath.py Add in a comment that was removed in 240adc564539 (requested by Victor Stinner) 2013-07-22 19:05:48 -05:00
pprint.py Remove builtin "caching" in pprint 2013-10-03 21:29:36 +02:00
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 Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
pty.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
py_compile.py Issue #17222: fix a mix-up in some exception messages. 2013-06-17 17:48:30 -04:00
pyclbr.py Issue 19944: Fix importlib.find_spec() so it imports parents as needed. 2014-01-25 15:32:46 -07:00
pydoc.py Issue #20189: Four additional builtin types (PyTypeObject, 2014-01-24 06:17:25 -08:00
queue.py Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get 2013-08-10 18:17:13 -04:00
quopri.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
random.py Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start 2013-10-13 02:04:20 +02:00
re.py Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache. 2014-02-03 21:01:35 +01:00
reprlib.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
rlcompleter.py #18705: merge with 3.3. 2013-08-17 15:53:55 +03:00
runpy.py Issue 19944: Fix importlib.find_spec() so it imports parents as needed. 2014-01-25 15:32:46 -07:00
sched.py merge 2013-07-13 22:48:49 -07:00
selectors.py Issue #20455: math.ceil() returns an int in Python 3, no need to cast the 2014-01-31 16:24:21 +01: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 merge 3.3 (#20102) 2014-02-02 15:31:07 -05:00
site.py Issue #20411: Use readline.get_current_history_length to check for the presence of a history, rather than get_history_item, which assumes a history is present. 2014-01-28 09:06:58 -05:00
smtpd.py Issue #18922: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write 2013-09-05 17:44:53 +03:00
smtplib.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
sndhdr.py #5024: whichhdr now returns the frame count for WAV files. 2013-03-18 17:42:42 -04:00
socket.py Provide a more readable representation of socket on repr(). 2013-10-03 21:01:43 +02:00
socketserver.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
sre_compile.py Issue #19329: Optimized compiling charsets in regular expressions. 2013-10-27 08:20:29 +02:00
sre_constants.py Issue #13592: Improved the repr for regular expression pattern objects. 2013-11-23 22:42:43 +02:00
sre_parse.py Issue #19365: Optimized the parsing of long replacement string in re.sub*() 2013-10-23 22:27:52 +03:00
ssl.py Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data. 2013-12-28 17:30:51 +01:00
stat.py Issue #15767: Excise the remaining instances of ModuleNotFoundError 2013-07-04 18:16:15 -04:00
statistics.py remove unused imports from statistics module 2013-10-25 02:11:17 +02: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 #17804: New function `struct.iter_unpack` allows for streaming struct unpacking. 2013-04-27 00:20:04 +02:00
subprocess.py Fixes issue #19929: Call os.read with 32768 within subprocess.Popen 2013-12-08 10:58:28 -08:00
sunau.py Issue #16685: Added support for writing any bytes-like objects in the aifc, 2013-11-16 14:01:31 +02:00
symbol.py remain symbol.main to symbol._main mirroring token.py 2013-02-05 10:13:22 -05:00
symtable.py merge 3.3 (#19393) 2013-10-26 13:22:08 -04:00
sysconfig.py Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests. 2013-11-26 17:08:24 +02:00
tabnanny.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tarfile.py Issue #20244: Fixed possible file leaks when unexpected error raised in 2014-01-18 16:28:37 +02:00
telnetlib.py Fixes Issue #17200: telnetlib's read_until and expect timeout was broken by the 2013-12-10 18:25:21 -08:00
tempfile.py Remove redundant emty line at the end of file. 2014-01-27 11:27:51 +02:00
textwrap.py Add shorten to __all_ (issues #18585 and #18725). 2013-10-16 13:07:53 +03:00
this.py
threading.py Changed a comment to end grammar bikeshedding ;-) 2013-10-26 11:56:16 -05:00
timeit.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
token.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
tokenize.py Issue #18960: Fix bugs with Python source code encoding in the second line. 2014-01-09 18:41:59 +02:00
trace.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
traceback.py Issue #17825: Cursor ^ is correctly positioned for SyntaxError and IndentationError. 2014-01-22 01:16:25 +01:00
tracemalloc.py tracemalloc: Fix slicing traces and fix slicing a traceback. 2014-02-01 04:07:02 +01:00
tty.py
turtle.py #18705: merge with 3.3. 2013-08-17 15:53:55 +03:00
types.py Close #19030: inspect.getmembers and inspect.classify_class_attrs 2013-10-18 00:27:39 -07:00
uu.py
uuid.py Merge #19855: restore use of LC_ALL, not LC_MESSAGES 2014-01-18 15:02:00 -05:00
warnings.py Close #19379: Lazily import linecache in the warnings module, to make startup with warnings faster until a warning gets printed. 2013-10-24 22:23:42 +02:00
wave.py Issue #19641: Added the audioop.byteswap() function to convert big-endian 2013-11-23 22:26:01 +02:00
weakref.py Issue #15528: Delay importing atexit until weakref.finalize() used. 2013-06-08 16:52:29 +01:00
webbrowser.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +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 Issue #20262: Warnings are raised now when duplicate names are added in the 2014-01-20 21:59:33 +02:00