summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16954: Add docstrings for ElementTreeEli Bendersky2013-03-091-578/+486
| | | | Based on patch by David Lam
* mergeRaymond Hettinger2013-03-091-2/+2
|\
| * Sync-up with 3.4 to make maintenance easier.Raymond Hettinger2013-03-091-9/+7
| |
* | mergeRaymond Hettinger2013-03-091-12/+35
|\ \ | |/
| * Improve comments and variable names.Raymond Hettinger2013-03-091-14/+37
| |
* | Issue #17384: Consolidated cleanup operations in tests.Vinay Sajip2013-03-081-4/+14
| |
* | (Merge 3.3) Issue #17223: the test is specific to 32-bit wchar_t typeVictor Stinner2013-03-081-11/+3
|\ \ | |/ | | | | Skip the test on Windows.
| * Issue #17223: the test is specific to 32-bit wchar_t typeVictor Stinner2013-03-081-11/+3
| | | | | | | | Skip the test on Windows.
* | Merge: PEP8 fixup on previous patch, remove unused imports in test_email.R David Murray2013-03-072-6/+2
|\ \ | |/
| * Merge: PEP8 fixup on previous patch, remove unused imports in test_email.R David Murray2013-03-072-6/+2
| |\
| | * PEP8 fixup on previous patch, remove unused import in test_email.R David Murray2013-03-072-2/+1
| | |
* | | Merge: #14645: Generator now emits correct linesep for all parts.R David Murray2013-03-072-4/+52
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Previously the parts of the message retained whatever linesep they had on read, which means if the messages weren't read in univeral newline mode, the line endings could well be inconsistent. In general sending it via smtplib would result in them getting fixed, but it is better to generate them correctly to begin with. Also, the new send_message method of smtplib does not do the fixup, so that method is producing rfc-invalid output without this fix.
| * | Merge: #14645: Generator now emits correct linesep for all parts.R David Murray2013-03-072-4/+52
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | Previously the parts of the message retained whatever linesep they had on read, which means if the messages weren't read in univeral newline mode, the line endings could well be inconsistent. In general sending it via smtplib would result in them getting fixed, but it is better to generate them correctly to begin with. Also, the new send_message method of smtplib does not do the fixup, so that method is producing rfc-invalid output without this fix.
| | * #14645: Generator now emits correct linesep for all parts.R David Murray2013-03-072-4/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the parts of the message retained whatever linesep they had on read, which means if the messages weren't read in univeral newline mode, the line endings could well be inconsistent. In general sending it via smtplib would result in them getting fixed, but it is better to generate them correctly to begin with. Also, the new send_message method of smtplib does not do the fixup, so that method is producing rfc-invalid output without this fix.
| | * #11732: add a new suppress_crash_popup() context manager to test.support ↵Ezio Melotti2013-03-072-6/+31
| | | | | | | | | | | | that disables crash popups on Windows and use it in test_ctypes.
* | | #11732: merge with 3.3.Ezio Melotti2013-03-071-1/+3
|\ \ \ | |/ /
| * | #11732: make suppress_crash_popup() work on Windows XP and Windows Server 2003.Ezio Melotti2013-03-071-1/+3
| | |
* | | Refactor ftplib by getting rid of 4 methods (retr*() and stor*()) which were ↵Giampaolo Rodola'2013-03-071-71/+15
| | | | | | | | | | | | duplicated in TLS_FTP class.
* | | PEP8-ify ftplib.py: get rid of multiple statements on one line (if cond: ...)Giampaolo Rodola'2013-03-071-29/+57
| | |
* | | #11732: merge with 3.3.Ezio Melotti2013-03-053-8/+33
|\ \ \ | |/ /
| * | Fix indentation.Ezio Melotti2013-03-052-5/+5
| | |
| * | #11732: add a new suppress_crash_popup() context manager to test.support.Ezio Melotti2013-03-053-4/+29
| | |
* | | Reverting the changeset b87792757ee8 made for Issue #12921Senthil Kumaran2013-03-051-1/+1
|\ \ \ | |/ /
| * | Reverting the changeset 5d76a4746d9d made for Issue #12921Senthil Kumaran2013-03-051-1/+1
| |\ \ | | |/
| | * Reverting the changeset 5126e62c60af made for Issue #12921Senthil Kumaran2013-03-051-1/+1
| | |
* | | Fix Issue #12921: BaseHTTPServer's send_error should send the correct errorSenthil Kumaran2013-03-051-1/+1
|\ \ \ | |/ / | | | | | | | | | response message when send_error includes a message in addition to error status. Patch contributed by Karl.
| * | Fix Issue #12921: BaseHTTPServer's send_error should send the correct errorSenthil Kumaran2013-03-051-1/+1
| |\ \ | | |/ | | | | | | | | | response message when send_error includes a message in addition to error status. Patch contributed by Karl.
| | * Fix Issue #12921: BaseHTTPServer's send_error should send the correct errorSenthil Kumaran2013-03-051-1/+1
| | | | | | | | | | | | | | | response message when send_error includes a message in addition to error status. Patch contributed by Karl.
* | | mergeRaymond Hettinger2013-03-051-1/+1
|\ \ \ | |/ /
| * | Fix typoRaymond Hettinger2013-03-051-1/+1
| | |
| * | Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest.Raymond Hettinger2013-03-051-25/+59
| | | | | | | | | | | | | | | This removes the dependency on bisect and it bring the pure Python code in-sync with the C code.
* | | Use LT in all comparisonsRaymond Hettinger2013-03-051-3/+3
| | |
* | | Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the ↵Antoine Pitrou2013-03-041-0/+26
|\ \ \ | |/ / | | | | | | list is being resized concurrently.
| * | Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the ↵Antoine Pitrou2013-03-041-0/+26
| |\ \ | | |/ | | | | | | list is being resized concurrently.
| | * Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the ↵Antoine Pitrou2013-03-041-0/+26
| | | | | | | | | | | | list is being resized concurrently.
* | | #17346: merge with 3.3.Ezio Melotti2013-03-041-5/+5
|\ \ \ | |/ /
| * | #17346: merge with 3.2.Ezio Melotti2013-03-041-5/+5
| |\ \ | | |/
| | * #17346: make sure pickle tests are run against all protocols. Initial patch ↵Ezio Melotti2013-03-041-5/+5
| | | | | | | | | | | | by Marius Gedminas.
* | | MergeRaymond Hettinger2013-03-041-1/+1
|\ \ \ | |/ /
| * | Another nit.Raymond Hettinger2013-03-041-1/+1
| | |
* | | mergeRaymond Hettinger2013-03-041-7/+11
|\ \ \ | |/ /
| * | Fix other re-entrancy nits for the lru_cache.Raymond Hettinger2013-03-041-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep references for oldkey and oldvalue so they can't trigger a __del__ method to reenter our thread. Move the cache[key]=link step to the end, after the link data is in a consistent state. Under exotic circumstances, the cache[key]=link step could trigger reentrancy (i.e. the key would have to have a hash exactly equal to that for another key in the cache and the key would need a __eq__ method that makes a reentrant call our cached function).
* | | mergeRaymond Hettinger2013-03-041-0/+25
|\ \ \ | |/ /
| * | Add test for RLock in the lru_cache().Raymond Hettinger2013-03-041-0/+25
| | |
* | | Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest.Raymond Hettinger2013-03-041-25/+59
| | | | | | | | | | | | | | | This removes the dependency on bisect and it bring the pure Python code in-sync with the C code.
* | | Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu.Nadeem Vawda2013-03-031-1/+5
|\ \ \ | |/ /
| * | Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu.Nadeem Vawda2013-03-031-1/+5
| |\ \ | | |/
| | * Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu.Nadeem Vawda2013-03-031-1/+7
| | |
* | | #17032: The "global" in the "NameError: global name 'x' is not defined" ↵Ezio Melotti2013-03-031-2/+2
| | | | | | | | | | | | error message has been removed. Patch by Ram Rachum.
* | | #17334: merge with 3.3.Ezio Melotti2013-03-021-21/+8
|\ \ \ | |/ /