Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge from 3.2 | Nick Coghlan | 2012-05-28 | 2 | -1/+5 | |
|\ \ | |/ | ||||||
| * | Issue #14443: Tell rpmbuild to use the correct version of Python | Nick Coghlan | 2012-05-28 | 2 | -1/+5 | |
| | | ||||||
* | | Issue #14660: Install namespace_pkgs test directories and files. | Ned Deily | 2012-05-28 | 1 | -0/+18 | |
| | | ||||||
* | | Merge 3.2 #14929 | Terry Jan Reedy | 2012-05-28 | 2 | -1/+4 | |
|\ \ | |/ | ||||||
| * | Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping. | Terry Jan Reedy | 2012-05-28 | 2 | -1/+4 | |
| | | | | | | | | Patch by Roger Serwy. | |||||
* | | #12515: email now registers a defect if the MIME end boundary is missing. | R David Murray | 2012-05-28 | 5 | -3/+59 | |
| | | | | | | | | | | | | 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.) | |||||
* | | merge heads | Terry Jan Reedy | 2012-05-28 | 0 | -0/+0 | |
|\ \ | ||||||
| * | | News item for #1672568. | R David Murray | 2012-05-28 | 1 | -0/+4 | |
| | | | ||||||
* | | | Merge 3.2 closes #12510 | Terry Jan Reedy | 2012-05-28 | 2 | -3/+9 | |
|\ \ \ | |/ / |/| / | |/ | ||||||
| * | Issue12510: Attempting to get invalid tooltip no longer closes Idle. | Terry Jan Reedy | 2012-05-28 | 2 | -3/+9 | |
| | | | | | | | | Original patch by Roger Serwy. | |||||
* | | #1672568: email now registers defects for base64 payload format errors. | R David Murray | 2012-05-28 | 6 | -275/+344 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Murray | 2012-05-28 | 6 | -18/+61 | |
| | | | | | | | | | | | | | | 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. | |||||
* | | Null merge of email doc patch already applied to this branch. | R David Murray | 2012-05-27 | 0 | -0/+0 | |
|\ \ | |/ | ||||||
| * | #11785: fix the :mod: references in email package submodule titles. | R David Murray | 2012-05-27 | 10 | -20/+20 | |
| | | ||||||
* | | #11785: fix the :mod: references in email package submodule titles. | R David Murray | 2012-05-27 | 13 | -22/+30 | |
| | | | | | | | | Also adds the TOC entry for headerregistry. | |||||
* | | Make headerregistry fully part of the provisional api. | R David Murray | 2012-05-27 | 7 | -213/+429 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Changed executable name computation in test_venv to allow for debug executables. | Vinay Sajip | 2012-05-27 | 1 | -2/+1 | |
| | | ||||||
* | | Refined venv tests. | Vinay Sajip | 2012-05-27 | 1 | -9/+26 | |
| | | ||||||
* | | Add '__all__' to _encoded_words and mark QByteMap as private. | R David Murray | 2012-05-27 | 1 | -2/+12 | |
| | | ||||||
* | | Fixed _sys_home computation and added diagnostics for Windows buildbot failures. | Vinay Sajip | 2012-05-27 | 3 | -2/+8 | |
| | | ||||||
* | | Close #14857: fix regression in references to PEP 3135 implicit __class__ ↵ | Nick Coghlan | 2012-05-27 | 7 | -17/+45 | |
| | | | | | | | | closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue | |||||
* | | Tweak importlib._bootstrap to avoid zero-argument super so I can work on ↵ | Nick Coghlan | 2012-05-27 | 2 | -1858/+1862 | |
| | | | | | | | | issue #14857 without breaking imports | |||||
* | | Fix markup. | Georg Brandl | 2012-05-27 | 1 | -1/+1 | |
| | | ||||||
* | | Merge with 3.2 #10635 whitespace | Terry Jan Reedy | 2012-05-27 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | #10365 Trim trailing whitespace | Terry Jan Reedy | 2012-05-27 | 1 | -1/+1 | |
| | | ||||||
* | | Merge with 3.2 | Terry Jan Reedy | 2012-05-27 | 3 | -6/+17 | |
|\ \ | |/ | | | | | | | Issue #10365: File open dialog now works instead of crashing even when parent window is closed. Patch by Roger Serwy. | |||||
| * | Issue #10365: File open dialog now works instead of crashing | Terry Jan Reedy | 2012-05-27 | 3 | -6/+17 | |
| | | | | | | | | even when parent window is closed. Patch by Roger Serwy. | |||||
* | | Make multiprocessing's shared memory use memoryview instead of raw pointer | Richard Oudkerk | 2012-05-26 | 3 | -26/+5 | |
| | | ||||||
* | | Merge Issue #14876: Use user-selected font for highlight configuration. | Terry Jan Reedy | 2012-05-26 | 2 | -2/+6 | |
|\ \ | |/ | | | | | Patch by Roger Serwy. | |||||
| * | Issue #14876: Use user-selected font for highlight configuration. | Terry Jan Reedy | 2012-05-26 | 2 | -2/+6 | |
| | | | | | | | | Patch by Roger Serwy. | |||||
* | | Merged upstream changes. | Vinay Sajip | 2012-05-26 | 15 | -1530/+2147 | |
|\ \ | ||||||
| * | | #8739: upgrade smtpd to RFC 5321 and 1870. | R David Murray | 2012-05-26 | 7 | -91/+482 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | Recognize '<>' as a special case of an angle-addr in header_value_parser. | R David Murray | 2012-05-26 | 2 | -2/+25 | |
| | | | | | | | | | | | | | | | | | | | | | Although '<>' is invalid according to RFC 5322, SMTP uses it for various things, and it sometimes ends up in email headers. This patch changes get_angle_addr to recognize it and just register a Defect instead of raising a parsing error. | |||||
| * | | Remove some redundant decorators. | Brett Cannon | 2012-05-26 | 2 | -1307/+1302 | |
| | | | ||||||
| * | | 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) | |||||
| * | | Issue #14814: Clean out an obsolete property and method from ipaddress ↵ | Nick Coghlan | 2012-05-26 | 2 | -14/+2 | |
| | | | | | | | | | | | | Network objects | |||||
| * | | Issue #14814: Cleanup ipaddress header comments | Nick Coghlan | 2012-05-26 | 2 | -28/+2 | |
| | | | ||||||
| * | | Issue #14814: In the spirit of TOOWTDI, ditch the redundant version ↵ | Nick Coghlan | 2012-05-26 | 2 | -94/+48 | |
| | | | | | | | | | | | | parameter to the factory functions by using the appropriate direct class references instead | |||||
* | | | Addressed some buildbot errors and comments on the checkin by Antoine on ↵ | Vinay Sajip | 2012-05-26 | 4 | -58/+51 | |
|/ / | | | | | | | python-dev. | |||||
* | | #14814: Some PEP8 adjustments and dead code weeding | Hynek Schlawack | 2012-05-26 | 1 | -27/+17 | |
| | | ||||||
* | | 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 | 5 | -2/+146 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | | #12586: Fix a small oversight in the new email policy header setting code. | R David Murray | 2012-05-26 | 2 | -1/+23 | |
| | | | | | | | | | | This is a danger of focusing on unit tests: sometimes you forget to do the integration tests. | |||||
* | | Merged upstream changes. | Vinay Sajip | 2012-05-26 | 3 | -1/+110 | |
|\ \ | ||||||
| * | | Add news entries for #14731 and #12586. | R David Murray | 2012-05-26 | 1 | -0/+8 | |
| | | | ||||||
| * | | #12586: Expand What's New email entry with provisional policy features. | R David Murray | 2012-05-26 | 1 | -0/+96 | |
| | | | ||||||
| * | | Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just ↵ | Senthil Kumaran | 2012-05-26 | 2 | -1/+4 | |
| |\ \ | | |/ | | | | | | | have ascii in help msg | |||||
| | * | Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just ↵ | Senthil Kumaran | 2012-05-26 | 2 | -1/+4 | |
| | | | | | | | | | | | | have ascii in help msg | |||||
* | | | Implemented PEP 405 (Python virtual environments). | Vinay Sajip | 2012-05-26 | 41 | -66/+1454 | |
| | | | ||||||
* | | | Updated .hgeol for additional binaries. | Vinay Sajip | 2012-05-26 | 1 | -0/+2 | |
|/ / |