Commit graph

51952 commits

Author SHA1 Message Date
Florent Xicluna
f24e7e6c41 Merge 3.2: issue #2892 2011-11-01 23:33:14 +01:00
Florent Xicluna
91d5193b3a Closes #2892: preserve iterparse events in case of SyntaxError. 2011-11-01 23:31:09 +01:00
Ezio Melotti
f588dd60cc Merge test improvements from 3.2. 2011-11-01 18:58:19 +02:00
Ezio Melotti
c1e73c30e9 Make sure that the tolerant parser still parses valid HTML correctly. 2011-11-01 18:57:15 +02:00
Florent Xicluna
725af4dc1d Lowercase the test name, to run last. 2011-11-01 17:42:24 +01:00
Florent Xicluna
050c7e64cd Replace temporary tests with the real test case for issue #13309 on Gentoo. 2011-11-01 16:58:54 +01:00
Senthil Kumaran
4c875a986f 'HTTPSHandler' and not the type. 2011-11-01 23:57:57 +08:00
Senthil Kumaran
0d54eb9bdc Append HTTPSHandler to __all__ when it is available. 2011-11-01 23:49:46 +08:00
Senthil Kumaran
6c5bd40a3e issue13287 - Define __all__ for urllib.request and urllib.error and expose only
the relevant module. Other cleanup improvements. Patch by flox.
2011-11-01 23:20:31 +08:00
Florent Xicluna
712b14fc2a Troubleshoot issue #13309 on Gentoo buildbot. 2011-11-01 16:07:23 +01:00
Florent Xicluna
752c1d4c02 Add temporary tests to troubleshoot issue #13309 on Gentoo buildbot. 2011-11-01 15:12:34 +01:00
Florent Xicluna
bceb528af5 Test the year range supported by time.strftime() and time.asctime(). 2011-11-01 14:11:34 +01:00
Ezio Melotti
629a2c336e Merge test fixes from 3.2. 2011-11-01 15:02:16 +02:00
Ezio Melotti
b9a48f7144 Avoid reusing the same collector in the tests. 2011-11-01 15:00:59 +02:00
Ezio Melotti
829c3dac3b #12008: merge with 3.2. 2011-11-01 14:43:51 +02:00
Ezio Melotti
18b0e5b79b #12008: add a test. 2011-11-01 14:42:54 +02:00
Ezio Melotti
7de56f6a04 #670664: Fix HTMLParser to correctly handle the content of `<script>...</script> and <style>...</style>`. 2011-11-01 14:12:22 +02:00
Sandro Tosi
4bfe03a42e correct signature for tzinfo.dst() in examples; thanks to Daniil Shved from docs@ 2011-11-01 10:32:05 +01:00
Ned Deily
316f573d9c Issue #13304: Skip test case if user site-packages disabled (-s or
PYTHONNOUSERSITE).  (Patch by Carl Meyer)
2011-10-31 16:16:35 -07:00
Senthil Kumaran
ce260142c6 Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 01:35:17 +08:00
Sandro Tosi
53bcd66012 use diveintopython.net now that DIP.org returns 410; thanks to Josh Gachnang from docs@ 2011-10-31 17:46:04 +01:00
Sandro Tosi
69e59a17dd remove confusing paragraph (as part of r87523); thanks to AJ Hill from docs@ 2011-10-31 17:15:39 +01:00
Jesus Cea
5032292f9e Closes #13283: removal of two unused variable in locale.py 2011-10-31 16:03:34 +01:00
Sandro Tosi
e348455f5f document turtle done() function; thanks to Csaba Szepesvari from docs@ 2011-10-31 10:12:43 +01:00
Ned Deily
7aff451728 Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)
2011-10-30 20:01:35 -07:00
Sandro Tosi
567493fe26 caught is the right pp of catch; thanks to Don Bennett from docs@ 2011-10-31 02:41:06 +01:00
Raymond Hettinger
6f45d18c24 Improve itertools docs with clearer examples of pure python equivalent code. 2011-10-30 15:06:14 -07:00
Raymond Hettinger
e584457e24 Issue 13274: Make the pure python code for heapq more closely match the C implementation for an undefined corner case. 2011-10-30 14:32:54 -07:00
Florent Xicluna
9783b44bcf Merge heads 2011-10-30 20:26:28 +01:00
Florent Xicluna
93dfee1dfc Issue #13293: Better error message when trying to marshal bytes using xmlrpc.client. 2011-10-30 20:22:25 +01:00
Florent Xicluna
c4fec937dc Cleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling. 2011-10-30 20:19:32 +01:00
Florent Xicluna
3fa29f7cd7 Closes #13291: NameError in xmlrpc package. 2011-10-30 20:18:50 +01:00
Petri Lehtinen
cd06a14df7 Add Misc/NEWS entry for issue #10519 2011-10-30 21:11:09 +02:00
Benjamin Peterson
2b50a01d11 remove unused variable 2011-10-30 14:24:44 -04:00
Antoine Pitrou
8db076cf8a Issue #10363: Deallocate global locks in Py_Finalize(). 2011-10-30 19:13:55 +01:00
Petri Lehtinen
e0aa803714 Fix the return value of set_discard (issue #10519) 2011-10-30 14:35:12 +02:00
Petri Lehtinen
5acc27ebe4 Avoid unnecessary recursive function calls (closes #10519) 2011-10-30 13:56:41 +02:00
Ezio Melotti
f54f6f520d Add a button to the code examples in the doc to show/hide the prompts and output. 2011-10-30 09:20:19 +02:00
Ezio Melotti
f78869e47e #13289: fix typo. 2011-10-29 10:41:51 +03:00
Benjamin Peterson
b3b8ba6121 bring is_integer into tested existence 2011-10-28 19:42:48 -04:00
Barry Warsaw
5a8f03f663 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 2011-10-28 17:02:27 -04:00
Barry Warsaw
46ae0efce1 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 2011-10-28 16:52:17 -04:00
Florent Xicluna
305bb662a9 Documentation typo 2011-10-28 22:14:41 +02:00
Florent Xicluna
83386dac8b I should be someone 2011-10-28 22:03:55 +02:00
Florent Xicluna
4d46c2a722 Remove unused variable. 2011-10-28 15:00:50 +02:00
Florent Xicluna
5d1155c08e Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
Ezio Melotti
f99e4b5dbe Improve HTMLParser example in the doc and fix a couple minor things. 2011-10-28 14:34:56 +03:00
Ezio Melotti
f50ffa94ab #13273: fix a bug that prevented HTMLParser to properly detect some tags when strict=False. 2011-10-28 13:21:09 +03:00
Ezio Melotti
0b85cd0680 Merge heads. 2011-10-28 12:32:53 +03:00
Ezio Melotti
d3cf0db3ee #13278: fix typo. 2011-10-28 12:22:25 +03:00