Commit graph

76817 commits

Author SHA1 Message Date
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
9abc830c6a 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:35 +02:00
doko@python.org
0c77bf757f - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:19:35 +01:00
doko@python.org
3e6e2ac31d - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:12:29 +01:00
doko@python.org
4e63fbe04d - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:08:27 +01:00
Serhiy Storchaka
d269b5e73d Clean trailing whitespace in itertoolsmodule.c. 2013-01-25 13:38:56 +02:00
Serhiy Storchaka
e7e9c32195 Clean trailing whitespace in itertoolsmodule.c. 2013-01-25 13:37:39 +02:00
Serhiy Storchaka
b09ec9b618 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:31:05 +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
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
a3030546d8 Null merge 2013-01-25 10:09:25 +02:00
Serhiy Storchaka
7ee79a2823 Don't run the test for issue #16335 when -M is not specified.
Increase memory limit in this test.
2013-01-25 10:03:12 +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
f4fbf24aad Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument 2013-01-24 07:28:33 -08:00
Eli Bendersky
48c50bf4c8 Clarify ET.iterparse documentation - this function is not supported by the
C implementation.
2013-01-24 07:23:34 -08:00
Eli Bendersky
48df2eb965 merge heads 2013-01-24 07:17:05 -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
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
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
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
Vinay Sajip
9427b03133 Merged doc update from 3.2. 2013-01-23 09:32:10 +00:00
Vinay Sajip
3d9e972270 Corrected typo, added comment in cookbook recipe. 2013-01-23 09:31:19 +00:00
Vinay Sajip
eb01949709 Corrected typo, added comment in cookbook recipe. 2013-01-23 09:30:34 +00: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
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
Ezio Melotti
f5da3ec5ee #11379: rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo. 2013-01-22 22:47:57 +02:00
Vinay Sajip
a3bdce8c91 Merged doc update from 3.2. 2013-01-22 15:58:14 +00:00
Vinay Sajip
4b88d6c664 Added cookbook recipe for structured logging. 2013-01-22 15:57:39 +00:00
Vinay Sajip
a0c9a4ed75 Added cookbook recipe for structured logging. 2013-01-22 15:57:12 +00:00
Serhiy Storchaka
353e54edc4 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:13:26 +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
a80f761a6d Add some tests for XPath numeric indexing 2013-01-22 06:12:54 -08:00
Serhiy Storchaka
076b97ea27 Null merge 2013-01-22 15:56:29 +02: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
Vinay Sajip
7f3e993a3a Merged documentation update from 3.2. 2013-01-22 13:13:16 +00:00
Vinay Sajip
f186911e24 Updated logging HOWTO with a diagram. 2013-01-22 13:12:34 +00:00
Vinay Sajip
0f2bd027a8 Updated logging HOWTO with a diagram. 2013-01-22 13:10:58 +00:00
Serhiy Storchaka
80c88f4304 Fix shutil.which() test for issue #16993. 2013-01-22 10:31:36 +02:00
Vinay Sajip
9fff3865da Issue #17007: Merged minor changes from 3.2. 2013-01-21 21:58:05 +00:00
Vinay Sajip
52b3d34d1c Issue #17007: Made minor changes to documentation wording. 2013-01-21 21:57:10 +00:00
Vinay Sajip
8a459d977d Issue #17007: Made minor changes to documentation wording. 2013-01-21 21:56:35 +00:00
Vinay Sajip
f29839e8e8 Issue #17007: Merged doc update from 3.2. 2013-01-21 19:45:27 +00:00
Vinay Sajip
6c4c16cdb8 Issue #17007: Improved logging documentation based on suggestions in the issue. 2013-01-21 19:44:28 +00:00
Vinay Sajip
cb309c5fae Issue #17007: Improved logging documentation based on suggestions in the issue. 2013-01-21 19:43:51 +00:00