- 29 May, 2012 11 commits
-
-
Eli Bendersky authored
-
Victor Stinner authored
* 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.
-
Victor Stinner authored
-
Richard Oudkerk authored
Previously a Python 2.x compatible hack was used for multiprocessing.sharedctypes.Array(). Also the documented signature was wrong.
-
Richard Oudkerk authored
Proxy classes in multiprocessing do not need these methods in Python 3.x.
-
Vinay Sajip authored
-
Hynek Schlawack authored
Patch by Sidney San Martín.
-
Eli Bendersky authored
Add attrib keyword to Element and SubElement in _elementtree. Patch developed with Ezio Melotti.
-
R David Murray authored
-
R David Murray authored
-
R David Murray authored
-
- 28 May, 2012 20 commits
-
-
Richard Oudkerk authored
-
Antoine Pitrou authored
Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts. Additional comments by Tim Silk.
-
Antoine Pitrou authored
Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts. Additional comments by Tim Silk.
-
Meador Inge authored
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.
-
Meador Inge authored
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.
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
Added python3 symlink; removed Distribute-related code, docs and comments; changed Mac OS X computation to determine framework builds.
-
Nick Coghlan authored
-
Nick Coghlan authored
-
Ned Deily authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
Patch by Roger Serwy.
-
R David Murray authored
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.)
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
Original patch by Roger Serwy.
-
R David Murray authored
-
R David Murray authored
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.
-
R David Murray authored
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.
-
- 27 May, 2012 9 commits
-
-
R David Murray authored
-
R David Murray authored
-
R David Murray authored
Also adds the TOC entry for headerregistry.
-
R David Murray authored
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.
-
Vinay Sajip authored
-
Vinay Sajip authored
-
R David Murray authored
-
Vinay Sajip authored
-
Nick Coghlan authored
Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue
-