summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Fix `versionchanged` tags for json.loadHynek Schlawack2012-05-201-1/+1
|\ \ | |/ | | | | `versionchanged` tags about 2.7 are useless in 3.x branches.
| * Fix `versionchanged` tags for json.loadHynek Schlawack2012-05-201-1/+1
| | | | | | | | `versionchanged` tags about 2.7 are useless in 3.x branches.
* | Closes #14864: Added documentation on how to undo the effects of a ↵Vinay Sajip2012-05-201-1/+2
|\ \ | |/ | | | | logging.disable() call. Thanks to user Guillaume for the suggestion.
| * Fixes #14864: Added documentation on how to undo the effects of a ↵Vinay Sajip2012-05-201-1/+2
| | | | | | | | logging.disable() call.
* | Remove an incorrect implementation detailNick Coghlan2012-05-201-5/+0
| |
* | Issue #14814: addition of the ipaddress module (stage 1 - code and tests)Nick Coghlan2012-05-201-0/+9
| |
* | Document when json.load's parse_constant behaviour changedHynek Schlawack2012-05-201-0/+3
|\ \ | |/ | | | | It doesn't get called on 'null', 'true', 'false' since f686aced02a3.
| * Document when json.load's parse_constant behaviour changedHynek Schlawack2012-05-201-0/+3
| | | | | | | | It doesn't get called on 'null', 'true', 'false' since f686aced02a3.
* | Merge.Charles-François Natali2012-05-201-3/+3
|\ \
| * | Clarify a paragraph in the new metaclass docsNick Coghlan2012-05-201-3/+3
| | |
* | | Issue #12760: Add some mising documentation about the new `x` exclusiveCharles-François Natali2012-05-201-5/+10
|/ / | | | | | | creation flag to open().
* | Describe the default hash correctly, and mark a couple of CPython ↵Nick Coghlan2012-05-201-4/+16
| | | | | | | | implementation details
* | Fix typo in new metaclass docsNick Coghlan2012-05-201-1/+1
| |
* | Minor change to default lru size. Set default to a power of two.Raymond Hettinger2012-05-201-1/+1
| |
* | Close #14588: added a PEP 3115 compliant dynamic type creation mechanismNick Coghlan2012-05-194-50/+167
| |
* | #14494: Document that absolute imports became default in 3.0 instead of 2.7.Petri Lehtinen2012-05-191-1/+1
|\ \ | |/
| * #14494: Document that absolute imports became default in 3.0 instead of 2.7.Petri Lehtinen2012-05-191-1/+1
| |
* | #13152: Allow to specify a custom tabsize for expanding tabs in textwrapHynek Schlawack2012-05-191-0/+9
| | | | | | | | Patch by John Feuerstein.
* | Fix time.time() references in the time module docsPetri Lehtinen2012-05-181-6/+6
|\ \ | |/ | | | | Closes #14842.
| * Fix time.time() references in the time module docsPetri Lehtinen2012-05-181-6/+6
| | | | | | | | Closes #14842.
* | Remove outdated statements about threading and imports.Antoine Pitrou2012-05-182-27/+1
| |
* | Add a mention of the new import locks in whatsnew.Antoine Pitrou2012-05-171-0/+17
| |
* | Move import lock-related functions to a separate doc section.Antoine Pitrou2012-05-171-42/+43
| |
* | Issue #9260: A finer-grained import lock.Antoine Pitrou2012-05-172-17/+28
| | | | | | | | | | Most of the import sequence now uses per-module locks rather than the global import lock, eliminating well-known issues with threads and imports.
* | Add mention of decoding optimizations in the what's new document.Antoine Pitrou2012-05-171-0/+4
| |
* | #14823: Simplify threading.Lock.acquire argument discussion.R David Murray2012-05-171-8/+5
|\ \ | |/