Commit Graph

50273 Commits

Author SHA1 Message Date
Sandro Tosi 1f3b84f971 correct signature for tzinfo.dst() in examples; thanks to Daniil Shved from docs@ 2011-11-01 10:31:26 +01:00
Ned Deily 1aacd7bb02 Issue #13304: Skip test case if user site-packages disabled (-s or
PYTHONNOUSERSITE).  (Patch by Carl Meyer)
2011-10-31 16:14:52 -07:00
Antoine Pitrou cf9943de97 Backout redundant changeset 1de4d92cd6a4 2011-10-31 20:23:00 +01:00
Senthil Kumaran 87e585581d Port to 2.7 - issue 10817 - Fix urlretrieve function to raise
ContentTooShortError even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 02:44:45 +08:00
Sandro Tosi 236c0ea614 merge heads 2011-10-31 19:23:25 +01:00
Sandro Tosi 73ce5e73a6 really use backticks in string conversion definition; thanks to Jonathan Blakes from docs@ 2011-10-31 19:19:26 +01:00
Barry Warsaw 39aec0171d test_protocol_sslv2(): Skip this test if ssl.PROTOCOL_SSLv2 is not
defined (as is the case with Ubuntu 11.10).
2011-10-31 14:08:15 -04:00
Sandro Tosi c4114ead71 use diveintopython.net now that DIP.org returns 410; thanks to Josh Gachnang from docs@ 2011-10-31 17:45:09 +01:00
Sandro Tosi c93e413e31 remove confusing paragraph (as part of r87523); thanks to AJ Hill from docs@ 2011-10-31 17:15:03 +01:00
Jesus Cea e4ae5f7e0f Closes #13283: removal of two unused variable in locale.py 2011-10-31 16:02:12 +01:00
Martin v. Löwis 42f06d225d merge closing of 2.5 branch 2011-10-31 12:40:25 +01:00
Martin v. Löwis 141e770e8f merge closing of 2.5 branch 2011-10-31 12:39:25 +01:00
Martin v. Löwis e5b9bff214 2.5 is no longer maintained 2011-10-31 12:38:50 +01:00
Sandro Tosi a9db763cc0 document turtle mainloop()/done() functions; thanks to Csaba Szepesvari from docs@ 2011-10-31 10:08:14 +01:00
Ned Deily 86d669bdb8 Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)
2011-10-30 19:58:04 -07:00
Sandro Tosi f45501d8f8 caught is the right pp of catch; thanks to Don Bennett from docs@ 2011-10-31 02:40:26 +01:00
Raymond Hettinger 187aa269c2 Improve itertools docs with clearer examples of pure python equivalent code. 2011-10-30 14:53:17 -07:00
Raymond Hettinger e11a47e207 Issue 13274: Make the pure python code for heapq more closely match the C implementation for an undefined corner case. 2011-10-30 14:29:06 -07:00
Antoine Pitrou 6361ea2b07 Remove unstable SSL tests in the absence of ssl.OP_NO_{SSLv2,SSLv3,TLSv1} 2011-10-30 21:31:34 +01:00
Petri Lehtinen 8028dc215c Add Misc/NEWS entry for issue #10519 2011-10-30 21:12:17 +02:00
Benjamin Peterson e3b5eda8be remove unused variable 2011-10-30 14:24:44 -04:00
Petri Lehtinen a39de111a5 Fix the return value of set_discard (issue #10519) 2011-10-30 14:33:09 +02:00
Petri Lehtinen 5f4d870668 Avoid unnecessary recursive function calls (closes #10519) 2011-10-30 13:55:56 +02:00
Ezio Melotti 59dba38166 Add a button to the code examples in the doc to show/hide the prompts and output. 2011-10-30 09:19:33 +02:00
Ezio Melotti ef4e2fa171 #13289: fix typo. 2011-10-29 10:40:20 +03:00
Florent Xicluna 67d5d0ed44 Closes #7334: close source files on ElementTree.parse and iterparse (partial backport of issue #10093 from 3.2). 2011-10-29 03:38:56 +02:00
Benjamin Peterson e96102b45b bring is_integer into tested existence 2011-10-28 19:42:48 -04:00
Barry Warsaw bf0cafa773 Oops, put fix news in the right section. 2011-10-28 16:16:58 -04:00
Barry Warsaw be83698f21 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 2011-10-28 16:14:44 -04:00
Ezio Melotti 87033526ad Minor fixes to the HTMLParser doc. 2011-10-28 14:20:08 +03:00
Ezio Melotti f9cc80d601 Improve HTMLParser example in the doc. 2011-10-28 14:14:34 +03:00
Ezio Melotti 24c51809cf #13278: fix typo. 2011-10-28 12:22:25 +03:00
Vinay Sajip e6fda8575e Added lost documentation cross-reference. 2011-10-27 17:51:13 +01:00
Benjamin Peterson 7789f270d8 adjust for change in assert bytecode 2011-10-27 08:53:32 -04:00
Benjamin Peterson 85c46b1635 merge heads 2011-10-27 08:22:27 -04:00
Benjamin Peterson 0c0d756098 don't let a tuple msg be interpreted as arguments to AssertionError (closes #13268) 2011-10-27 08:21:59 -04:00
Benjamin Peterson 78fc70503e add a test for an assertion with tuple msg 2011-10-27 08:20:01 -04:00
Nick Coghlan 87ba642ce6 Issue #13237: Make the subprocess convenience helper documentation self-contained aside from the shared parameter description. Downgrade the pipe warnings at that level to notes (since those pipes are hidden, people are unlikely to even try it) 2011-10-27 17:55:13 +10:00
Petri Lehtinen 6d089df1b8 Issue #10860: Skip the new test if HTTPS is not available 2011-10-26 21:25:56 +03:00
Nick Coghlan 63c54e819e Issue #13237: fix typo 2011-10-26 21:34:26 +10:00
Nick Coghlan 65ad31a8f8 Issue #13237: remove some details that only apply to the 3.x version of this module and cross reference the relocated warning about the dangers of invoking the shell with untrusted input 2011-10-26 21:15:53 +10:00
Nick Coghlan 2ed203af87 Issue #13237: further updates to subprocess documentation 2011-10-26 21:05:56 +10:00
Vinay Sajip 5087d800c1 Corrected typo in comment. 2011-10-25 11:10:54 +01:00
Ezio Melotti 59b13f4de9 Refactor a bit the codecs doc. 2011-10-25 10:46:22 +03:00
Vinay Sajip c515eba9ff Updated NEWS with fix for 13232. 2011-10-24 23:26:00 +01:00
Vinay Sajip 9a11b296b2 Closes #13232: Handle multiple encodings in exception logging. 2011-10-24 23:23:02 +01:00
Petri Lehtinen 99e93d2dde merge heads 2011-10-24 21:29:20 +03:00
Petri Lehtinen 8ffbab8d02 Issue #13018: Fix reference leaks in error paths in dictobject.c.
Patch by Suman Saha.
2011-10-24 20:59:29 +03:00
Charles-François Natali 46f990e58c Issue #10332: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.
2011-10-24 18:43:51 +02:00
Benjamin Peterson 22dabb6ffa merge heads 2011-10-24 08:51:46 -04:00