Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix markup. | Georg Brandl | 2012-05-27 | 1 | -1/+1 |
| | |||||
* | #8739: upgrade smtpd to RFC 5321 and 1870. | R David Murray | 2012-05-26 | 1 | -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 Coghlan | 2012-05-26 | 2 | -0/+292 |
| | | | | initial conversion from Peter Moody's wiki version) | ||||
* | Add missing versionadded. | Georg Brandl | 2012-05-26 | 1 | -0/+6 |
| | |||||
* | #665194: Add a localtime function to email.utils. | R David Murray | 2012-05-26 | 1 | -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 Sajip | 2012-05-26 | 1 | -0/+96 |
|\ | |||||
| * | #12586: Expand What's New email entry with provisional policy features. | R David Murray | 2012-05-26 | 1 | -0/+96 |
| | | |||||
* | | Implemented PEP 405 (Python virtual environments). | Vinay Sajip | 2012-05-26 | 3 | -0/+222 |
|/ | |||||
* | #12586: add provisional email policy with new header parsing and folding. | R David Murray | 2012-05-25 | 1 | -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 Murray | 2012-05-25 | 1 | -0/+55 |
| | |||||
* | #14731: refactor email policy framework. | R David Murray | 2012-05-25 | 2 | -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 changes | Nick Coghlan | 2012-05-25 | 1 | -0/+20 |
| | |||||
* | #14863: Update the documentation of os.fdopen() | Petri Lehtinen | 2012-05-24 | 1 | -18/+5 |
|\ | |||||
| * | #14863: Update the documentation of os.fdopen() | Petri Lehtinen | 2012-05-24 | 1 | -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 keywords | Hynek Schlawack | 2012-05-22 | 4 | -4/+4 |
|\ \ | |/ | |||||
| * | Restore [] where default arguments are not keywords | Hynek Schlawack | 2012-05-22 | 4 | -4/+4 |
| | | | | | | | | Reverts some changes of d13fdd97cc8e. | ||||
* | | Fix typo | Nick Coghlan | 2012-05-22 | 1 | -1/+1 |
| | | |||||
* | | Fix the versionadded tags for a couple of my recent changes | Nick Coghlan | 2012-05-22 | 2 | -2/+5 |
| | | |||||
* | | Avoid useless indentation. | Georg Brandl | 2012-05-21 | 1 | -2/+2 |
| | | |||||
* | | Remove outdated statement. | Antoine Pitrou | 2012-05-21 | 1 | -5/+0 |
| | | |||||
* | | Close #13585: add contextlib.ExitStack to replace the ill-fated ↵ | Nick Coghlan | 2012-05-21 | 2 | -1/+293 |
| | | | | | | | | contextlib.nested API | ||||
* | | #14804: Remove [] around optional arguments with default values | Hynek Schlawack | 2012-05-21 | 3 | -24/+24 |
| | | | | | | | | 3.3 specific additions to d13fdd97cc8e. | ||||
* | | #14804: Remove [] around optional arguments with default values | Hynek Schlawack | 2012-05-21 | 8 | -11/+11 |
|\ \ | |/ | |||||
| * | #14804: Remove [] around optional arguments with default values | Hynek Schlawack | 2012-05-21 | 8 | -11/+11 |
| | | |||||
* | | Fix `versionchanged` tags for json.load | Hynek Schlawack | 2012-05-20 | 1 | -1/+1 |
|\ \ | |/ | | | | | `versionchanged` tags about 2.7 are useless in 3.x branches. | ||||
| * | Fix `versionchanged` tags for json.load | Hynek Schlawack | 2012-05-20 | 1 | -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 Sajip | 2012-05-20 | 1 | -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 Sajip | 2012-05-20 | 1 | -1/+2 |
| | | | | | | | | logging.disable() call. | ||||
* | | Remove an incorrect implementation detail | Nick Coghlan | 2012-05-20 | 1 | -5/+0 |
| | | |||||
* | | Issue #14814: addition of the ipaddress module (stage 1 - code and tests) | Nick Coghlan | 2012-05-20 | 1 | -0/+9 |
| | | |||||
* | | Document when json.load's parse_constant behaviour changed | Hynek Schlawack | 2012-05-20 | 1 | -0/+3 |
|\ \ | |/ | | | | | It doesn't get called on 'null', 'true', 'false' since f686aced02a3. | ||||
| * | Document when json.load's parse_constant behaviour changed | Hynek Schlawack | 2012-05-20 | 1 | -0/+3 |
| | | | | | | | | It doesn't get called on 'null', 'true', 'false' since f686aced02a3. | ||||
* | | Merge. | Charles-François Natali | 2012-05-20 | 1 | -3/+3 |
|\ \ | |||||
| * | | Clarify a paragraph in the new metaclass docs | Nick Coghlan | 2012-05-20 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #12760: Add some mising documentation about the new `x` exclusive | Charles-François Natali | 2012-05-20 | 1 | -5/+10 |
|/ / | | | | | | | creation flag to open(). | ||||
* | | Describe the default hash correctly, and mark a couple of CPython ↵ | Nick Coghlan | 2012-05-20 | 1 | -4/+16 |
| | | | | | | | | implementation details | ||||
* | | Fix typo in new metaclass docs | Nick Coghlan | 2012-05-20 | 1 | -1/+1 |
| | | |||||
* | | Minor change to default lru size. Set default to a power of two. | Raymond Hettinger | 2012-05-20 | 1 | -1/+1 |
| | | |||||
* | | Close #14588: added a PEP 3115 compliant dynamic type creation mechanism | Nick Coghlan | 2012-05-19 | 4 | -50/+167 |
| | | |||||
* | | #14494: Document that absolute imports became default in 3.0 instead of 2.7. | Petri Lehtinen | 2012-05-19 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #14494: Document that absolute imports became default in 3.0 instead of 2.7. | Petri Lehtinen | 2012-05-19 | 1 | -1/+1 |
| | | |||||
* | | #13152: Allow to specify a custom tabsize for expanding tabs in textwrap | Hynek Schlawack | 2012-05-19 | 1 | -0/+9 |
| | | | | | | | | Patch by John Feuerstein. | ||||
* | | Fix time.time() references in the time module docs | Petri Lehtinen | 2012-05-18 | 1 | -6/+6 |
|\ \ | |/ | | | | | Closes #14842. | ||||
| * | Fix time.time() references in the time module docs | Petri Lehtinen | 2012-05-18 | 1 | -6/+6 |
| | | | | | | | | Closes #14842. | ||||
* | | Remove outdated statements about threading and imports. | Antoine Pitrou | 2012-05-18 | 2 | -27/+1 |
| | | |||||
* | | Add a mention of the new import locks in whatsnew. | Antoine Pitrou | 2012-05-17 | 1 | -0/+17 |
| | | |||||
* | | Move import lock-related functions to a separate doc section. | Antoine Pitrou | 2012-05-17 | 1 | -42/+43 |
| | | |||||
* | | Issue #9260: A finer-grained import lock. | Antoine Pitrou | 2012-05-17 | 2 | -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 Pitrou | 2012-05-17 | 1 | -0/+4 |
| | | |||||
* | | #14823: Simplify threading.Lock.acquire argument discussion. | R David Murray | 2012-05-17 | 1 | -8/+5 |
|\ \ | |/ |