Commit Graph

50212 Commits

Author SHA1 Message Date
Antoine Pitrou 30402549de Issue #13333: The UTF-7 decoder now accepts lone surrogates
(the encoder already accepts them).
2011-11-15 01:49:40 +01:00
Victor Stinner 16ed86831b Issue #7732: Try to fix the a failing test on Windows
It doesn't matter if imp.find_module() fails with ImportError or IOError, but
it should not crash.
2011-11-14 20:50:36 +01:00
Ezio Melotti 0f1571ce7f #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. 2011-11-14 18:04:05 +02:00
Ezio Melotti 74592919d6 Group tests about attributes in a separate class. 2011-11-08 02:07:18 +02:00
Eli Bendersky eb7113888e Normalize the keyword arguments documentation notation in re.rst. Closes issue #12875 2011-11-14 01:02:20 +02:00
Petri Lehtinen c20224da22 Merge heads 2011-11-12 21:24:46 +02:00
Petri Lehtinen ab42abd160 Update mailbox.Maildir tests
Remove a sleep to fix transient test failures. Use skewfactor of -3 to
make it work on systems that have 1 second precision for time.time().

Closes #11999
Refs #13254
2011-11-12 21:02:42 +02:00
Eli Bendersky 3a8501e71f Closes issue 12767: document the argument of threading.Condition.notify 2011-11-12 20:51:54 +02:00
Antoine Pitrou 667383c8d4 Issue #13193: Fix distutils.filelist.FileList under Windows. The
"recursive-include" directive now recognizes both legal path separators.
2011-11-12 01:33:59 +01:00
Eli Bendersky a203cedf44 Issue #12875: explicitly specify default value of the optional 'flags' argument to re.* functions. Closes #12875 2011-11-11 21:25:56 +02:00
Eli Bendersky d784185303 Issue #13161: fix doc strings of __i*__ operators 2011-11-11 16:52:16 +02:00
Eli Bendersky bba1dd5332 Issue #13191: typo in argparse docs 2011-11-11 16:42:11 +02:00
Antoine Pitrou 6a570d6b9a Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
when called with a timeout.  Patch by Arnaud Ysmal.
2011-11-10 00:33:50 +01:00
Jesus Cea cb65f3249a Partial patch for issue #11812: Take care of test_telnetlib.py 2011-11-08 16:06:44 +01:00
Jesus Cea 71094b5d5b Solved a potential deadlock in test_telnetlib.py. Related to issue #11812 2011-11-08 15:54:42 +01:00
Vinay Sajip 53703d9d72 Closes #13361: Raise correct exception type. 2011-11-07 10:13:18 +00:00
Vinay Sajip 74ab3440ba Closes #13661: Check added for type of logger name. 2011-11-07 08:49:16 +00:00
Vinay Sajip caf0272d40 Closes #13356. Thanks to Florent Xicluna for the patch. 2011-11-07 08:43:51 +00:00
Vinay Sajip 5df091a91e Closes issue #13353: version doumentation about utc parameter corrected. 2011-11-06 22:37:17 +00:00
Petri Lehtinen 3b9d92aefe Revert "Accept None as start and stop parameters for list.index() and tuple.index()"
Issue #13340.
2011-11-06 20:59:01 +02:00
Ezio Melotti 030aa35a1b Silence a couple of warnings. 2011-11-06 18:50:32 +02:00
Ezio Melotti b22c3fe5d8 Fix another callable warning. 2011-11-06 17:50:52 +02:00
Ezio Melotti 152d61aa5b Fix tests now that the callable warning is gone. 2011-11-06 17:17:52 +02:00
Benjamin Peterson a5ae1f0c25 remove py3k warning for callable 2011-11-06 08:20:12 -05:00
Petri Lehtinen 819d8d447d Accept None as start and stop parameters for list.index() and tuple.index()
Closes #13340.
2011-11-05 23:18:06 +02:00
Éric Araujo 972ba9e41f Add missing versionadded (fixes #12392) 2011-11-05 17:55:03 +01:00
Petri Lehtinen 416ecffcc4 Issue #3067: Enhance the documentation and docstring of locale.setlocale() 2011-11-05 10:18:50 +02:00
Petri Lehtinen 49aa72ed4c Fix Maildir initialization so that maildir contents are read correctly.
Closes #13254.
2011-11-05 09:50:37 +02:00
Raymond Hettinger 5d19b9a1e8 Fix typos 2011-11-04 14:05:52 -07:00
Petri Lehtinen 2e2cc6f2f3 Add .gitignore 2011-11-04 22:39:24 +02:00
Raymond Hettinger 23ca12a981 Inline the advisory text on how to use the shelve module. 2011-11-04 13:07:52 -07:00
Éric Araujo ce7554f0a1 Revert commit that was not a bugfix (#5301).
I won’t revert in 3.2, since Georg pulled this change in 3.2.2 and
released it.
2011-11-04 18:15:45 +01:00
Florent Xicluna 5f761d79c0 Issue #13140: Fix the daemon_threads attribute of ThreadingMixIn. 2011-11-04 10:15:57 +01:00
Charles-François Natali 09f871462f Issue #13308: Fix test_httpservers failures when run as root. 2011-11-02 19:32:54 +01:00
Senthil Kumaran 0fc13ae345 Fix Issue13147 - Correct the Multiprocessing Pool.map_async method signature.
Remove the error_callback which is not present in 2.7. Patch by Jyrki
Pulliainen.
2011-11-03 02:02:38 +08:00
Florent Xicluna b82cbc33f5 Fix merge in changeset e1dde980a92c. 2011-11-01 23:54:16 +01:00
Florent Xicluna c4a11bd1d5 Missing NEWS entry in changeset e1dde980a92c 2011-11-01 23:47:46 +01:00
Florent Xicluna 0965ee213e Issue #2892: preserve iterparse events in case of SyntaxError 2011-11-01 23:34:41 +01:00
Ezio Melotti 7e82b276dd #670664: Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``. 2011-11-01 14:09:56 +02:00
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