Florent Xicluna
91d5193b3a
Closes #2892 : preserve iterparse events in case of SyntaxError.
2011-11-01 23:31:09 +01:00
Ezio Melotti
c1e73c30e9
Make sure that the tolerant parser still parses valid HTML correctly.
2011-11-01 18:57:15 +02:00
Ezio Melotti
b9a48f7144
Avoid reusing the same collector in the tests.
2011-11-01 15:00:59 +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
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
Jesus Cea
5032292f9e
Closes #13283 : removal of two unused variable in locale.py
2011-10-31 16:03:34 +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
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
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
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
46ae0efce1
- Issue #13218 : Fix test_ssl failures on Debian/Ubuntu.
2011-10-28 16:52:17 -04:00
Florent Xicluna
5d1155c08e
Closes #13258 : Use callable() built-in in the standard library.
2011-10-28 14:45:05 +02: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
Petri Lehtinen
e119c403a1
Issue #10860 : Skip the new test if HTTPS is not available
2011-10-26 21:29:15 +03:00
Charles-François Natali
f8859e1808
Issue #10332 : multiprocessing: fix a race condition when a Pool is closed
...
before all tasks have completed.
2011-10-24 18:45:29 +02:00
Nick Coghlan
de31b191e5
Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban.
2011-10-23 22:04:16 +10:00
Florent Xicluna
711f87ca7d
Issue #9168 : now smtpd is able to bind privileged port.
2011-10-20 23:03:43 +02:00
Senthil Kumaran
34d38dce11
urllib.request - syntax changes enhancing readability. By Éric Araujo
2011-10-20 02:48:01 +08:00
Senthil Kumaran
29fa9d4d68
3.2 - 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:46:00 +08:00
Senthil Kumaran
1ef0c0349e
3.2 - Fix closes Issue12529 - cgi.parse_header failure on double quotes and
...
semicolons. Patch by Ben Darnell and Petri Lehtinen.
2011-10-20 01:05:44 +08:00
Ezio Melotti
e130a52d8a
Remove duplication.
2011-10-19 10:58:56 +03:00
Łukasz Langa
a5a9a9c369
Fixes #10860 : Handle empty port after port delimiter in httplib
2011-10-18 21:17:39 +02:00
Antoine Pitrou
551ba20e8e
Issue #13188 : When called without an explicit traceback argument,
...
generator.throw() now gets the traceback from the passed exception's
`__traceback__` attribute. Patch by Petri Lehtinen.
2011-10-18 16:40:50 +02:00
Ezio Melotti
6bfecd1271
#12448 : smtplib now flushes stdout while running ``python -m smtplib``
...
in order to display the prompt correctly. Patch by Petri Lehtinen.
2011-10-18 13:20:07 +03:00
Mark Hammond
53e4a9a763
normalize whitespace in Lib/distutils/msvc9compiler.py
2011-10-17 11:35:31 +11:00
Mark Hammond
6c58b28f2f
Issue #7833 : Ext. modules built using distutils on Windows no longer get a manifest
2011-10-17 11:05:57 +11:00
Raymond Hettinger
4b779b3785
Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache.
2011-10-15 23:50:42 -07:00
Éric Araujo
181ae4baa1
Branch merge
2011-10-14 16:50:09 +02:00
Lars Gustäbel
ac3d137a30
Issue #13158 : Fix decoding and encoding of base-256 number fields in tarfile.
...
The nti() function that converts a number field from a tar header to a number
failed to decode GNU tar specific base-256 fields. I also added support for
decoding and encoding negative base-256 number fields.
2011-10-14 12:46:40 +02:00
Victor Stinner
82ac9bcdb3
Issue #13025 : mimetypes is now reading MIME types using the UTF-8 encoding,
...
instead of the locale encoding.
2011-10-14 03:03:35 +02:00
Éric Araujo
2336c8553c
Increase test coverage for distutils.filelist ( #11751 ).
...
Patch by Justin Love.
2011-10-11 02:45:51 +02:00
Éric Araujo
a5bc34fa00
Branch merge
2011-10-09 07:32:35 +02:00
Éric Araujo
5819dcc0d2
Add tests for Unicode handling in distutils’ check and register ( #13114 )
2011-10-09 07:25:33 +02:00
Antoine Pitrou
c0bbe7d38a
test_unicode was forgetting to run the common string tests for str.find()
2011-10-08 22:41:35 +02:00
Éric Araujo
04ea9533c1
Fix docstring of distutils.util.byte_compile (followup for #11254 )
2011-10-08 03:02:37 +02:00
Éric Araujo
fea2d04bb9
Fix distutils.sysconfig.get_makefile_filename when prefix != exec-prefix
2011-10-08 01:56:52 +02:00
Éric Araujo
de504550af
Fix test_sysconfig when prefix != exec-prefix ( #9100 ).
...
I tested this manually; it would be great to have buildbots using
installed Pythons, including Pythons configured with different prefix
and exec-prefix.
Reported by Zsolt Cserna.
2011-10-08 01:55:07 +02:00
Éric Araujo
47a4521ece
Fix distutils byte-compilation to comply with PEP 3147 ( #11254 ).
...
Patch by Jeff Ramnani. Tested with -B, -O and -OO.
2011-10-08 00:34:13 +02:00
Éric Araujo
db95c7a60c
Make C code in one distutils test comply with ISO C ( #10359 ).
...
Patch by Hallvard B Furuseth.
2011-10-07 23:13:45 +02:00
Barry Warsaw
de8c723ddd
Merged
2011-10-07 15:16:20 -04:00
Ned Deily
7010a07bd0
Issue #7367 : Ensure test directory always gets removed.
2011-10-07 12:01:40 -07:00
Barry Warsaw
78f89d8c38
- Issue #11250 : Back port fix from 3.3 branch, so that 2to3 can handle files
...
with line feeds. This was ported from the sandbox to the 3.3 branch, but
didn't make it into 3.2.
- Re-enable lib2to3's test_parser.py tests, though with an expected failure
(see issue 13125).
2011-10-07 14:44:49 -04:00
Ned Deily
ed27df7aaa
Issue #7367 : Fix pkgutil.walk_paths to skip directories whose
...
contents cannot be read.
2011-10-06 14:19:08 -07:00
Ned Deily
caf5a22c5f
Issue #7367 : Add test case to test_pkgutil for walking path with
...
an unreadable directory.
2011-10-06 14:19:06 -07:00
Ned Deily
92a81a1eec
Issue #7425 : Refactor test_pydoc test case for '-k' behavior and add
...
new test cases for importing bad packages and unreadable packages dirs.
2011-10-06 14:19:03 -07:00