cpython/Doc/library
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
..
2to3.rst Issue #13930: Adds ability for 2to3 to write its output to a different 2012-02-12 15:50:21 -08:00
__future__.rst #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
__main__.rst
_dummy_thread.rst
_thread.rst Replace ThreadError by RuntimeError: the former is now an obsolete alias of the latter. 2012-04-05 09:53:04 +02:00
abc.rst improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
aifc.rst
allos.rst
archiving.rst Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715) 2012-02-05 13:49:59 +01:00
argparse.rst #14034: merge argparse tutorial from 3.2. 2012-05-06 16:34:43 +03:00
array.rst Remove mention of narrow/wide builds and update array doc, add a test. 2011-10-25 10:05:34 +03:00
ast.rst remove ast.__version__ (closes #12273) 2011-07-15 21:10:13 -05:00
asynchat.rst remove unused import in asyncore doc 2012-05-15 15:46:00 +02:00
asyncore.rst remove unused import in asyncore doc 2012-05-15 15:46:00 +02:00
atexit.rst Merge fixes for #1326113 and #12297 from 3.2 2012-02-15 17:13:26 +01:00
audioop.rst
base64.rst Issue #13641: Decoding functions in the base64 module now accept ASCII-only unicode strings. 2012-02-20 19:30:23 +01:00
bdb.rst
binascii.rst Issue #13637: "a2b" functions in the binascii module now accept ASCII-only unicode strings. 2011-12-20 13:58:41 +01:00
binhex.rst
bisect.rst
builtins.rst Few typos in the documentation. 2011-11-11 19:55:21 +01:00
bz2.rst Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715) 2012-02-05 13:49:59 +01:00
calendar.rst
cgi.rst Issue11352 - Update cgi module docs 2012-04-30 22:43:13 +08:00
cgitb.rst
chunk.rst Fix some mentions of IOError 2011-10-12 19:10:10 +02:00
cmath.rst
cmd.rst #12940: merge with 3.2. 2011-09-10 10:08:13 +03:00
code.rst
codecs.rst Fix and deprecated the unicode_internal codec 2011-11-10 20:56:30 +01:00
codeop.rst
collections.abc.rst Move versionadded directive to the top level, as we do in other files 2011-08-16 19:10:24 +02:00
collections.rst Move ChainMap versionadded to be less ambiguous. 2012-04-03 09:16:46 +02:00
colorsys.rst
compileall.rst
concurrent.futures.rst Merge with 3.2. 2011-10-19 11:06:26 +03:00
configparser.rst removed misleading editing leftovers 2011-09-02 23:17:39 +02:00
constants.rst Add links from builtins module docs to built-in functions and constants docs 2011-06-08 04:53:20 +02:00
contextlib.rst Fix the versionadded tags for a couple of my recent changes 2012-05-22 23:02:00 +10:00
copy.rst Issue #9021 - Introduce copy module better. Doc changes suggested by Terry 2012-02-09 18:26:59 +08:00
copyreg.rst Issue #14166: Pickler objects now have an optional dispatch_table attribute which allows to set custom per-pickler reduction functions. 2012-03-04 18:31:48 +01:00
crypt.rst Put version* directives at the right scope 2011-05-29 03:27:48 +02:00
crypto.rst update link to pycrypto (closes #12351) 2011-06-16 18:49:46 -05:00
csv.rst
ctypes.rst Issue #13709: some fixes to the ctypes documentation. In addition to fixing 2012-03-16 09:17:43 +02:00
curses.ascii.rst
curses.panel.rst
curses.rst Restore [] where default arguments are not keywords 2012-05-22 16:14:56 +02:00
custominterp.rst
datatypes.rst
datetime.rst Merge #14766: Add correct algorithm for when a 'time' object is naive. 2012-05-14 22:19:10 -04:00
dbm.rst
debug.rst
decimal.rst Use the same exception hierarchy as decimal.py. FloatOperation now also 2012-03-23 14:46:48 +01:00
depgraph-output.png Add documentation for the packaging module. 2011-06-01 20:42:49 +02:00
development.rst Unsplit unittest.mock documentation 2012-03-28 14:36:02 +01:00
difflib.rst
dis.rst Issue #14349: Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to 2012-03-24 18:52:45 +02:00
distutils.rst Packaging doc: Add missing index file, improve main page description. 2011-06-02 15:45:25 +02:00
doctest.rst issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage. 2011-07-04 11:28:30 -07:00
dummy_threading.rst
email-examples.rst
email.charset.rst
email.encoders.rst #11780: s/throw/raise/ 2012-03-16 22:10:00 -04:00
email.errors.rst
email.generator.rst #14731: refactor email policy framework. 2012-05-25 15:01:48 -04:00
email.header.rst Avoid using the default reST role. Makes Doc/tools/rstlint.py happy. 2011-09-01 02:47:34 +02:00
email.iterators.rst
email.message.rst Remove duplication. 2011-10-19 10:58:56 +03:00
email.mime.rst #14380: Have MIMEText defaults to utf-8 when passed non-ASCII unicode 2012-03-22 22:17:51 -04:00
email.parser.rst merge with 3.2 2012-01-29 15:38:55 +01:00
email.policy.rst #12586: add provisional email policy with new header parsing and folding. 2012-05-25 18:42:14 -04:00
email.rst
email.util.rst #665194: support roundtripping RFC2822 date stamps in the email.utils module 2011-07-20 11:41:21 -04:00
errno.rst
exceptions.rst PEP 415: Implement suppression of __context__ display with an exception attribute 2012-05-14 22:09:31 -07:00
faulthandler.rst Issue #12550: Add chain optional argument to faulthandler.register() 2011-07-13 23:39:53 +02:00
fcntl.rst Replace mentions of IOError 2011-10-12 20:10:51 +02:00
filecmp.rst
fileformats.rst
fileinput.rst This shameful limitation of the fileinput module is not relevant anymore. 2011-10-12 19:11:12 +02:00
filesys.rst
fnmatch.rst
formatter.rst
fpectl.rst
fractions.rst
frameworks.rst
ftplib.rst Documentation typo. 2011-10-23 22:23:57 +02:00
functional.rst
functions.rst Issue #12760: Add some mising documentation about the new x exclusive 2012-05-20 11:41:53 +02:00
functools.rst Minor change to default lru size. Set default to a power of two. 2012-05-19 21:20:48 -07:00
gc.rst Correct warnings when building the docs for the nonexistet :arg: role. Changed to asterisks. 2012-04-16 15:24:02 -05:00
getopt.rst Remove outdated pointer to optparse (fixes #11360). 2011-08-26 16:38:40 +02:00
getpass.rst
gettext.rst Replace mentions of IOError 2011-10-12 20:10:51 +02:00
glob.rst
grp.rst
gzip.rst Closes #13989: Add support for text modes to gzip.open(). 2012-05-06 15:04:01 +02:00
hashlib.rst
heapq.rst Clean-up and improve the priority queue example in the heapq docs. 2011-10-09 17:28:14 +01:00
hmac.rst Add versionadded for hmac.secure_compare(). 2012-05-15 21:00:32 +02:00
html.entities.rst issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage. 2011-07-04 11:28:30 -07:00
html.parser.rst #14020: improve HTMLParser documentation. 2012-02-18 02:01:36 +02:00
html.rst Closes #14545: make clearer what was added. 2012-04-11 18:33:17 +02:00
http.client.rst Avoid useless indentation. 2012-05-21 20:28:58 +02:00
http.cookiejar.rst #14804: Remove [] around optional arguments with default values 2012-05-21 13:35:03 +02:00
http.cookies.rst issue2193 - Update docs about the legal characters allowed in Cookie name 2012-04-22 10:31:52 +08:00
http.server.rst issue6085 - update docs in default branch 2012-04-29 13:44:14 +08:00
i18n.rst
idle.rst
imaplib.rst Merge 3.2, doc typos. 2011-11-11 19:58:53 +01:00
imghdr.rst
imp.rst Move import lock-related functions to a separate doc section. 2012-05-17 19:00:35 +02:00
importlib.rst Add importlib.util.resolve_name(). 2012-05-13 13:45:09 -04:00
index.rst
inspect.rst Issue #13959: Deprecate imp.get_suffixes() for new attributes on 2012-05-11 12:58:42 -04:00
internet.rst
intro.rst
io.rst Backing out 86dc014cdd74. Not ready yet 2012-04-26 17:05:31 +02:00
ipc.rst
itertools.rst merge 2012-02-01 09:08:08 -08:00
json.rst Fix versionchanged tags for json.load 2012-05-20 18:32:53 +02:00
keyword.rst
language.rst
linecache.rst
locale.rst Issue #3067: Enhance the documentation and docstring of locale.setlocale() 2011-11-05 10:21:16 +02:00
logging.config.rst Issue #12718: Add documentation on using custom importers. 2011-08-11 13:45:48 +01:00
logging.handlers.rst Updated handler documentation. 2012-03-26 17:17:39 +01:00
logging.rst Closes #14864: Added documentation on how to undo the effects of a logging.disable() call. Thanks to user Guillaume for the suggestion. 2012-05-20 15:37:33 +01:00
lzma.rst Rename lzma.check_is_supported() to is_check_supported() to avoid grammatical confusion. 2012-05-06 23:01:51 +02:00
macpath.rst
mailbox.rst Remove duplication. 2011-10-19 10:58:56 +03:00
mailcap.rst
markup.rst Move xml.etree higher and xml.parsers.expat lower in the markup ToC. 2012-03-05 16:01:41 +01:00
marshal.rst
math.rst meth.log2 doc: add a link to int.bit_length() 2011-09-21 03:35:18 +02:00
mimetypes.rst Issue12798 - Update mimetypes documentation. Correct the doc section where 2011-12-23 10:52:42 +08:00
misc.rst
mm.rst
mmap.rst Merge with 3.2. 2011-10-19 11:06:26 +03:00
modulefinder.rst merge 11164 2011-05-09 08:10:38 +02:00
modules.rst
msilib.rst
msvcrt.rst Replace mentions of IOError 2011-10-12 20:10:51 +02:00
multiprocessing.rst Remove outdated statements about threading and imports. 2012-05-18 13:57:04 +02:00
netdata.rst
netrc.rst
nis.rst #14804: Remove [] around optional arguments with default values 2012-05-21 11:01:54 +02:00
nntplib.rst Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd). 2011-12-10 11:07:42 +01:00
numbers.rst Improve glossary entry for ABCs. 2011-06-04 18:42:38 +02:00
numeric.rst Issue #7652: Integrate the decimal floating point libmpdec library to speed 2012-03-21 18:25:23 +01:00
operator.rst s/div/truediv/; thanks to Félix-Antoine Fortin from docs@ 2012-02-28 22:28:28 +01:00
optparse.rst fixing typos in optparse doc 2011-11-16 06:02:21 +02:00
os.path.rst #9921: clarify os.path.join joining algorithm 2011-06-23 21:26:13 -04:00
os.rst #14863: Update the documentation of os.fdopen() 2012-05-24 21:49:59 +03:00
ossaudiodev.rst Restore [] where default arguments are not keywords 2012-05-22 16:14:56 +02:00
othergui.rst Issue #13527: remove mention of Python megawidgets and Tkinter3000 WCK 2011-12-04 23:56:30 +01:00
packaging-misc.rst Add documentation for the packaging module. 2011-06-01 20:42:49 +02:00
packaging.command.rst Merge with 3.2. 2011-10-19 11:06:26 +03:00
packaging.compiler.rst #14804: Remove [] around optional arguments with default values 2012-05-21 13:41:25 +02:00
packaging.database.rst Improve packaging.database documentation 2012-03-05 16:16:37 +01:00
packaging.depgraph.rst Add documentation for the packaging module. 2011-06-01 20:42:49 +02:00
packaging.dist.rst Synchronize packaging docs with distutils’ (includes fix for #9302) 2011-08-26 01:23:20 +02:00
packaging.fancy_getopt.rst #14804: Remove [] around optional arguments with default values 2012-05-21 13:41:25 +02:00
packaging.install.rst Merge with 3.2. 2011-10-19 11:06:26 +03:00
packaging.metadata.rst Add documentation for the packaging module. 2011-06-01 20:42:49 +02:00
packaging.pypi.dist.rst Add documentation for the packaging module. 2011-06-01 20:42:49 +02:00
packaging.pypi.rst Add missing documentation for packaging.pypi.base and .simple 2011-06-19 19:23:48 +02:00
packaging.pypi.simple.rst fix Exemples/Examples typo; thanks to Ori Livneh from docs@ 2011-12-31 12:59:08 +01:00
packaging.pypi.xmlrpc.rst Merge 3.2, doc typos. 2011-11-11 19:58:53 +01:00
packaging.rst Remove duplicate "numbered" options for toctrees. 2011-07-15 19:09:49 +02:00
packaging.tests.pypi_server.rst Add documentation for the packaging module. 2011-06-01 20:42:49 +02:00
packaging.util.rst Remove obsolete verbose arguments from packaging. 2011-11-15 11:43:20 +01:00
packaging.version.rst Add documentation for the packaging module. 2011-06-01 20:42:49 +02:00
parser.rst
pdb.rst Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases 2012-03-10 22:36:48 +01:00
persistence.rst
pickle.rst Some nits in the pickle docs. 2012-05-10 15:38:47 +02:00
pickletools.rst
pipes.rst
pkgutil.rst
platform.rst merge from 3.2 2012-02-01 15:15:14 -06:00
plistlib.rst
poplib.rst
posix.rst
pprint.rst Merge 3.1 2011-05-29 18:07:12 +02:00
profile.rst Merge profile docs followup (#12417) from 3.1 2011-07-28 23:00:14 +02:00
pty.rst
pwd.rst
py_compile.rst
pyclbr.rst issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage. 2011-07-04 11:28:30 -07:00
pydoc.rst
pyexpat.rst
python.rst Add documentation for the packaging module. 2011-06-01 20:42:49 +02:00
queue.rst Improve the grammar of a non-sentence. 2012-05-08 21:28:24 -04:00
quopri.rst
random.rst merge with 3.2 2012-04-14 16:01:49 +02:00
re.rst #14519: merge with 3.2. 2012-04-29 11:48:54 +03:00
readline.rst Replace mentions of IOError 2011-10-12 20:10:51 +02:00
reprlib.rst issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage. 2011-07-04 11:28:30 -07:00
resource.rst alias resource.error to OSError 2011-12-10 17:50:22 -05:00
rlcompleter.rst
runpy.rst
sched.rst (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
select.rst Restore [] where default arguments are not keywords 2012-05-22 16:14:56 +02:00
shelve.rst
shlex.rst Add missing 'versionadded' for shlex.quote; closes #14165 2012-03-01 19:07:55 +02:00
shutil.rst #14804: Remove [] around optional arguments with default values 2012-05-21 13:41:25 +02:00
signal.rst Fix formatting 2012-03-31 21:09:53 +02:00
site.rst Merge doc changes from 3.2 (#8617, #10745). 2011-08-06 16:58:15 +02:00
smtpd.rst
smtplib.rst merge 3.2 2011-12-30 23:09:20 -06:00
sndhdr.rst
socket.rst Issue #14310: inter-process socket duplication for windows 2012-04-07 11:23:31 +00:00
socketserver.rst merged from 3.2 2012-02-09 17:55:56 +08:00
someos.rst
spwd.rst
sqlite3.rst #14804: Remove [] around optional arguments with default values 2012-05-21 13:35:03 +02:00
ssl.rst 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.rst #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning. 2012-05-15 15:30:25 +02:00
stdtypes.rst PEP 415: Implement suppression of __context__ display with an exception attribute 2012-05-14 22:09:31 -07:00
string.rst correctly define what 'fill' could be; thanks to Leland Hulbert from docs@ 2012-05-12 23:29:32 +02:00
stringprep.rst
strings.rst
struct.rst Issue #3163: The struct module gets new format characters 'n' and 'N' 2011-10-06 15:27:40 +02:00
subprocess.rst Merge #14481: fix formatting of example in subprocess docs. 2012-04-03 08:47:14 -04:00
sunau.rst
symbol.rst Issue #11984: remove reference to parser, it's not showing symbol usage anymore 2012-01-05 19:06:25 +01:00
symtable.rst
sys.rst Fix invalid markup and update suspicious ignores. 2012-03-04 16:17:05 +01:00
sysconfig.rst Fix typo (#13467) 2011-11-29 16:34:58 +01:00
syslog.rst #14416: conditionally add LOG_AUTHPRIV facility and LOG_ODELAY to syslog. 2012-03-29 07:15:45 -04:00
tabnanny.rst
tarfile.rst Issue #13815: TarFile.extractfile() now returns io.BufferedReader objects. 2012-05-05 18:15:03 +02:00
telnetlib.rst Replace mentions of socket.error. 2011-10-12 17:53:43 +02:00
tempfile.rst Merge from 3.2 . Replace the term members with correct and appropriate terminology. Initial patch by Adam Woodbeck. 2011-07-04 11:31:53 -07:00
termios.rst
test.rst Issue #14554: merge with 3.2 2012-04-24 18:39:53 +02:00
textwrap.rst #13152: Allow to specify a custom tabsize for expanding tabs in textwrap 2012-05-19 13:33:11 +02:00
threading.rst Remove outdated statements about threading and imports. 2012-05-18 13:57:04 +02:00
time.rst Fix time.time() references in the time module docs 2012-05-18 21:28:47 +03:00
timeit.rst Update timeit documentation w.r.t default timer changes. 2012-05-01 11:59:36 +02:00
tk.rst
tkinter.rst issue #3035: update PendingDeprecationWarning to DeprectionWarning, point deprecation in tkinter doc 2012-03-31 14:55:55 +03:00
tkinter.scrolledtext.rst
tkinter.tix.rst
tkinter.ttk.rst use double-quote char instead of unicode ones; thanks to tomo cocoa from docs@ 2011-12-25 17:07:22 +01:00
token.rst Issue #13632: Update token documentation to reflect actual token types 2011-12-23 22:30:16 -06:00
tokenize.rst Issue #2134: Add support for tokenize.TokenInfo.exact_type. 2012-01-19 00:44:45 -06:00
trace.rst
traceback.rst
tty.rst
turtle-star.pdf
turtle-star.png
turtle-star.ps
turtle.rst document turtle done() function; thanks to Csaba Szepesvari from docs@ 2011-10-31 10:12:43 +01:00
types.rst Fix the versionadded tags for a couple of my recent changes 2012-05-22 23:02:00 +10:00
undoc.rst
unicodedata.rst adjust docs for unicode 6.1 2012-02-20 22:34:50 -05:00
unittest.mock-examples.rst Closes issue 14636. mock objects raise exceptions from an iterable side_effect 2012-04-21 15:52:11 +01:00
unittest.mock.rst Closes issue 14636. mock objects raise exceptions from an iterable side_effect 2012-04-21 15:52:11 +01:00
unittest.rst #14558: merge with 3.2. 2012-04-30 19:11:11 +03:00
unix.rst
urllib.error.rst Replace mentions of IOError 2011-10-12 20:10:51 +02:00
urllib.parse.rst Explain the use of charset parameter with Content-Type header. Issue11082 2012-03-15 18:11:16 -07:00
urllib.request.rst Issue #14780: urllib.request.urlopen() now has a cadefault argument to use the default certificate store. 2012-05-16 21:40:01 +02:00
urllib.robotparser.rst
uu.rst
uuid.rst #13499: fix example adding >>> before the comments. 2011-12-02 19:28:36 +02:00
warnings.rst Add Misc/NEWS entry and relevant doc change for issue 10271. 2011-07-17 19:25:50 -07:00
wave.rst
weakref.rst
webbrowser.rst Remove webbrowser doc reference to the previously removed internet-config option. 2012-04-18 12:55:57 -07:00
windows.rst
winreg.rst Replace mentions of WindowsError 2011-10-12 18:53:23 +02:00
winsound.rst
wsgiref.rst Issue #11968 - the start_response header values in wsgiref shoudl be str not 2011-05-11 22:34:59 +08:00
xdrlib.rst issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage. 2011-07-04 11:28:30 -07:00
xml.dom.minidom.rst Issue #11379: add a note in xml.dom.minidom suggesting to use etree in some cases 2012-03-02 07:37:13 +02:00
xml.dom.pulldom.rst Issue #14202: some additional doc fixes 2012-03-16 16:49:58 +02:00
xml.dom.rst merge 11164 2011-05-09 08:10:38 +02:00
xml.etree.elementtree.rst Issue #14006: improve the documentation of xml.etree.ElementTree 2012-03-30 11:44:15 +03:00
xml.sax.handler.rst
xml.sax.reader.rst
xml.sax.rst
xml.sax.utils.rst
xmlrpc.client.rst Closes #13297: use bytes type to send and receive binary data through XMLRPC. 2011-11-15 20:53:25 +01:00
xmlrpc.server.rst Closes #2979: add parameter 'use_builtin_types' to the SimpleXMLRPCServer. 2011-12-09 22:35:06 +01:00
zipfile.rst Issue #14366: Support lzma compression in zip files. 2012-05-13 10:06:36 +02:00
zipimport.rst Replace mentions of IOError 2011-10-12 20:10:51 +02:00
zlib.rst Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715) 2012-02-05 13:49:59 +01:00