Ezio Melotti
05cd03aa0d
Remove debug print.
2013-03-11 08:57:17 +02:00
Raymond Hettinger
e318a883fe
Issue #15806 : Add contextlib.ignored().
2013-03-10 22:26:51 -07:00
Ezio Melotti
c0417357d1
#11963 : merge with 3.3.
2013-03-11 06:03:05 +02:00
Ezio Melotti
3300878d8c
#11963 : merge with 3.2.
2013-03-11 05:59:55 +02:00
Ezio Melotti
42a541bd49
#11963 : remove human verification from test_parser and test_subprocess.
2013-03-11 05:53:34 +02:00
Raymond Hettinger
b65e579926
Improve variable names
2013-03-10 20:34:16 -07:00
Raymond Hettinger
ec4b174de4
Issue #17385 : Fix quadratic behavior in threading.Condition
2013-03-10 17:57:28 -07:00
Raymond Hettinger
720da57159
Update code to increment and decrement using the cleaner += 1 and -= 1 style.
2013-03-10 15:13:35 -07:00
Ezio Melotti
081a55b090
#11963 : merge with 3.3.
2013-03-10 03:29:55 +02:00
Ezio Melotti
a51be4c136
#11963 : merge with 3.2.
2013-03-10 03:27:26 +02:00
Ezio Melotti
e7c329954c
#11963 : fix Windows buildbots.
2013-03-10 03:25:45 +02:00
Ezio Melotti
492390333e
#11963 : merge with 3.3.
2013-03-09 22:21:32 +02:00
Ezio Melotti
0d7333e0ef
#11963 : merge with 3.2.
2013-03-09 22:20:23 +02:00
Ezio Melotti
3919184014
#11963 : avoid printing messages in test_parser. Initial patch by Éric Araujo.
2013-03-09 22:17:33 +02:00
Eli Bendersky
84fae785ce
Issue #16954 : Add docstrings for ElementTree
...
Based on patch by David Lam
2013-03-09 07:12:48 -08:00
Raymond Hettinger
36fe22806c
merge
2013-03-08 23:04:47 -08:00
Raymond Hettinger
d8d6010df3
Sync-up with 3.4 to make maintenance easier.
2013-03-08 23:01:07 -08:00
Raymond Hettinger
a28c55a2e4
merge
2013-03-08 21:14:46 -07:00
Raymond Hettinger
f96b2b03bb
Improve comments and variable names.
2013-03-08 21:11:55 -07:00
Vinay Sajip
becf5c6deb
Issue #17384 : Consolidated cleanup operations in tests.
2013-03-08 09:50:57 +00:00
Victor Stinner
763edc1c6a
(Merge 3.3) Issue #17223 : the test is specific to 32-bit wchar_t type
...
Skip the test on Windows.
2013-03-08 02:33:44 +01:00
Victor Stinner
29c0034ff9
Issue #17223 : the test is specific to 32-bit wchar_t type
...
Skip the test on Windows.
2013-03-08 02:33:06 +01:00
R David Murray
857b24b0d5
Merge: PEP8 fixup on previous patch, remove unused imports in test_email.
2013-03-07 18:17:19 -05:00
R David Murray
965794ed58
Merge: PEP8 fixup on previous patch, remove unused imports in test_email.
2013-03-07 18:16:47 -05:00
R David Murray
b9534f4ed5
PEP8 fixup on previous patch, remove unused import in test_email.
2013-03-07 18:15:13 -05:00
R David Murray
2e78cd9b5e
Merge: #14645 : Generator now emits correct linesep for all parts.
...
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.
2013-03-07 17:31:21 -05:00
R David Murray
addb0be63e
Merge: #14645 : Generator now emits correct linesep for all parts.
...
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.
2013-03-07 16:43:58 -05:00
R David Murray
e67c6c545b
#14645 : Generator now emits correct linesep for all parts.
...
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.
2013-03-07 16:38:03 -05:00
Ezio Melotti
1f38621a33
#11732 : add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes.
2013-03-07 18:44:29 +02:00
Ezio Melotti
1181a46e09
#11732 : merge with 3.3.
2013-03-07 18:38:45 +02:00
Ezio Melotti
e846342f8a
#11732 : make suppress_crash_popup() work on Windows XP and Windows Server 2003.
2013-03-07 18:37:13 +02:00
Giampaolo Rodola'
3ff5e7578e
Refactor ftplib by getting rid of 4 methods (retr*() and stor*()) which were duplicated in TLS_FTP class.
2013-03-07 14:03:27 +01:00
Giampaolo Rodola'
94c56a172c
PEP8-ify ftplib.py: get rid of multiple statements on one line (if cond: ...)
2013-03-07 13:51:20 +01:00
Ezio Melotti
87a249c119
#11732 : merge with 3.3.
2013-03-05 20:33:38 +02:00
Ezio Melotti
e1857d999d
Fix indentation.
2013-03-05 20:31:34 +02:00
Ezio Melotti
25a404520d
#11732 : add a new suppress_crash_popup() context manager to test.support.
2013-03-05 20:26:17 +02:00
Senthil Kumaran
df1d3c5c4b
Reverting the changeset b87792757ee8 made for Issue #12921
2013-03-05 02:28:18 -08:00
Senthil Kumaran
884f0585a4
Reverting the changeset 5d76a4746d9d made for Issue #12921
2013-03-05 02:26:50 -08:00
Senthil Kumaran
1e7551dc87
Reverting the changeset 5126e62c60af made for Issue #12921
2013-03-05 02:25:58 -08:00
Senthil Kumaran
24431f1802
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:26:33 -08:00
Senthil Kumaran
c37f835a43
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:23:44 -08:00
Senthil Kumaran
3fb066d286
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:22:57 -08:00
Raymond Hettinger
f7f8972a59
merge
2013-03-05 02:11:37 -05:00
Raymond Hettinger
2e8d9a799d
Fix typo
2013-03-05 02:11:10 -05:00
Raymond Hettinger
f6b26676bc
Issue #16098 : Update heapq.nsmallest to use the same algorithm as nlargest.
...
This removes the dependency on bisect and it bring the pure Python code
in-sync with the C code.
2013-03-05 01:36:30 -05:00
Raymond Hettinger
975a8e8f76
Use LT in all comparisons
2013-03-05 01:17:57 -05:00
Antoine Pitrou
221760a3aa
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:35:55 +01:00
Antoine Pitrou
31584e30ab
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:33:36 +01:00
Antoine Pitrou
44d5214927
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:30:01 +01:00
Ezio Melotti
63f40d7af4
#17346 : merge with 3.3.
2013-03-04 15:21:14 +02:00