Commit Graph

77879 Commits

Author SHA1 Message Date
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 fc5c5320a0 Fix typo in PyDict_SetDefault docs. 2013-03-10 20:57:16 +02:00
Raymond Hettinger 6584a1e72c merge 2013-03-10 09:51:37 -07:00
Raymond Hettinger 686aae4841 Inherit from object() for consistency 2013-03-10 09:50:37 -07:00
Raymond Hettinger e238b889eb merge 2013-03-10 09:42:22 -07:00
Raymond Hettinger 632c8c8ab1 Issue #17351: Modernize the pure Python property() example. 2013-03-10 09:41:18 -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
Brett Cannon ff73758b8f merge 2013-03-09 14:25:08 -05:00
Brett Cannon b7e6b89554 Touch up the Python 2 to 3 porting guide 2013-03-09 14:22:35 -05:00
Eli Bendersky 84fae785ce Issue #16954: Add docstrings for ElementTree
Based on patch by David Lam
2013-03-09 07:12:48 -08:00
Eli Bendersky 439b2bf4cd Add warning in ctypes documentation for #16575 and #16576 2013-03-09 05:55:24 -08:00
Eli Bendersky c2d90fb3ec Add warning in ctypes documentation for #16575 and #16576 2013-03-09 05:54:32 -08:00
Eli Bendersky 490cf4472e Add warning in ctypes documentation for #16575 and #16576 2013-03-09 05:54:00 -08:00
Terry Jan Reedy 1329cbc029 Merge with 3.3 2013-03-09 02:26:07 -05:00
Terry Jan Reedy 98281cef7d Merge heads 2013-03-09 02:25:18 -05:00
Terry Jan Reedy b4f998a57f Merge heads 2013-03-09 02:22:03 -05:00
Terry Jan Reedy c75be9341d Merge: closes issue 16643 (not ....2 as in last commit message) 2013-03-09 02:19:33 -05:00
Terry Jan Reedy adecf3f66f Issue #16642: sched.scheduler timefunc initial default is time.monotonic.
Patch by Ramchandra Apte
2013-03-09 02:14:27 -05: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
Terry Jan Reedy 11c08fd4b4 Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. 2013-03-08 19:40:17 -05:00
Terry Jan Reedy b6f1d6419d Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. 2013-03-08 19:39:30 -05:00
Terry Jan Reedy 9cbcc2f1c0 Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. 2013-03-08 19:35:15 -05:00
Vinay Sajip d12ff7b754 Closes #17376: Merged clarification from 3.3. 2013-03-08 23:27:24 +00:00
Vinay Sajip 355a9876e5 Issue #17376: Merged clarification from 3.2. 2013-03-08 23:26:43 +00:00
Vinay Sajip 832d99bdbb Issue #17376: Clarified documentation for TimedRotatingFileHandler weekday rotation. 2013-03-08 23:24:30 +00:00
Benjamin Peterson 5589850c14 fix warning (closes #17327) 2013-03-08 08:36:49 -05:00
Eli Bendersky 25b3464498 Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:33:05 -08:00
Eli Bendersky f0d8697e54 Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:32:45 -08:00
Eli Bendersky f81de8df0a Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:31:54 -08:00
Vinay Sajip becf5c6deb Issue #17384: Consolidated cleanup operations in tests. 2013-03-08 09:50:57 +00:00
Benjamin Peterson 00e9886bd9 Add PyDict_SetDefault. (closes #17327)
Patch by Stefan Behnel and I.
2013-03-07 22:16:29 -05: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 03e667d15a Fix memory leak introduced in 15190138d3f3. 2013-03-07 21:18:45 +02:00
Ezio Melotti d4725f3f20 Merge typo fix in Misc/NEWS entry from 3.3. 2013-03-07 19:56:15 +02:00