Commit graph

30816 commits

Author SHA1 Message Date
doko@python.org
90c8d06d68 - Issue #17031: Fix running regen in cross builds. 2013-01-25 18:45:41 +01:00
doko@python.org
a10e4a9afb - Issue #17031: Fix running regen in cross builds. 2013-01-25 18:45:12 +01:00
Serhiy Storchaka
4a98a71513 Merge heads 2013-01-25 16:09:03 +02:00
Serhiy Storchaka
d5187c2b0c Merge heads 2013-01-25 16:08:46 +02:00
doko@python.org
981eec3ad4 - Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:35:44 +01:00
Serhiy Storchaka
4c9bae3d31 Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:35:28 +02:00
Serhiy Storchaka
b1b3c0dfef Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:34:21 +02:00
doko@python.org
9731330d6f - Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:33:33 +01:00
Serhiy Storchaka
39e70a4e83 Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:30:58 +02:00
Serhiy Storchaka
c5dadcf2fd Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
2013-01-25 13:26:55 +02:00
Serhiy Storchaka
339e91d4cb Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
2013-01-25 13:24:47 +02:00
Serhiy Storchaka
a3e9128aba Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
2013-01-25 13:19:31 +02:00
Serhiy Storchaka
a8e6af6ac3 Increase the memory limit in the test for issue #16335. 2013-01-25 10:13:57 +02:00
Serhiy Storchaka
5070c27a8f Increase the memory limit in the test for issue #16335. 2013-01-25 10:13:37 +02:00
Serhiy Storchaka
2f2dd992a3 Increase the memory limit in the test for issue #16335. 2013-01-25 10:12:30 +02:00
Serhiy Storchaka
dec4de235f Fix pathext test for shutil.which() which was
broken after applying the patch for issue #16957.
2013-01-24 20:04:37 +02:00
Serhiy Storchaka
d70127ac54 Fix pathext test for shutil.which() which was
broken after applying the patch for issue #16957.
2013-01-24 20:03:49 +02:00
Eli Bendersky
fa88b5d656 merge heads 2013-01-24 07:17:17 -08:00
Eli Bendersky
48df2eb965 merge heads 2013-01-24 07:17:05 -08:00
Eli Bendersky
c4d5e08e3f Issue #9708: Fix support for iterparse(parser=...) argument per documentation.
When _elementtree is imported, iterparse is redefined as a class and the parser
argument was ommitted. Fix this, and add a docstring to the class.
2013-01-24 07:15:46 -08:00
Eli Bendersky
aaa9780fe1 Issue #9708: Fix support for iterparse(parser=...) argument per documentation.
When _elementtree is imported, iterparse is redefined as a class and the parser
argument was ommitted. Fix this, and add a docstring to the class.
2013-01-24 07:15:19 -08:00
Eli Bendersky
5c6198b3fd Issue #12323: Strengthen error checking of the position XPath selectors 2013-01-24 06:29:26 -08:00
Stefan Krah
eb8c451bd2 Since the return type of format() is not a Decimal, raise ValueError instead of
InvalidOperation if the format specification (width, prec) exceeds the internal
limits of libmpdec.
2013-01-24 15:22:33 +01:00
Serhiy Storchaka
7ff241d830 Fix generating of sre_constants.h on Python 3. 2013-01-24 13:44:18 +02:00
Serhiy Storchaka
33f7cdd975 Fix generating of sre_constants.h on Python 3. 2013-01-24 13:43:46 +02:00
Serhiy Storchaka
385ecd84c8 Fix generating of sre_constants.h on Python 3. 2013-01-24 13:43:02 +02:00
Senthil Kumaran
42d8773df4 merge from 3.3
Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.
2013-01-23 03:01:23 -08:00
Senthil Kumaran
c1a7c565aa merge from 3.2
Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.
2013-01-23 03:00:26 -08:00
Senthil Kumaran
6b102f251f Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.
2013-01-23 02:50:15 -08:00
Serhiy Storchaka
e9a63600b3 Issue #16957: shutil.which() no longer searches a bare file name in the
current directory on Unix and no longer searches a relative file path with
a directory part in PATH directories.  Patch by Thomas Kluyver.
2013-01-23 10:45:33 +02:00
Serhiy Storchaka
8bea200b98 Issue #16957: shutil.which() no longer searches a bare file name in the
current directory on Unix and no longer searches a relative file path with
a directory part in PATH directories.  Patch by Thomas Kluyver.
2013-01-23 10:44:21 +02:00
Ezio Melotti
605a95ae44 #11379: merge with 3.3. 2013-01-22 22:50:06 +02:00
Ezio Melotti
564e4d8dc9 #11379: merge with 3.2. 2013-01-22 22:49:46 +02:00
Ezio Melotti
da4b5b82a3 #11379: rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo. 2013-01-22 22:47:57 +02:00
Serhiy Storchaka
cc0172c007 Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer.
Added tests for reading truncated gzip, bzip2, and lzma files.
2013-01-22 17:11:07 +02:00
Serhiy Storchaka
57f9b7a124 Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer.
Added tests for reading truncated gzip, bzip2, and lzma files.
2013-01-22 17:07:49 +02:00
Serhiy Storchaka
7c3922f44c Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer.
Added tests for reading truncated gzip and bzip2 files.
2013-01-22 17:01:59 +02:00
Eli Bendersky
791c97a6a8 Add some tests for XPath numeric indexing 2013-01-22 06:15:29 -08:00
Eli Bendersky
a80f761a6d Add some tests for XPath numeric indexing 2013-01-22 06:12:54 -08:00
Serhiy Storchaka
fc6e8aabf5 #15546: Fix GzipFile.peek()'s handling of pathological input data.
This is a backport of changeset 8c07ff7f882f.
2013-01-22 15:54:48 +02:00
Serhiy Storchaka
2ba095c6c5 Fix shutil.which() test for issue #16993. 2013-01-22 10:32:16 +02:00
Serhiy Storchaka
80c88f4304 Fix shutil.which() test for issue #16993. 2013-01-22 10:31:36 +02:00
Serhiy Storchaka
68ce009877 Use bigmemtest decorator for test of issue #16335. 2013-01-21 20:28:02 +02:00
Serhiy Storchaka
529230142f Use bigmemtest decorator for test of issue #16335. 2013-01-21 20:27:17 +02:00
Serhiy Storchaka
e45dac4ea9 Add bigmemtest decorator to test of issue #16335. 2013-01-21 20:23:58 +02:00
Serhiy Storchaka
5b987c2e68 Issue #16993: shutil.which() now preserves the case of the path and extension
on Windows.
2013-01-21 15:01:34 +02:00
Serhiy Storchaka
014791f848 Issue #16993: shutil.which() now preserves the case of the path and extension
on Windows.
2013-01-21 15:00:27 +02:00
Serhiy Storchaka
5a95977c71 Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.
2013-01-21 13:00:50 +02:00
Serhiy Storchaka
85da624ebe Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.
2013-01-21 13:00:11 +02:00
Serhiy Storchaka
3b40b71217 Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.
2013-01-21 12:59:13 +02:00