- 29 May, 2012 10 kayıt (commit)
-
-
Victor Stinner yazdı
* 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 yazdı
-
Richard Oudkerk yazdı
Previously a Python 2.x compatible hack was used for multiprocessing.sharedctypes.Array(). Also the documented signature was wrong.
-
Richard Oudkerk yazdı
Proxy classes in multiprocessing do not need these methods in Python 3.x.
-
Vinay Sajip yazdı
-
Hynek Schlawack yazdı
Patch by Sidney San Martín.
-
Eli Bendersky yazdı
Add attrib keyword to Element and SubElement in _elementtree. Patch developed with Ezio Melotti.
-
R David Murray yazdı
-
R David Murray yazdı
-
R David Murray yazdı
-
- 28 May, 2012 20 kayıt (commit)
-
-
Richard Oudkerk yazdı
-
Antoine Pitrou yazdı
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 yazdı
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 yazdı
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 yazdı
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 yazdı
-
Vinay Sajip yazdı
-
Vinay Sajip yazdı
Added python3 symlink; removed Distribute-related code, docs and comments; changed Mac OS X computation to determine framework builds.
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Ned Deily yazdı
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
Patch by Roger Serwy.
-
R David Murray yazdı
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 yazdı
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
Original patch by Roger Serwy.
-
R David Murray yazdı
-
R David Murray yazdı
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 yazdı
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 10 kayıt (commit)
-
-
R David Murray yazdı
-
R David Murray yazdı
-
R David Murray yazdı
Also adds the TOC entry for headerregistry.
-
R David Murray yazdı
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 yazdı
-
Vinay Sajip yazdı
-
R David Murray yazdı
-
Vinay Sajip yazdı
-
Nick Coghlan yazdı
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
-
Nick Coghlan yazdı
Tweak importlib._bootstrap to avoid zero-argument super so I can work on issue #14857 without breaking imports
-