Commit Graph

76952 Commits

Author SHA1 Message Date
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 0d55ddd3e5 null merge 2013-01-24 07:17:29 -08: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
Stefan Krah 47c2975059 Merge. 2013-01-24 15:39:55 +01:00
Stefan Krah 82c6029832 Merge 3.3. 2013-01-24 15:37:37 +01: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
Benjamin Peterson 51f4616f6e revert #16672 for incorrect semantics 2013-01-23 08:38:47 -05: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
Vinay Sajip 560eff173c Merged doc update from 3.3. 2013-01-23 09:32:32 +00: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
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
Vinay Sajip 88069d217a Merged doc update from 3.3. 2013-01-22 15:58:34 +00: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
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 f69f961c68 Null merge 2013-01-22 15:57:26 +02: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 be2795a6f9 Merged documentation update from 3.3. 2013-01-22 13:13:43 +00: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
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
Vinay Sajip e461f7939d Issue #17007: Merged minor changes from 3.3. 2013-01-21 21:58:29 +00: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 272b0e324c Closes #17007: Merged doc update from 3.3. 2013-01-21 19:46:18 +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
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