e8eb912 | Brian Curtin | 29 May 2012, 23:44:17 UTC | Merge 3.2 news item | 29 May 2012, 23:44:17 UTC |
cf4a1b7 | Brian Curtin | 29 May 2012, 23:41:30 UTC | Add news item for #14943 | 29 May 2012, 23:41:30 UTC |
d648fa2 | Brian Curtin | 29 May 2012, 23:36:40 UTC | Fix #14943. Merge 3.2 | 29 May 2012, 23:36:40 UTC |
13c7034 | Brian Curtin | 29 May 2012, 23:34:45 UTC | Fix #14943. Update the proper default value and list the proper argument names in the explanation. | 29 May 2012, 23:34:45 UTC |
5e86eed | Vinay Sajip | 29 May 2012, 21:48:10 UTC | Reapplied skip logic for test on Windows, which appears to have been lost during a merge. | 29 May 2012, 21:48:10 UTC |
c1f0b53 | Vinay Sajip | 29 May 2012, 21:29:50 UTC | Updated test to reflect renamed file. | 29 May 2012, 21:29:50 UTC |
01d63a6 | Ned Deily | 29 May 2012, 17:51:38 UTC | Issue #10997: merge from 3.2 | 29 May 2012, 17:51:38 UTC |
3aee941 | Ned Deily | 29 May 2012, 17:43:36 UTC | Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu. | 29 May 2012, 17:43:36 UTC |
d0c8695 | R David Murray | 29 May 2012, 16:55:05 UTC | #14796: improve calendar test coverage. Patch by Oleg Plakhotnyuk. | 29 May 2012, 16:55:05 UTC |
3a7d096 | Victor Stinner | 29 May 2012, 16:53:56 UTC | Issue #14744: Fix compilation on Windows (part 2) | 29 May 2012, 16:53:56 UTC |
e577ab3 | Victor Stinner | 29 May 2012, 16:51:10 UTC | Issue #14744: Fix compilation on Windows | 29 May 2012, 16:51:10 UTC |
026ba31 | R David Murray | 29 May 2012, 16:31:11 UTC | #10839: add new test file that was omitted from checkin | 29 May 2012, 16:31:11 UTC |
abfc374 | R David Murray | 29 May 2012, 13:14:44 UTC | #10839: raise an error on add of duplicate unique headers in new email policies 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. | 29 May 2012, 13:14:44 UTC |
6066fe1 | Eli Bendersky | 29 May 2012, 12:45:40 UTC | merge heads | 29 May 2012, 12:45:40 UTC |
58d548d | Eli Bendersky | 29 May 2012, 12:45:16 UTC | Issue #14007: make TreeBuilder an actual type exposed from _elementtree, and subclassable. | 29 May 2012, 12:45:16 UTC |
aa88d32 | Vinay Sajip | 29 May 2012, 11:53:00 UTC | Merged upstream changes. | 29 May 2012, 11:53:00 UTC |
4126a7d | Vinay Sajip | 29 May 2012, 11:52:14 UTC | Added pyvenv docs to 'Python Setup and Usage' section. | 29 May 2012, 11:52:14 UTC |
d3f0882 | Victor Stinner | 29 May 2012, 10:57:52 UTC | Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args 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. | 29 May 2012, 10:57:52 UTC |
a1b0c9f | Victor Stinner | 29 May 2012, 10:30:29 UTC | PyArg_Parse*("U"): ensure that the Unicode string is ready | 29 May 2012, 10:30:29 UTC |
87ea780 | Richard Oudkerk | 29 May 2012, 11:01:47 UTC | Use Python 3.x-style keyword only arg in Array() Previously a Python 2.x compatible hack was used for multiprocessing.sharedctypes.Array(). Also the documented signature was wrong. | 29 May 2012, 11:01:47 UTC |
1074a92 | Richard Oudkerk | 29 May 2012, 11:01:45 UTC | Remove __getslice__, __setslice__, __delslice__ methods from proxies Proxy classes in multiprocessing do not need these methods in Python 3.x. | 29 May 2012, 11:01:45 UTC |
ecdc076 | Vinay Sajip | 29 May 2012, 10:12:43 UTC | Removed pysetup3.exe executable. | 29 May 2012, 10:12:43 UTC |
52209d3 | Hynek Schlawack | 29 May 2012, 10:04:54 UTC | #14835: Make plistlib output empty arrays & dicts like OS X Patch by Sidney San Martín. | 29 May 2012, 10:04:54 UTC |
737b173 | Eli Bendersky | 29 May 2012, 03:02:56 UTC | Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree. Add attrib keyword to Element and SubElement in _elementtree. Patch developed with Ezio Melotti. | 29 May 2012, 03:02:56 UTC |
6bed342 | R David Murray | 29 May 2012, 01:09:04 UTC | Refactor test_email/test_pickleable and add tests for date headers | 29 May 2012, 01:09:04 UTC |
a7c9ddb | R David Murray | 29 May 2012, 00:22:37 UTC | Regularize test_email/test_headerregistry's references to policy. | 29 May 2012, 00:22:37 UTC |
d41595b | R David Murray | 29 May 2012, 00:14:10 UTC | Refactor test_email/test_defect_handling. | 29 May 2012, 00:14:10 UTC |
3e0a1eb | Richard Oudkerk | 28 May 2012, 20:35:09 UTC | Issue #14930: Make memoryview objects weakrefable. | 28 May 2012, 20:35:09 UTC |
1cfe7d9 | Antoine Pitrou | 28 May 2012, 20:23:42 UTC | Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts. Additional comments by Tim Silk. | 28 May 2012, 20:23:42 UTC |
e1ad3da | Antoine Pitrou | 28 May 2012, 20:22:34 UTC | Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts. Additional comments by Tim Silk. | 28 May 2012, 20:22:34 UTC |
d102e04 | Meador Inge | 28 May 2012, 19:47:53 UTC | Issue #9041: raised exception is misleading 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. | 28 May 2012, 19:47:53 UTC |
031e25b | Meador Inge | 28 May 2012, 19:21:16 UTC | Issue #9041: raised exception is misleading 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. | 28 May 2012, 19:21:16 UTC |
ef4c501 | Vinay Sajip | 28 May 2012, 16:01:17 UTC | Fixed typo. | 28 May 2012, 16:01:17 UTC |
382a7c0 | Vinay Sajip | 28 May 2012, 15:34:47 UTC | Tweaked tests to use launcher executable name on OS X. | 28 May 2012, 15:34:47 UTC |
4469746 | Vinay Sajip | 28 May 2012, 15:33:01 UTC | Added python3 symlink; removed Distribute-related code, docs and comments; changed Mac OS X computation to determine framework builds. | 28 May 2012, 15:33:01 UTC |
ab45e68 | Nick Coghlan | 28 May 2012, 12:36:07 UTC | Merge from 3.2 | 28 May 2012, 12:36:07 UTC |
4b6045c | Nick Coghlan | 28 May 2012, 12:34:46 UTC | Issue #14443: Tell rpmbuild to use the correct version of Python | 28 May 2012, 12:34:46 UTC |
7e18f43 | Ned Deily | 28 May 2012, 05:34:33 UTC | Issue #14660: Install namespace_pkgs test directories and files. | 28 May 2012, 05:34:33 UTC |
c6aa93c | Terry Jan Reedy | 28 May 2012, 03:06:14 UTC | Merge 3.2 #14929 | 28 May 2012, 03:06:14 UTC |
e1c5087 | Terry Jan Reedy | 28 May 2012, 02:56:49 UTC | Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping. Patch by Roger Serwy. | 28 May 2012, 02:56:49 UTC |
7ef3ff3 | R David Murray | 28 May 2012, 02:20:42 UTC | #12515: email now registers a defect if the MIME end boundary is missing. 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.) | 28 May 2012, 02:20:42 UTC |
d0a0e8e | Terry Jan Reedy | 28 May 2012, 01:54:28 UTC | merge heads | 28 May 2012, 01:54:28 UTC |
48fd1fe | Terry Jan Reedy | 28 May 2012, 01:39:39 UTC | Merge 3.2 closes #12510 | 28 May 2012, 01:39:39 UTC |
c5301ef | Terry Jan Reedy | 28 May 2012, 01:29:17 UTC | Issue12510: Attempting to get invalid tooltip no longer closes Idle. Original patch by Roger Serwy. | 28 May 2012, 01:29:17 UTC |
9854fc9 | R David Murray | 28 May 2012, 01:27:31 UTC | News item for #1672568. | 28 May 2012, 01:27:31 UTC |
80e0aee | R David Murray | 28 May 2012, 01:23:34 UTC | #1672568: email now registers defects for base64 payload format errors. 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. | 28 May 2012, 01:23:34 UTC |
adbdcdb | R David Murray | 28 May 2012, 00:45:01 UTC | #14925: email now registers a defect for missing header/body separator. 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. | 28 May 2012, 00:45:01 UTC |
2c172d0 | R David Murray | 27 May 2012, 21:18:28 UTC | Null merge of email doc patch already applied to this branch. | 27 May 2012, 21:18:28 UTC |
e1398f7 | R David Murray | 27 May 2012, 21:17:53 UTC | #11785: fix the :mod: references in email package submodule titles. | 27 May 2012, 21:17:53 UTC |
79cf3ba | R David Murray | 27 May 2012, 21:10:36 UTC | #11785: fix the :mod: references in email package submodule titles. Also adds the TOC entry for headerregistry. | 27 May 2012, 21:10:36 UTC |
ea97668 | R David Murray | 27 May 2012, 19:03:38 UTC | Make headerregistry fully part of the provisional api. 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. | 27 May 2012, 19:03:38 UTC |
393da32 | Vinay Sajip | 27 May 2012, 18:05:36 UTC | Changed executable name computation in test_venv to allow for debug executables. | 27 May 2012, 18:05:36 UTC |
b3b49cd | Vinay Sajip | 27 May 2012, 17:39:22 UTC | Refined venv tests. | 27 May 2012, 17:39:22 UTC |
36432ea | R David Murray | 27 May 2012, 16:39:54 UTC | Add '__all__' to _encoded_words and mark QByteMap as private. | 27 May 2012, 16:39:54 UTC |
7e20349 | Vinay Sajip | 27 May 2012, 16:30:09 UTC | Fixed _sys_home computation and added diagnostics for Windows buildbot failures. | 27 May 2012, 16:30:09 UTC |
0b43bcf | Nick Coghlan | 27 May 2012, 08:17:07 UTC | 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 | 27 May 2012, 08:17:07 UTC |
5c6eba3 | Nick Coghlan | 27 May 2012, 07:49:58 UTC | Tweak importlib._bootstrap to avoid zero-argument super so I can work on issue #14857 without breaking imports | 27 May 2012, 07:49:58 UTC |
38e0e1e | Georg Brandl | 27 May 2012, 07:31:10 UTC | Fix markup. | 27 May 2012, 07:31:10 UTC |
f1ee788 | Terry Jan Reedy | 27 May 2012, 00:44:45 UTC | Merge with 3.2 #10635 whitespace | 27 May 2012, 00:44:45 UTC |
3fde191 | Terry Jan Reedy | 27 May 2012, 00:43:17 UTC | #10365 Trim trailing whitespace | 27 May 2012, 00:43:17 UTC |
935d5eb | Terry Jan Reedy | 27 May 2012, 00:29:25 UTC | Merge with 3.2 Issue #10365: File open dialog now works instead of crashing even when parent window is closed. Patch by Roger Serwy. | 27 May 2012, 00:29:25 UTC |
cd6b8c6 | Terry Jan Reedy | 27 May 2012, 00:23:45 UTC | Issue #10365: File open dialog now works instead of crashing even when parent window is closed. Patch by Roger Serwy. | 27 May 2012, 00:23:45 UTC |
26cdf1f | Richard Oudkerk | 26 May 2012, 21:09:59 UTC | Make multiprocessing's shared memory use memoryview instead of raw pointer | 26 May 2012, 21:09:59 UTC |
1a0df94 | Terry Jan Reedy | 26 May 2012, 20:50:30 UTC | Merge Issue #14876: Use user-selected font for highlight configuration. Patch by Roger Serwy. | 26 May 2012, 20:50:30 UTC |
809309a | Terry Jan Reedy | 26 May 2012, 20:31:00 UTC | Issue #14876: Use user-selected font for highlight configuration. Patch by Roger Serwy. | 26 May 2012, 20:31:00 UTC |
ee2bbed | Vinay Sajip | 26 May 2012, 19:39:27 UTC | Merged upstream changes. | 26 May 2012, 19:39:27 UTC |
4221142 | Vinay Sajip | 26 May 2012, 19:36:12 UTC | Addressed some buildbot errors and comments on the checkin by Antoine on python-dev. | 26 May 2012, 19:36:12 UTC |
d1a30c9 | R David Murray | 26 May 2012, 18:33:59 UTC | #8739: upgrade smtpd to RFC 5321 and 1870. 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. | 26 May 2012, 18:33:59 UTC |
032eed3 | R David Murray | 26 May 2012, 18:31:12 UTC | Recognize '<>' as a special case of an angle-addr in header_value_parser. 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. | 26 May 2012, 18:31:12 UTC |
d785cb3 | Brett Cannon | 26 May 2012, 18:28:21 UTC | Remove some redundant decorators. | 26 May 2012, 18:28:21 UTC |
53c9200 | Nick Coghlan | 26 May 2012, 15:53:33 UTC | Issue #14814: Add a basic ipaddress tutorial (thanks to Sandro Tosi for the initial conversion from Peter Moody's wiki version) | 26 May 2012, 15:53:33 UTC |
2c58910 | Nick Coghlan | 26 May 2012, 15:03:25 UTC | Issue #14814: Clean out an obsolete property and method from ipaddress Network objects | 26 May 2012, 15:03:25 UTC |
aff73f9 | Nick Coghlan | 26 May 2012, 14:57:25 UTC | Issue #14814: Cleanup ipaddress header comments | 26 May 2012, 14:57:25 UTC |
51c3067 | Nick Coghlan | 26 May 2012, 14:25:58 UTC | Issue #14814: In the spirit of TOOWTDI, ditch the redundant version parameter to the factory functions by using the appropriate direct class references instead | 26 May 2012, 14:25:58 UTC |
072b1e1 | Hynek Schlawack | 26 May 2012, 10:04:56 UTC | #14814: Some PEP8 adjustments and dead code weeding | 26 May 2012, 10:04:56 UTC |
039b01d | Georg Brandl | 26 May 2012, 07:11:22 UTC | Add missing versionadded. | 26 May 2012, 07:11:22 UTC |
d2d521e | R David Murray | 26 May 2012, 03:22:59 UTC | #665194: Add a localtime function to email.utils. 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. | 26 May 2012, 03:22:59 UTC |
dcaf2ec | R David Murray | 26 May 2012, 02:53:12 UTC | #12586: Fix a small oversight in the new email policy header setting code. This is a danger of focusing on unit tests: sometimes you forget to do the integration tests. | 26 May 2012, 02:53:12 UTC |
b526763 | Vinay Sajip | 26 May 2012, 02:48:27 UTC | Merged upstream changes. | 26 May 2012, 02:48:27 UTC |
7ded1f0 | Vinay Sajip | 26 May 2012, 02:45:29 UTC | Implemented PEP 405 (Python virtual environments). | 26 May 2012, 02:45:29 UTC |
94a6426 | R David Murray | 26 May 2012, 02:33:36 UTC | Add news entries for #14731 and #12586. | 26 May 2012, 02:33:36 UTC |
cb448cf | R David Murray | 26 May 2012, 02:25:56 UTC | #12586: Expand What's New email entry with provisional policy features. | 26 May 2012, 02:25:56 UTC |
f2bdc36 | Vinay Sajip | 26 May 2012, 02:25:23 UTC | Updated .hgeol for additional binaries. | 26 May 2012, 02:25:23 UTC |
4322c17 | Senthil Kumaran | 26 May 2012, 01:55:28 UTC | Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just have ascii in help msg | 26 May 2012, 01:55:28 UTC |
ffa4b2c | Senthil Kumaran | 26 May 2012, 01:53:32 UTC | Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just have ascii in help msg | 26 May 2012, 01:53:32 UTC |
0b6f6c8 | R David Murray | 25 May 2012, 22:42:14 UTC | #12586: add provisional email policy with new header parsing and folding. When the new policies are used (and only when the new policies are explicitly used) headers turn into objects that have attributes based on their parsed values, and can be set using objects that encapsulate the values, as well as set directly from unicode strings. The folding algorithm then takes care of encoding unicode where needed, and folding according to the highest level syntactic objects. With this patch only date and time headers are parsed as anything other than unstructured, but that is all the helper methods in the existing API handle. I do plan to add more parsers, and complete the set specified in the RFC before the package becomes stable. | 25 May 2012, 22:42:14 UTC |
0fa2edd | R David Murray | 25 May 2012, 21:59:56 UTC | #14731: add preliminary What's New entry for policy framework. | 25 May 2012, 21:59:56 UTC |
c27e522 | R David Murray | 25 May 2012, 19:01:48 UTC | #14731: refactor email policy framework. This patch primarily does two things: (1) it adds some internal-interface methods to Policy that allow for Policy to control the parsing and folding of headers in such a way that we can construct a backward compatibility policy that is 100% compatible with the 3.2 API, while allowing a new policy to implement the email6 API. (2) it adds that backward compatibility policy and refactors the test suite so that the only differences between the 3.2 test_email.py file and the 3.3 test_email.py file is some small changes in test framework and the addition of tests for bugs fixed that apply to the 3.2 API. There are some additional teaks, such as moving just the code needed for the compatibility policy into _policybase, so that the library code can import only _policybase. That way the new code that will be added for email6 will only get imported when a non-compatibility policy is imported. | 25 May 2012, 19:01:48 UTC |
9242c13 | Benjamin Peterson | 25 May 2012, 17:26:47 UTC | capitialize utime statuses | 25 May 2012, 17:26:47 UTC |
46c214d | Benjamin Peterson | 25 May 2012, 17:22:29 UTC | capitialize enum members | 25 May 2012, 17:22:29 UTC |
b47b539 | Nick Coghlan | 25 May 2012, 15:31:25 UTC | Placeholder in What's New for the major packaging infrastructure changes | 25 May 2012, 15:31:25 UTC |
f879e32 | Eric V. Smith | 25 May 2012, 15:25:27 UTC | Added test for namespace package dynamic path updates. | 25 May 2012, 15:25:27 UTC |
739ae56 | Richard Oudkerk | 25 May 2012, 12:54:53 UTC | Issue #14548: Make multiprocessing finalizers check pid before running This protects from possibilty of gc running just after fork. | 25 May 2012, 12:54:53 UTC |
692130a | Richard Oudkerk | 25 May 2012, 12:26:53 UTC | Issue #12091: simplify ApplyResult and MapResult with threading.Event Patch by Charles-François Natali | 25 May 2012, 12:26:53 UTC |
be39cfc | Richard Oudkerk | 25 May 2012, 12:04:20 UTC | Merge | 25 May 2012, 12:04:20 UTC |
54454e7 | Richard Oudkerk | 25 May 2012, 11:57:58 UTC | Issue #14881: Allow normal non-main thread to spawn a dummy process Fix suggested by Itay Brandes | 25 May 2012, 11:57:58 UTC |
9866d96 | Hynek Schlawack | 25 May 2012, 08:27:43 UTC | #4841: Fix FileIO constructor to honor closefd when called repeatedly Patch by Victor Stinner. | 25 May 2012, 08:27:43 UTC |
2cc7156 | Hynek Schlawack | 25 May 2012, 08:05:53 UTC | #4841: Fix FileIO constructor to honor closefd when called repeatedly Patch by Victor Stinner. | 25 May 2012, 08:05:53 UTC |
18eac4a | Benjamin Peterson | 25 May 2012, 07:24:42 UTC | use PyDict_Contains | 25 May 2012, 07:24:42 UTC |
a6a7a1a | Benjamin Peterson | 25 May 2012, 07:22:04 UTC | return NULL on error | 25 May 2012, 07:22:04 UTC |