cpython/Lib
R David Murray 0b6f6c82b5 #12586: add provisional email policy with new header parsing and folding.
When the new policies are used (and only when the new policies are explicitly
used) headers turn into objects that have attributes based on their parsed
values, and can be set using objects that encapsulate the values, as well as
set directly from unicode strings.  The folding algorithm then takes care of
encoding unicode where needed, and folding according to the highest level
syntactic objects.

With this patch only date and time headers are parsed as anything other than
unstructured, but that is all the helper methods in the existing API handle.
I do plan to add more parsers, and complete the set specified in the RFC
before the package becomes stable.
2012-05-25 18:42:14 -04:00
..
collections Close #14386: Register types.MappingProxyType as a Mapping 2012-04-20 01:41:36 +02:00
concurrent Issue #14406: Fix a race condition when using concurrent.futures.wait(return_when=ALL_COMPLETED). 2012-03-31 20:25:22 +02:00
ctypes Issue #13959: Deprecate imp.get_suffixes() for new attributes on 2012-05-11 12:58:42 -04:00
curses (Merge 3.2) Fix curses module for strict SysV implementation (without has_key function) 2011-11-29 00:06:10 +01:00
dbm Close #13007: whichdb should recognize gdbm 1.9 magic numbers 2011-09-19 17:08:18 +02:00
distutils Fix #13210. Port the Windows build from VS2008 to VS2010. 2012-05-13 11:19:23 -05:00
email #12586: add provisional email policy with new header parsing and folding. 2012-05-25 18:42:14 -04:00
encodings Speed up IDNA for the common case 2011-11-10 22:49:20 +01:00
html #14538: HTMLParser can now parse correctly start tags that contain a bare /. 2012-04-18 19:18:22 -06:00
http merge - Fix for issue14426 - buildbots here I come 2012-05-20 16:58:59 +08:00
idlelib Issue #13959: Deprecate imp.get_suffixes() for new attributes on 2012-05-11 12:58:42 -04:00
importlib Whitespace cleanup. 2012-05-24 20:22:10 -04:00
json #14875: merge with 3.2. 2012-05-21 17:53:42 -06:00
lib2to3 remove get_prefix and set_prefix (#13248) 2012-03-14 17:41:15 -05:00
logging Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch. 2012-04-24 23:33:33 +01:00
msilib Remove duplication. 2011-10-19 10:58:56 +03:00
multiprocessing Issue #14548: Make multiprocessing finalizers check pid before running 2012-05-25 13:54:53 +01:00
packaging Fix #13210. Port the Windows build from VS2008 to VS2010. 2012-05-13 11:19:23 -05:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux Close #12326: sys.platform is now always 'linux' on Linux 2011-08-20 23:39:26 +02:00
plat-netbsd1
plat-next3
plat-os2emx
plat-sunos5
plat-unixware7
pydoc_data Regenerate pydoc topics. 2012-05-01 09:26:47 +02:00
site-packages
sqlite3 Merge branch '3.2' 2012-02-21 13:59:40 +02:00
test #12586: add provisional email policy with new header parsing and folding. 2012-05-25 18:42:14 -04:00
tkinter Issue #14777: merge 2012-05-15 18:13:02 -07:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test class that doesn't inherit from TestCase (i.e. a mixin). 2012-04-25 14:58:17 +02:00
urllib Issue #14036: return None when port in urlparse cross 65535 2012-05-24 21:57:38 +08:00
wsgiref Merged revisions 87797 via svnmerge from 2011-01-06 17:18:32 +00:00
xml Issue #13782: streamline argument type-checking in ET.Element 2012-03-23 14:24:20 +02:00
xmlrpc Merge 3.2 2012-03-05 16:24:07 +01: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
_compat_pickle.py
_dummy_thread.py Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
_pyio.py Backing out 86dc014cdd74. Not ready yet 2012-04-26 17:05:31 +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:15:38 -06:00
abc.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
aifc.py #13394: add more tests for the aifc module and use warnings.warn instead of print. Patch by Oleg Plakhotnyuk. 2012-03-12 23:57:18 +02:00
antigravity.py
argparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
ast.py remove ast.__version__ (closes #12273) 2011-07-15 21:10:13 -05:00
asynchat.py Normalize the encoding names for Latin-1 and UTF-8 to 2011-02-25 15:42:01 +00:00
asyncore.py merge 79422b3684f1 in 3.3 branch (issue 10340) 2012-03-22 16:19:45 +01:00
base64.py Issue #13641: Decoding functions in the base64 module now accept ASCII-only unicode strings. 2012-02-20 19:30:23 +01:00
bdb.py issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:07:49 +08:00
binhex.py remove unused imports (closes #12432) 2011-06-28 10:25:04 -05:00
bisect.py
bz2.py Fix seekable() in BZ2File and LZMAFile to check whether the underlying file supports seek(). 2012-02-12 01:51:38 +02:00
calendar.py Fix closes Issue10087 - fixing the output of calendar display in the html format. Patch by Chris Lambacher. Test Contributed by catherine. 2011-08-11 09:22:52 +08:00
cgi.py Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd). 2011-12-10 11:07:42 +01:00
cgitb.py remove unused imports (closes #12432) 2011-06-28 10:25:04 -05:00
chunk.py
cmd.py Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop 2011-12-06 20:46:57 +01:00
code.py
codecs.py #13012: use splitlines(keepends=True/False) instead of splitlines(0/1). 2011-09-28 17:37:55 +03:00
codeop.py
colorsys.py
compileall.py #10454: a few edits to compileall help messages 2011-09-01 20:00:33 +02:00
configparser.py Merge with 3.2. 2011-10-19 11:06:26 +03:00
contextlib.py Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.nested API 2012-05-21 22:54:43 +10:00
copy.py #11572: improvements to copy module tests along with removal of old test suite 2011-08-05 23:05:35 +02:00
copyreg.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
cProfile.py
crypt.py A crypt algorithm may not be available by returning None. 2011-02-22 21:55:51 +00:00
csv.py #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
datetime.py Close #14180: Factorize code to convert a number of seconds to time_t, timeval or timespec 2012-03-13 13:35:55 +01:00
decimal.py Use the same exception hierarchy as decimal.py. FloatOperation now also 2012-03-23 14:46:48 +01:00
difflib.py Fix comment in difflib. 2011-12-10 13:02:17 +01:00
dis.py
doctest.py Merge #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v 2012-03-21 14:55:04 -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 fileinput: replace this last occurence of codecs.open with builtins.open. 2011-11-07 19:43:07 +01:00
fnmatch.py Fix BytesWarnings in fnmatch 2011-11-08 18:39:15 +01:00
formatter.py
fractions.py
ftplib.py fix #13563: make use of with statement in ftplib.py where needed 2011-12-10 21:25:04 +01:00
functools.py Minor change to default lru size. Set default to a power of two. 2012-05-19 21:20:48 -07:00
genericpath.py
getopt.py Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9) 2011-03-21 16:04:06 +01:00
getpass.py Remove redundant imports. 2011-11-04 08:29:17 +01:00
gettext.py #11515: Merge with 3.1. 2011-03-15 05:59:46 +02:00
glob.py Fix closes issue12432 - remove the unused sys from glob.py 2011-07-03 17:21:05 -07:00
gzip.py Closes #13989: Add support for text modes to gzip.open(). 2012-05-06 15:04:01 +02:00
hashlib.py fix whitespace 2011-05-14 15:35:56 -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 Issue #14532: Add a secure_compare() helper to the hmac module, to mitigate 2012-05-13 19:53:07 +02:00
imaplib.py Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near 2012-04-29 16:12:27 -04:00
imghdr.py
imp.py Issue #13959: Have 2012-05-11 14:48:41 -04:00
inspect.py Issue #13959: Deprecate imp.get_suffixes() for new attributes on 2012-05-11 12:58:42 -04:00
io.py merge 3.2 2012-05-07 22:24:05 -04:00
ipaddress.py Issue #14814: minor improvements as suggested by Hynek Schlawack 2012-05-23 23:17:22 +02:00
keyword.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
linecache.py
locale.py Fix last remaining references to ex-devguide 2011-11-29 16:36:17 +01:00
lzma.py Rename lzma.check_is_supported() to is_check_supported() to avoid grammatical confusion. 2012-05-06 23:01:51 +02:00
macpath.py
macurl2path.py
mailbox.py #12537: in mailbox avoid depending on knowledge of email package internals 2012-04-08 22:36:07 -04:00
mailcap.py Fix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. Not backported, since it could break cases where people worked around the old POSIX-specific behaviour on non-POSIX platforms. 2011-08-28 00:17:31 +10:00
mimetypes.py Issue #13640: add application/vnd.apple.mpegurl MIME type; (partial) patch by Hiroaki Kawai 2012-01-01 18:34:29 +01:00
modulefinder.py Issue #13959: Deprecate imp.get_suffixes() for new attributes on 2012-05-11 12:58:42 -04: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:30:35 +01:00
ntpath.py Correction to 88e318166eaf - Issue #11583 2011-06-09 09:10:38 -05:00
nturl2path.py Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows 2011-04-14 13:16:30 +08:00
numbers.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
opcode.py Implement PEP 380 - 'yield from' (closes #11682) 2012-01-13 21:43:40 +10:00
optparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
os.py #14862: Add missing names to os.__all__ 2012-05-23 21:36:28 +03:00
os2emxpath.py
pdb.py Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases 2012-03-10 22:36:48 +01:00
pickle.py Fixes #13842: cannot pickle Ellipsis or NotImplemented. 2012-03-12 19:46:12 +01:00
pickletools.py Merge 3.2 2011-12-13 13:22:42 -05:00
pipes.py Merge doc changes from 3.2 (#10454, #12298) 2011-09-02 00:03:20 +02:00
pkgutil.py issue 14660: Implement PEP 420, namespace packages. 2012-05-24 20:21:04 -04:00
platform.py merge from 3.2 2012-02-01 15:15:14 -06:00
plistlib.py Issue #12452: Plist and Dict are now deprecated 2011-07-04 14:28:45 +02:00
poplib.py Issue 11291: poplib suppresses errors on QUIT. 2011-02-25 22:28:24 +00:00
posixpath.py Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/' 2012-05-10 05:10:50 +02:00
pprint.py
profile.py Issue #14428: Use the new time.perf_counter() and time.process_time() functions 2012-04-29 03:01:20 +02:00
pstats.py Issue #13839: When invoked on the command-line, the pstats module now accepts several filenames of profile stat files and merges them all. 2012-03-14 17:47:11 +01:00
pty.py Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF. 2012-02-16 00:29:12 -08:00
py_compile.py Issue #13645: pyc files now contain the size of the corresponding source 2012-01-13 18:52:16 +01:00
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py Issue #9260: A finer-grained import lock. 2012-05-17 18:55:59 +02:00
queue.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
quopri.py
random.py Merge 3.2 2011-11-11 09:41:17 -06:00
re.py #14236: merge with 3.2. 2012-04-29 13:37:13 +03:00
reprlib.py Avoid pulling threading when _thread is sufficient 2011-10-11 18:51:53 +02:00
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
runpy.py Issue #14605: Use None in sys.path_importer_cache to represent no 2012-04-27 15:30:58 -04:00
sched.py (sched) when run() is invoked with blocking=False return the deadline of the next scheduled call in the scheduler; this use case was suggested in http://bugs.python.org/issue1641#msg149453 2012-03-15 13:05:41 +01:00
shelve.py #7905: Actually respect the keyencoding parameter to shelve.Shelf. 2010-12-04 11:12:43 +00:00
shlex.py #9723: refactor regex. 2011-08-16 19:03:41 +03:00
shutil.py Issue #14082: shutil.copy2() now copies extended attributes, if possible. 2012-05-12 19:02:01 +02:00
site.py Issue #2377: Make importlib the implementation of __import__(). 2012-04-14 14:10:13 -04:00
smtpd.py #14269: smtpd now conforms to the RFC and requires HELO before MAIL. 2012-03-20 16:16:29 -04:00
smtplib.py #12448: merge with 3.2. 2011-10-18 13:26:49 +03:00
sndhdr.py
socket.py Issue #14310: inter-process socket duplication for windows 2012-04-07 11:23:31 +00:00
socketserver.py Fix the patch for issue #7978: select() raises select.error before 3.3, not OSError. 2012-04-09 01:37:19 +02:00
sre_compile.py #13054: fix usage of sys.maxunicode after PEP-393. 2011-10-04 19:06:00 +03:00
sre_constants.py
sre_parse.py Normalize the encoding names for Latin-1 and UTF-8 to 2011-02-25 15:42:01 +00:00
ssl.py Issue #14204: The ssl module now has support for the Next Protocol Negotiation extension, if available in the underlying OpenSSL library. 2012-03-22 00:23:03 +01:00
stat.py #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning. 2012-05-15 15:30:25 +02:00
string.py #13012: use splitlines(keepends=True/False) instead of splitlines(0/1). 2011-09-28 17:37:55 +03:00
stringprep.py
struct.py Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. 2011-01-31 19:27:55 +00:00
subprocess.py Move private function _args_from_interpreter_flags() to subprocess.py, so 2012-05-18 18:33:07 +02:00
sunau.py
symbol.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
symtable.py
sysconfig.cfg Remove inline comment, no longer supported by configparser. 2011-10-05 01:14:02 +02:00
sysconfig.py MERGE: And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name 2012-01-18 05:05:41 +01:00
tabnanny.py Fix #12811 by closing files promptly in tabnanny.check. Patch by Anthony Briggs. 2011-08-22 16:19:19 +10:00
tarfile.py Issue #13031: Small speed-up for tarfile when unzipping tarfiles. 2012-05-17 19:49:27 +02:00
telnetlib.py Merged revisions 87230 via svnmerge from 2010-12-14 14:27:27 +00: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:29:27 +01:00
textwrap.py #13152: Allow to specify a custom tabsize for expanding tabs in textwrap 2012-05-19 13:33:11 +02:00
this.py
threading.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
timeit.py Add an option to timeit to use time.process_time() and mark -t and -c as deprecated. 2012-05-01 11:56:22 +02:00
token.py Issue #9260: A finer-grained import lock. 2012-05-17 18:55:59 +02:00
tokenize.py Issue #14629: Mention the filename in SyntaxError exceptions from 2012-04-20 13:23:54 -04:00
trace.py Make the trace module ignore modules whose names start with "<" and 2012-04-10 21:05:53 -04:00
traceback.py PEP 415: Implement suppression of __context__ display with an exception attribute 2012-05-14 22:09:31 -07:00
tty.py
turtle.py Issue #13439: Merge branch 3.2 2011-12-02 21:25:39 +02:00
types.py Close #14588: added a PEP 3115 compliant dynamic type creation mechanism 2012-05-20 02:34:13 +10:00
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 Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8 2010-12-28 13:26:42 +00: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 - Issue #14493: Use gvfs-open/xdg-open in Lib/webbrowser.py. 2012-04-04 14:19:04 +02:00
xdrlib.py Cleanup code: remove int/long idioms and simplify a while statement. 2011-10-23 22:11:00 +02:00
zipfile.py Issue #14366: Support lzma compression in zip files. 2012-05-13 10:06:36 +02:00