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 |
2d12e14 | Benjamin Peterson | 25 May 2012, 07:19:40 UTC | actually return the result | 25 May 2012, 07:19:40 UTC |
ca28e99 | Larry Hastings | 25 May 2012, 05:58:30 UTC | Issue #14889: PyBytes_FromObject(bytes) now just increfs and returns. Previously, if you passed in a bytes object, it would create a whole new object. | 25 May 2012, 05:58:30 UTC |
5ed7bd7 | Benjamin Peterson | 25 May 2012, 05:54:15 UTC | simplify and rewrite the zipimport part of 702009f3c0b1 a bit | 25 May 2012, 05:54:15 UTC |
209e04c | Benjamin Peterson | 25 May 2012, 05:35:39 UTC | plug ref leak | 25 May 2012, 05:35:39 UTC |
283d0ba | Eric V. Smith | 25 May 2012, 00:22:10 UTC | Whitespace cleanup. | 25 May 2012, 00:22:10 UTC |
984b11f | Eric V. Smith | 25 May 2012, 00:21:04 UTC | issue 14660: Implement PEP 420, namespace packages. | 25 May 2012, 00:21:04 UTC |
fa52cbd | Petri Lehtinen | 24 May 2012, 18:49:59 UTC | #14863: Update the documentation of os.fdopen() | 24 May 2012, 18:49:59 UTC |
1a01ebc | Petri Lehtinen | 24 May 2012, 18:44:07 UTC | #14863: Update the documentation of os.fdopen() There's no bufsize argument anymore, and os.fdopen() is only a very thin wrapper around open() anymore. Change the documentation to reflect that. | 24 May 2012, 18:46:36 UTC |
4715ca5 | Senthil Kumaran | 24 May 2012, 13:57:38 UTC | Issue #14036: return None when port in urlparse cross 65535 | 24 May 2012, 13:57:38 UTC |
2fc5a50 | Senthil Kumaran | 24 May 2012, 13:56:17 UTC | Issue #14036: return None when port in urlparse cross 65535 | 24 May 2012, 13:56:17 UTC |
b95c634 | Sandro Tosi | 23 May 2012, 21:17:22 UTC | Issue #14814: minor improvements as suggested by Hynek Schlawack | 23 May 2012, 21:17:22 UTC |
876ecad | Sandro Tosi | 23 May 2012, 20:26:55 UTC | Issue #14814: improve docstrings and arguments value handling, as per Terry J. Reedy's comments | 23 May 2012, 20:26:55 UTC |
3bc37f2 | Petri Lehtinen | 23 May 2012, 18:36:16 UTC | #14862: Add missing names to os.__all__ | 23 May 2012, 18:36:28 UTC |
346c5de | Florent Xicluna | 23 May 2012, 15:42:50 UTC | Remove duplicate entries in Misc/NEWS. | 23 May 2012, 15:42:50 UTC |
e02ba10 | Hynek Schlawack | 23 May 2012, 09:22:44 UTC | #14885: Make support.skip_unless_xattr check also tempfile There is a rare edge case where the filesystem used by the tempfile functions (usually /tmp) doesn't support xattrs while the one used by TESTFN (the current directory, so likely to be below /home) does. This causes the xattr related test_shutil tests fail. skip_unless_xattr now checks both. I have also added skip_unless_xattr to __all__ where it has been missing. | 23 May 2012, 09:22:44 UTC |
e1f107e | Eli Bendersky | 23 May 2012, 04:09:08 UTC | s/tabs/spaces, and clean trailing whitespace | 23 May 2012, 04:09:08 UTC |
3f17bcd | Petri Lehtinen | 22 May 2012, 18:05:30 UTC | Merge branch '3.2' | 22 May 2012, 18:05:30 UTC |
1f50389 | Petri Lehtinen | 22 May 2012, 17:48:16 UTC | #14472: Update .gitignore Patch by Matej Cepl. | 22 May 2012, 18:03:05 UTC |
0f00dfa | Petri Lehtinen | 22 May 2012, 17:48:16 UTC | #14472: Update .gitignore Patch by Matej Cepl. | 22 May 2012, 17:50:28 UTC |
5c2725d | Brian Curtin | 22 May 2012, 16:04:32 UTC | Update build.bat for VS2010 | 22 May 2012, 16:04:32 UTC |
f0bf135 | Hynek Schlawack | 22 May 2012, 14:14:56 UTC | Restore [] where default arguments are not keywords | 22 May 2012, 14:14:56 UTC |
979f37a | Hynek Schlawack | 22 May 2012, 14:12:18 UTC | Restore [] where default arguments are not keywords Reverts some changes of d13fdd97cc8e. | 22 May 2012, 14:12:18 UTC |
161ea6a | Nick Coghlan | 22 May 2012, 13:04:42 UTC | Fix typo | 22 May 2012, 13:04:42 UTC |
a497b44 | Nick Coghlan | 22 May 2012, 13:02:00 UTC | Fix the versionadded tags for a couple of my recent changes | 22 May 2012, 13:02:00 UTC |
4226543 | Ezio Melotti | 21 May 2012, 23:53:42 UTC | #14875: merge with 3.2. | 21 May 2012, 23:53:42 UTC |
898d51d | Ezio Melotti | 21 May 2012, 23:49:06 UTC | #14875: Use float('inf') instead of float('1e66666') in the json module. | 21 May 2012, 23:49:06 UTC |
945a3ad | Georg Brandl | 21 May 2012, 18:28:58 UTC | Avoid useless indentation. | 21 May 2012, 18:28:58 UTC |
389e8c8 | Antoine Pitrou | 21 May 2012, 17:23:00 UTC | Remove outdated statement. | 21 May 2012, 17:23:00 UTC |
1d5ccdb | Nick Coghlan | 21 May 2012, 13:03:30 UTC | Close #14136 by cleaning up the PEP 409 command line test (patch by Ethan Furman) | 21 May 2012, 13:03:30 UTC |
3267a30 | Nick Coghlan | 21 May 2012, 12:54:43 UTC | Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.nested API | 21 May 2012, 12:54:43 UTC |
6e49ac2 | Hynek Schlawack | 21 May 2012, 11:41:25 UTC | #14804: Remove [] around optional arguments with default values 3.3 specific additions to d13fdd97cc8e. | 21 May 2012, 11:41:25 UTC |
87d8200 | Hynek Schlawack | 21 May 2012, 11:35:03 UTC | #14804: Remove [] around optional arguments with default values | 21 May 2012, 11:35:03 UTC |
dfa4652 | Hynek Schlawack | 21 May 2012, 09:01:54 UTC | #14804: Remove [] around optional arguments with default values | 21 May 2012, 09:01:54 UTC |
44f7cf0 | Hynek Schlawack | 20 May 2012, 16:34:11 UTC | Fix `versionchanged` tags for json.load `versionchanged` tags about 2.7 are useless in 3.x branches. | 20 May 2012, 16:34:11 UTC |
f54c060 | Hynek Schlawack | 20 May 2012, 16:32:53 UTC | Fix `versionchanged` tags for json.load `versionchanged` tags about 2.7 are useless in 3.x branches. | 20 May 2012, 16:32:53 UTC |
07162d4 | Vinay Sajip | 20 May 2012, 14:37:33 UTC | Closes #14864: Added documentation on how to undo the effects of a logging.disable() call. Thanks to user Guillaume for the suggestion. | 20 May 2012, 14:37:33 UTC |
69d8493 | Vinay Sajip | 20 May 2012, 14:36:17 UTC | Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call. | 20 May 2012, 14:36:17 UTC |
a1df1cc | Kristján Valur Jónsson | 20 May 2012, 11:25:48 UTC | Issue 14821: If a dependency is expressed both in the .sln file and the .vcxproj file msbuild is confused. Removing the .sln dependencies which are deprecated anyway. See: http://blogs.msdn.com/b/visualstudio/archive/2010/12/21/incorrect-solution-build-ordering-when-using-msbuild-exe.aspx | 20 May 2012, 11:25:48 UTC |
305acf2 | Nick Coghlan | 20 May 2012, 11:22:27 UTC | Remove an incorrect implementation detail | 20 May 2012, 11:22:27 UTC |
dc9b255 | Nick Coghlan | 20 May 2012, 11:01:57 UTC | Issue #14814: addition of the ipaddress module (stage 1 - code and tests) | 20 May 2012, 11:01:57 UTC |
7db768c | Hynek Schlawack | 20 May 2012, 10:04:01 UTC | Document when json.load's parse_constant behaviour changed It doesn't get called on 'null', 'true', 'false' since f686aced02a3. | 20 May 2012, 10:04:01 UTC |