summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14814: use print() functionSandro Tosi2012-06-021-1/+1
|
* #14957: clarify splitlines docs.R David Murray2012-06-011-1/+7
|\ | | | | | | Initial patch by Michael Driscoll, I added the example.
| * #14957: clarify splitlines docs.R David Murray2012-06-011-1/+7
| | | | | | | | Initial patch by Michael Driscoll, I added the example.
* | Issue #14968: merge with 3.2Sandro Tosi2012-06-011-1/+1
|\ \ | |/
| * Issue #14968: set 'Inplace Operators' as subsection; patch by Lars BuitinckSandro Tosi2012-06-011-1/+1
| |
* | fix trailing whitespaceEli Bendersky2012-06-011-1/+1
| |
* | Issue #14007: make XMLParser a real subclassable type exported from ↵Eli Bendersky2012-06-011-5/+5
| | | | | | | | _elementtree. +cleanups
* | Typo fixNick Coghlan2012-05-311-1/+1
| |
* | Additional ExitStack examples, and a few other cleanups for the ExitStack docsNick Coghlan2012-05-311-7/+75
| |
* | Merge heads.Georg Brandl2012-05-301-3/+3
|\ \
| * | Issue #14007: implemented the 'element_factory' feature of TreeBuilder inEli Bendersky2012-05-301-3/+3
| | | | | | | | | | | | _elementtree, with a test.
* | | Update pydoc topics and fix new suspicious markup.Georg Brandl2012-05-305-6/+38
|/ /
* | Close #14947: add missing cross-reference to Language Definition from the ↵Nick Coghlan2012-05-301-13/+18
| | | | | | | | new dynamic type creation functions. Also cleaned up the general wording of the docs
* | Fix #14943. Merge 3.2Brian Curtin2012-05-291-3/+3
|\ \ | |/
| * Fix #14943. Update the proper default value and list the proper argument ↵Brian Curtin2012-05-291-3/+3
| | | | | | | | names in the explanation.
| * #11785: fix the :mod: references in email package submodule titles.R David Murray2012-05-2710-20/+20
| |
* | #10839: raise an error on add of duplicate unique headers in new email policiesR David Murray2012-05-291-0/+25
| | | | | | | | | | | | | | | | | | | | | | This feature was supposed to be part of the initial email6 checkin, but it got lost in my big refactoring. In this patch I'm not providing an easy way to turn off the errors, but they only happen when a header is added programmatically, and it is almost never the right thing to do to allow the duplicate to be added. An application that needs to add duplicates of unique headers can create a policy subclass to allow it.
* | Merged upstream changes.Vinay Sajip2012-05-291-3/+3
|\ \
| * | Use Python 3.x-style keyword only arg in Array()Richard Oudkerk2012-05-291-3/+3
| | | | | | | | | | | | | | | | | | Previously a Python 2.x compatible hack was used for multiprocessing.sharedctypes.Array(). Also the documented signature was wrong.
* | | Added pyvenv docs to 'Python Setup and Usage' section.Vinay Sajip2012-05-293-6/+71
|/ /
* | Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree.Eli Bendersky2012-05-291-12/+17
| | | | | | | | | | Add attrib keyword to Element and SubElement in _elementtree. Patch developed with Ezio Melotti.
* | #12515: email now registers a defect if the MIME end boundary is missing.R David Murray2012-05-281-0/+5
| | | | | | | | | | | | This commit also restores the news item for 167256 that it looks like Terry inadvertently deleted. (Either that, or I don't understand now merging works...which is equally possible.)
* | #1672568: email now registers defects for base64 payload format errors.R David Murray2012-05-282-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Which also means that it is now producing *something* for any base64 payload, which is what leads to the couple of older test changes in test_email. This is a slightly backward incompatible behavior change, but the new behavior is so much more useful than the old (you can now *reliably* detect errors, and any program that was detecting errors by sniffing for a base64 return from get_payload(decode=True) and then doing its own error-recovery decode will just get the error-recovery decode right away). So this seems to me to be worth the small risk inherent in this behavior change. This patch also refactors the defect tests into a separate test file, since they are no longer just parser tests.
* | #14925: email now registers a defect for missing header/body separator.R David Murray2012-05-281-0/+9
| | | | | | | | | | | | | | This patch also deprecates the MalformedHeaderDefect. My best guess is that this defect was rendered obsolete by a refactoring of the parser, and the corresponding defect for the new parser (which this patch introduces) was overlooked.
* | #11785: fix the :mod: references in email package submodule titles.R David Murray2012-05-2713-22/+30
| | | | | | | | Also adds the TOC entry for headerregistry.
* | Make headerregistry fully part of the provisional api.R David Murray2012-05-272-174/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | When I made the checkin of the provisional email policy, I knew that Address and Group needed to be made accessible from somewhere. The more I looked at it, though, the more it became clear that since this is a provisional API anyway, there's no good reason to hide headerregistry as a private API. It was designed to ultimately be part of the public API, and so it should be part of the provisional API. This patch fully documents the headerregistry API, and deletes the abbreviated version of those docs I had added to the provisional policy docs.
* | Fix markup.Georg Brandl2012-05-271-1/+1
| |
* | #8739: upgrade smtpd to RFC 5321 and 1870.R David Murray2012-05-261-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | smtpd now handles EHLO and has infrastructure for extended smtp command mode. The SIZE extension is also implemented. In order to support parameters on MAIL FROM, the RFC 5322 parser from the email package is used to parse the address "token". Logging subclasses things and overrides __init__, so it was necessary to update those __init__ functions in the logging tests to make the logging tests pass. The original suggestion and patch were by Alberto Trevino. Juhana Jauhiainen added the --size argument and SIZE parameter support. Michele Orrù improved the patch and added more tests. Dan Boswell conditionalized various bits of code on whether or not we are in HELO or EHLO mode, as well as some other improvements and tests. I finalized the patch and added the address parsing.
* | Issue #14814: Add a basic ipaddress tutorial (thanks to Sandro Tosi for the ↵Nick Coghlan2012-05-262-0/+292
| | | | | | | | initial conversion from Peter Moody's wiki version)
* | Add missing versionadded.Georg Brandl2012-05-261-0/+6
| |
* | #665194: Add a localtime function to email.utils.R David Murray2012-05-261-2/+16
| | | | | | | | | | | | | | | | Without this function people would be tempted to use the other date functions in email.utils to compute an aware localtime, and those functions are not as good for that purpose as this code. The code is Alexander Belopolsy's from his proposed patch for issue 9527, with a fix (and additional tests) by Brian K. Jones.
* | Merged upstream changes.Vinay Sajip2012-05-261-0/+96
|\ \
| * | #12586: Expand What's New email entry with provisional policy features.R David Murray2012-05-261-0/+96
| | |
* | | Implemented PEP 405 (Python virtual environments).Vinay Sajip2012-05-263-0/+222
|/ /
* | #12586: add provisional email policy with new header parsing and folding.R David Murray2012-05-251-0/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | #14731: add preliminary What's New entry for policy framework.R David Murray2012-05-251-0/+55
| |
* | #14731: refactor email policy framework.R David Murray2012-05-252-102/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch primarily does two things: (1) it adds some internal-interface methods to Policy that allow for Policy to control the parsing and folding of headers in such a way that we can construct a backward compatibility policy that is 100% compatible with the 3.2 API, while allowing a new policy to implement the email6 API. (2) it adds that backward compatibility policy and refactors the test suite so that the only differences between the 3.2 test_email.py file and the 3.3 test_email.py file is some small changes in test framework and the addition of tests for bugs fixed that apply to the 3.2 API. There are some additional teaks, such as moving just the code needed for the compatibility policy into _policybase, so that the library code can import only _policybase. That way the new code that will be added for email6 will only get imported when a non-compatibility policy is imported.
* | Placeholder in What's New for the major packaging infrastructure changesNick Coghlan2012-05-251-0/+20
| |
* | #14863: Update the documentation of os.fdopen()Petri Lehtinen2012-05-241-18/+5
|\ \ | |/
| * #14863: Update the documentation of os.fdopen()Petri Lehtinen2012-05-241-15/+5
| | | | | | | | | | | | There's no bufsize argument anymore, and os.fdopen() is only a very thin wrapper around open() anymore. Change the documentation to reflect that.
* | Restore [] where default arguments are not keywordsHynek Schlawack2012-05-224-4/+4
|\ \ | |/
| * Restore [] where default arguments are not keywordsHynek Schlawack2012-05-224-4/+4
| | | | | | | | Reverts some changes of d13fdd97cc8e.
* | Fix typoNick Coghlan2012-05-221-1/+1
| |
* | Fix the versionadded tags for a couple of my recent changesNick Coghlan2012-05-222-2/+5
| |
* | Avoid useless indentation.Georg Brandl2012-05-211-2/+2
| |
* | Remove outdated statement.Antoine Pitrou2012-05-211-5/+0
| |
* | Close #13585: add contextlib.ExitStack to replace the ill-fated ↵Nick Coghlan2012-05-212-1/+293
| | | | | | | | contextlib.nested API
* | #14804: Remove [] around optional arguments with default valuesHynek Schlawack2012-05-213-24/+24
| | | | | | | | 3.3 specific additions to d13fdd97cc8e.
* | #14804: Remove [] around optional arguments with default valuesHynek Schlawack2012-05-218-11/+11
|\ \ | |/
| * #14804: Remove [] around optional arguments with default valuesHynek Schlawack2012-05-218-11/+11
| |