Commit graph

51933 commits

Author SHA1 Message Date
Florent Xicluna
49ce06858b Strengthen the tests for format '%Y', in relation with issue #13305. 2011-11-01 12:56:14 +01:00
Sandro Tosi
b6dbc9ee15 merge with 3.2 2011-11-01 10:32:22 +01: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
d61f9d1715 Issue #13304: Skip test case if user site-packages disabled (-s or
PYTHONNOUSERSITE).  (Patch by Carl Meyer)
2011-10-31 16:22:53 -07: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
Florent Xicluna
2738a64621 Fix regression due to changeset 2096158376e5 (issue #13305). 2011-11-01 00:06:58 +01:00
Charles-François Natali
e695eec24a Issue #13303: Fix a race condition in the bytecode file creation. 2011-10-31 20:47:31 +01:00
Ross Lagerwall
59142db6d3 Issue #12797: Added custom opener parameter to builtin open() and FileIO.open(). 2011-10-31 20:34:46 +02:00
Senthil Kumaran
ab06e3f285 merge from 3.2 - Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 01:39:49 +08: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
6a57afee04 merge with 3.2 2011-10-31 17:46:25 +01: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
d856bc0582 merge with 3.2 2011-10-31 17:16:03 +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
1dca75f611 MERGE: Closes #13283: removal of two unused variable in locale.py 2011-10-31 16:04:12 +01:00
Jesus Cea
5032292f9e Closes #13283: removal of two unused variable in locale.py 2011-10-31 16:03:34 +01:00
Victor Stinner
f4afa43fd4 Issue #13226: Update sys.setdlopenflags() docstring
Refer to os.RTLD_xxx constants instead of ctypes and DLFCN modules.
2011-10-31 11:48:09 +01:00
Charles-François Natali
39648d11ab test_asyncore: Enable tests of Unix domain sockets with poll(). 2011-10-31 12:08:09 +01:00
Sandro Tosi
8f7bded7e0 merge with 3.2 2011-10-31 10:13:30 +01:00
Sandro Tosi
e348455f5f document turtle done() function; thanks to Csaba Szepesvari from docs@ 2011-10-31 10:12:43 +01:00
Martin v. Löwis
5156f2ca9a Drop unused variable. 2011-10-31 09:05:10 +01:00
Martin v. Löwis
cfa6129276 Fix typo. 2011-10-31 09:01:22 +01:00
Martin v. Löwis
0d3072e98d Drop Py_UCS4_ functions. Closes #13246. 2011-10-31 08:40:56 +01:00
Martin v. Löwis
a72e78b3b1 Replace Py_UCS4_ API with Unicode API. 2011-10-31 08:33:37 +01:00
Ned Deily
d1029c4853 Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)
2011-10-30 20:05:30 -07: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
9bf59aa103 merge with 3.2 2011-10-31 02:42:06 +01: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
Florent Xicluna
b6f019a080 Let's assume that the datetime module is always available. 2011-10-30 23:54:17 +01:00
Martin v. Löwis
f45dee998f Port import_module_level to Unicode API. 2011-10-30 23:50:02 +01:00
Raymond Hettinger
5d12faa5b8 Merge 2011-10-30 15:07:01 -07: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
385c803658 Merge 2011-10-30 14:33:31 -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
75861df9ab Fix User-Agent for the xmlrpc.client, and catch KeyboardInterrupt for the standalone xmlrpc.server. 2011-10-30 20:39:24 +01:00
Florent Xicluna
9783b44bcf Merge heads 2011-10-30 20:26:28 +01:00
Florent Xicluna
2b6403e5d1 Merge heads 2011-10-30 20:25:29 +01:00
Florent Xicluna
f70fd7092d Merge 3.2 2011-10-30 20:24:40 +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
a7a32353bf Add Misc/NEWS entry for issue #10519 2011-10-30 21:18:25 +02:00
Petri Lehtinen
cd06a14df7 Add Misc/NEWS entry for issue #10519 2011-10-30 21:11:09 +02:00
Benjamin Peterson
1cebc207ea merge 3.2 2011-10-30 14:24:59 -04:00
Benjamin Peterson
2b50a01d11 remove unused variable 2011-10-30 14:24:44 -04:00
Antoine Pitrou
6fbbc33440 Issue #10363: Deallocate global locks in Py_Finalize(). 2011-10-30 19:14:46 +01:00
Antoine Pitrou
8db076cf8a Issue #10363: Deallocate global locks in Py_Finalize(). 2011-10-30 19:13:55 +01:00
Petri Lehtinen
c34f5c256a Fix the return value of set_discard (issue #10519) 2011-10-30 14:35:39 +02:00
Petri Lehtinen
e0aa803714 Fix the return value of set_discard (issue #10519) 2011-10-30 14:35:12 +02:00
Petri Lehtinen
7c5e34d8a3 Avoid unnecessary recursive function calls (#closes #10519) 2011-10-30 13:57:45 +02:00