summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Issue #10997: merge from 3.2Ned Deily2012-05-291-1/+1
|\ \ | |/
| * Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.Ned Deily2012-05-291-1/+1
| |
* | #14796: improve calendar test coverage.R David Murray2012-05-291-9/+211
| | | | | | | | Patch by Oleg Plakhotnyuk.
* | #10839: add new test file that was omitted from checkinR David Murray2012-05-291-0/+18
| |
* | #10839: raise an error on add of duplicate unique headers in new email policiesR David Murray2012-05-293-0/+37
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Issue #14007: make TreeBuilder an actual type exposed from _elementtree, and ↵Eli Bendersky2012-05-291-0/+14
| | | | | | | | subclassable.
* | Use Python 3.x-style keyword only arg in Array()Richard Oudkerk2012-05-292-9/+6
| | | | | | | | | | | | Previously a Python 2.x compatible hack was used for multiprocessing.sharedctypes.Array(). Also the documented signature was wrong.
* | Remove __getslice__, __setslice__, __delslice__ methods from proxiesRichard Oudkerk2012-05-291-6/+5
| | | | | | | | Proxy classes in multiprocessing do not need these methods in Python 3.x.
* | Removed pysetup3.exe executable.Vinay Sajip2012-05-292-0/+0
| |
* | #14835: Make plistlib output empty arrays & dicts like OS XHynek Schlawack2012-05-292-12/+24
| | | | | | | | Patch by Sidney San Martín.
* | Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree.Eli Bendersky2012-05-292-1/+68
| | | | | | | | | | Add attrib keyword to Element and SubElement in _elementtree. Patch developed with Ezio Melotti.
* | Refactor test_email/test_pickleable and add tests for date headersR David Murray2012-05-291-28/+59
| |
* | Regularize test_email/test_headerregistry's references to policy.R David Murray2012-05-291-6/+6
| |
* | Refactor test_email/test_defect_handling.R David Murray2012-05-292-179/+162
| |
* | Issue #14930: Make memoryview objects weakrefable.Richard Oudkerk2012-05-282-1/+16
| |
* | Issue #9041: raised exception is misleadingMeador Inge2012-05-281-0/+10
|\ \ | |/ | | | | | | | | An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that caused an incorrect exception to be returned in the case of overflow has been fixed.
| * Issue #9041: raised exception is misleadingMeador Inge2012-05-281-0/+10
| | | | | | | | | | | | An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that caused an incorrect exception to be returned in the case of overflow has been fixed.
* | Fixed typo.Vinay Sajip2012-05-281-1/+1
| |
* | Tweaked tests to use launcher executable name on OS X.Vinay Sajip2012-05-281-1/+5
| |
* | Added python3 symlink; removed Distribute-related code, docs and comments; ↵Vinay Sajip2012-05-281-126/+16
| | | | | | | | changed Mac OS X computation to determine framework builds.
* | Merge from 3.2Nick Coghlan2012-05-281-1/+2
|\ \ | |/
| * Issue #14443: Tell rpmbuild to use the correct version of PythonNick Coghlan2012-05-281-1/+2
| |
* | Merge 3.2 #14929Terry Jan Reedy2012-05-281-1/+1
|\ \ | |/
| * Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.Terry Jan Reedy2012-05-281-1/+1
| | | | | | | | Patch by Roger Serwy.
* | #12515: email now registers a defect if the MIME end boundary is missing.R David Murray2012-05-283-3/+47
| | | | | | | | | | | | 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 3.2 closes #12510Terry Jan Reedy2012-05-281-3/+6
|\ \ | |/
| * Issue12510: Attempting to get invalid tooltip no longer closes Idle.Terry Jan Reedy2012-05-281-3/+6
| | | | | | | | Original patch by Roger Serwy.
* | #1672568: email now registers defects for base64 payload format errors.R David Murray2012-05-284-273/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-284-18/+48
| | | | | | | | | | | | | | 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.
* | Make headerregistry fully part of the provisional api.R David Murray2012-05-275-39/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Sajip2012-05-271-2/+1
| |
* | Refined venv tests.Vinay Sajip2012-05-271-9/+26
| |
* | Add '__all__' to _encoded_words and mark QByteMap as private.R David Murray2012-05-271-2/+12
| |
* | Fixed _sys_home computation and added diagnostics for Windows buildbot failures.Vinay Sajip2012-05-273-2/+8
| |
* | Close #14857: fix regression in references to PEP 3135 implicit __class__ ↵Nick Coghlan2012-05-272-3/+30
| | | | | | | | 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 Coghlan2012-05-271-1/+3
| | | | | | | | issue #14857 without breaking imports
* | Merge with 3.2 #10635 whitespaceTerry Jan Reedy2012-05-271-1/+1
|\ \ | |/
| * #10365 Trim trailing whitespaceTerry Jan Reedy2012-05-271-1/+1
| |
* | Merge with 3.2Terry Jan Reedy2012-05-272-6/+14
|\ \ | |/ | | | | | | 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 crashingTerry Jan Reedy2012-05-272-6/+14
| | | | | | | | even when parent window is closed. Patch by Roger Serwy.
* | Make multiprocessing's shared memory use memoryview instead of raw pointerRichard Oudkerk2012-05-262-9/+5
| |
* | Merge Issue #14876: Use user-selected font for highlight configuration.Terry Jan Reedy2012-05-261-2/+4
|\ \ | |/ | | | | Patch by Roger Serwy.
| * Issue #14876: Use user-selected font for highlight configuration.Terry Jan Reedy2012-05-261-2/+4
| | | | | | | | Patch by Roger Serwy.
* | Merged upstream changes.Vinay Sajip2012-05-269-222/+530
|\ \
| * | #8739: upgrade smtpd to RFC 5321 and 1870.R David Murray2012-05-264-88/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Murray2012-05-262-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 Cannon2012-05-261-2/+0
| | |
| * | Issue #14814: Clean out an obsolete property and method from ipaddress ↵Nick Coghlan2012-05-262-14/+2
| | | | | | | | | | | | Network objects
| * | Issue #14814: Cleanup ipaddress header commentsNick Coghlan2012-05-262-28/+2
| | |
| * | Issue #14814: In the spirit of TOOWTDI, ditch the redundant version ↵Nick Coghlan2012-05-262-94/+48
| | | | | | | | | | | | parameter to the factory functions by using the appropriate direct class references instead