Commit graph

18140 commits

Author SHA1 Message Date
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
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
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
É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
Florent Xicluna
b82cbc33f5 Fix merge in changeset e1dde980a92c. 2011-11-01 23:54:16 +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
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
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
Jesus Cea
e4ae5f7e0f Closes #13283: removal of two unused variable in locale.py 2011-10-31 16:02:12 +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
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
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
be83698f21 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 2011-10-28 16:14:44 -04:00
Benjamin Peterson
7789f270d8 adjust for change in assert bytecode 2011-10-27 08:53:32 -04:00
Benjamin Peterson
78fc70503e add a test for an assertion with tuple msg 2011-10-27 08:20:01 -04:00
Petri Lehtinen
6d089df1b8 Issue #10860: Skip the new test if HTTPS is not available 2011-10-26 21:25:56 +03:00
Vinay Sajip
5087d800c1 Corrected typo in comment. 2011-10-25 11:10:54 +01:00
Vinay Sajip
9a11b296b2 Closes #13232: Handle multiple encodings in exception logging. 2011-10-24 23:23:02 +01: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
Antoine Pitrou
5a77fe92bd Issue #1548891: The cStringIO.StringIO() constructor now encodes unicode
arguments with the system default encoding just like the write() method
does, instead of converting it to a raw buffer.
2011-10-22 21:26:01 +02:00
Antoine Pitrou
f678e82240 Oops, forgot issue number 2011-10-21 22:22:43 +02:00
Antoine Pitrou
a5016cd0f7 Add test for fix of issue #1730114. 2011-10-21 22:22:04 +02:00
Florent Xicluna
47fb192dda Issue #9168: now smtpd is able to bind privileged port. 2011-10-20 23:21:58 +02:00
Senthil Kumaran
ddd40312d5 Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by  Petri Lehtinen.
2011-10-20 01:38:35 +08:00
Senthil Kumaran
59a06d412d Fix closes Issue12529 - cgi.parse_header failure on double quotes and
semicolons. Patch by Ben Darnell and Petri Lehtinen.
2011-10-20 00:52:24 +08:00
Ezio Melotti
1e87da16ea Remove duplication. 2011-10-19 10:39:35 +03:00
Łukasz Langa
7a15390f83 Fixes #10860: Handle empty port after port delimiter in httplib
Thanks, Shawn Ligocki!

3.x version will come as a separate patch.
2011-10-18 17:16:00 +02:00
Mark Hammond
3dca9f52a4 normalize whitespace in Lib/distutils/msvc9compiler.py 2011-10-17 11:35:06 +11:00
Mark Hammond
323b5daa10 Issue #7833: Ext. modules built using distutils on Windows no longer get a manifest 2011-10-17 11:05:36 +11:00
Benjamin Peterson
a7b0976c3e PyEval_CallObject requires a tuple of args (closes #13186) 2011-10-15 13:43:21 -04:00
Éric Araujo
5baef6d23b Increase test coverage for distutils.filelist (#11751).
Patch by Justin Love.
2011-10-14 18:15:31 +02:00
Éric Araujo
017e535bde Fix distutils’ check and register Unicode handling (#13114).
The check command was fixed by Kirill Kuzminykh.

The register command was using StringIO.getvalue, which uses “''.join”
and thus coerces to str using the default encoding (ASCII), so I changed
the code to use one extra intermediary list and correctly encode to
UTF-8.
2011-10-09 07:11:19 +02:00
Éric Araujo
ece7079b54 Branch merge 2011-10-09 06:33:54 +02:00
Éric Araujo
1a1a8a0e31 Fix test_sysconfig when prefix != exec-prefix (#9100).
Reported by Zsolt Cserna.
2011-10-08 02:49:12 +02:00
Éric Araujo
5fb16cd1d2 Make C code in one distutils test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
2011-10-08 02:15:55 +02:00
Ned Deily
c4a2745174 Issue #7367: Ensure test directory always gets removed. 2011-10-07 12:01:18 -07:00
Ned Deily
777f2e04ea Issue #7367: Fix pkgutil.walk_paths to skip directories whose
contents cannot be read.
2011-10-06 14:17:47 -07:00
Ned Deily
0096fb5780 Issue #7425: Prevent pydoc -k failures due to module import errors.
(Backport to 2.7 of existing 3.x fix)
2011-10-06 14:17:44 -07:00