summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* #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-294-0/+62
| | | | | | | | | | | 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.
* merge headsEli Bendersky2012-05-293-6/+71
|\
| * Merged upstream changes.Vinay Sajip2012-05-2917-453/+893
| |\
| * | Added pyvenv docs to 'Python Setup and Usage' section.Vinay Sajip2012-05-293-6/+71
| | |
* | | Issue #14007: make TreeBuilder an actual type exposed from _elementtree, and ↵Eli Bendersky2012-05-292-74/+91
| |/ |/| | | | | subclassable.
* | Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args ↵Victor Stinner2012-05-2912-434/+875
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and str.format(args) * Formatting string, int, float and complex use the _PyUnicodeWriter API. It avoids a temporary buffer in most cases. * Add _PyUnicodeWriter_WriteStr() to restore the PyAccu optimization: just keep a reference to the string if the output is only composed of one string * Disable overallocation when formatting the last argument of str%args and str.format(args) * Overallocation allocates at least 100 characters: add min_length attribute to the _PyUnicodeWriter structure * Add new private functions: _PyUnicode_FastCopyCharacters(), _PyUnicode_FastFill() and _PyUnicode_FromASCII() The speed up is around 20% in average.
* | PyArg_Parse*("U"): ensure that the Unicode string is readyVictor Stinner2012-05-291-1/+4
| |
* | Use Python 3.x-style keyword only arg in Array()Richard Oudkerk2012-05-293-12/+9
| | | | | | | | | | | | 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-294-12/+28
| | | | Patch by Sidney San Martín.
* Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree.Eli Bendersky2012-05-294-34/+169
| | | | | 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-285-2/+23
|
* Issue #14775: Fix a potential quadratic dict build-up due to the garbage ↵Antoine Pitrou2012-05-283-3/+61
|\ | | | | | | | | | | collector repeatedly trying to untrack dicts. Additional comments by Tim Silk.
| * Issue #14775: Fix a potential quadratic dict build-up due to the garbage ↵Antoine Pitrou2012-05-283-3/+61
| | | | | | | | | | | | collector repeatedly trying to untrack dicts. Additional comments by Tim Silk.
* | Issue #9041: raised exception is misleadingMeador Inge2012-05-283-25/+19
|\ \ | |/ | | | | | | | | 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-283-25/+19
| | | | | | | | | | | | 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-282-1/+5
|\ \ | |/
| * Issue #14443: Tell rpmbuild to use the correct version of PythonNick Coghlan2012-05-282-1/+5
| |
* | Issue #14660: Install namespace_pkgs test directories and files.Ned Deily2012-05-281-0/+18
| |
* | Merge 3.2 #14929Terry Jan Reedy2012-05-282-1/+4
|\ \ | |/
| * Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.Terry Jan Reedy2012-05-282-1/+4
| | | | | | | | Patch by Roger Serwy.
* | #12515: email now registers a defect if the MIME end boundary is missing.R David Murray2012-05-285-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 headsTerry Jan Reedy2012-05-280-0/+0
|\ \
| * | News item for #1672568.R David Murray2012-05-281-0/+4
| | |
* | | Merge 3.2 closes #12510Terry Jan Reedy2012-05-282-3/+9
|\ \ \ | |/ / |/| / | |/
| * Issue12510: Attempting to get invalid tooltip no longer closes Idle.Terry Jan Reedy2012-05-282-3/+9
| | | | | | | | Original patch by Roger Serwy.
* | #1672568: email now registers defects for base64 payload format errors.R David Murray2012-05-286-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 Murray2012-05-286-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 Murray2012-05-270-0/+0
|\ \ | |/
| * #11785: fix the :mod: references in email package submodule titles.R David Murray2012-05-2710-20/+20
| |
* | #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-277-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 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-277-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 Coghlan2012-05-272-1858/+1862
| | | | | | | | issue #14857 without breaking imports
* | Fix markup.Georg Brandl2012-05-271-1/+1
| |
* | 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-273-6/+17
|\ \ | |/ | | | | | | Issue #10365: File open dialog now works instead of crashing even when parent window is closed. Patch by Roger Serwy.