Commit graph

77933 commits

Author SHA1 Message Date
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
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
e3adb43b4b Add bigmemtest decorator to test of issue #16335. 2013-01-21 20:23:01 +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
b1ecf80e04 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:03:58 +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
Christian Heimes
4d70e583ab fix for f4d30d1a529e
Python 2.7 has only assertRaisesRegexp, not assertRaisesRegex
2013-01-21 11:25:27 +01:00
Serhiy Storchaka
1d3acd4b59 Issue #16335: Fix integer overflow in unicode-escape decoder. 2013-01-21 11:48:24 +02:00
Serhiy Storchaka
c35f3a9f61 Issue #16335: Fix integer overflow in unicode-escape decoder. 2013-01-21 11:42:57 +02:00
Serhiy Storchaka
4f5f0e54e0 Issue #16335: Fix integer overflow in unicode-escape decoder. 2013-01-21 11:38:00 +02:00
Stefan Krah
b357db885c Backport 6df456f8fc6d. 2013-01-20 23:29:28 +01:00
Stefan Krah
e4aa08e52b Issue #7353: Remove references to Include/intobject.h in the C-porting howto. 2013-01-20 23:18:00 +01:00
Benjamin Peterson
648fa19745 end is a keyword argument 2013-01-20 10:09:44 -05:00
Benjamin Peterson
0781900068 expressions -> arguments 2013-01-20 10:05:13 -05:00
Ezio Melotti
5246f66e5e #16557: update functional howto -- "return value" is valid after PEP 380. Initial patch by Ramchandra Apte. 2013-01-20 16:34:21 +02:00
Ezio Melotti
81b46ec0e5 #4153: merge with 3.2. 2013-01-20 12:18:17 +02:00
Ezio Melotti
410eee566f #4153: update the Unicode howto. 2013-01-20 12:16:03 +02:00
Nick Coghlan
35f8f37236 Touch correct file in 'make touch' 2013-01-20 17:22:07 +10:00
Antoine Pitrou
2c5e9504d8 Remove cruft and circumvolutions from the unittest docs.
(I would have preferred to post this for review but the bug tracker is pretty much dead at the moment)
2013-01-20 01:29:39 +01:00
Serhiy Storchaka
926f3a37de Issue #15989: Fix possible integer overflow in str formatting as in unicode formatting. 2013-01-19 23:35:46 +02:00
Benjamin Peterson
c71741f413 remove unnecessary clearing of list 2013-01-19 14:58:38 -05:00
Benjamin Peterson
6b78bffa20 remove unnecessary clearing of list 2013-01-19 14:58:38 -05:00
Serhiy Storchaka
18a13933f9 Ensure that width and precision in string formatting test have type int, not long.
Fix a regression from changeset d544873d62e9 (issue #15989).
2013-01-19 21:06:35 +02:00
Ezio Melotti
663a9e2f25 Fix a few typos in Misc/NEWS. 2013-01-19 19:50:34 +02:00
Ezio Melotti
302ad8d126 Fix a few typos in Misc/NEWS. 2013-01-19 19:44:58 +02:00
Charles-François Natali
986a56cefe Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.
2013-01-19 12:19:10 +01:00
Charles-François Natali
a41cf29c0b Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.
2013-01-19 12:15:56 +01:00
Serhiy Storchaka
74f49ab28b Issue #15989: Fix several occurrences of integer overflow
when result of PyInt_AsLong() or PyLong_AsLong() narrowed
to int without checks.

This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:55:39 +02:00
Serhiy Storchaka
441d30fac7 Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.

This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:26:26 +02:00
Raymond Hettinger
ac7b49f407 Improve tooltips by listing the most common argument pattern first. 2013-01-18 23:23:11 -08:00
Raymond Hettinger
b077f9ce9f Ignore Mac's Data Services Store 2013-01-18 18:07:58 -08:00
Raymond Hettinger
bca22096a1 Show the function signature in the docstring 2013-01-18 17:35:25 -08:00
Jason R. Coombs
86af58156b #16985: Remove incorrect phrase indication presence of non-present concrete UTC tzinfo instance. 2013-01-18 15:33:39 -05:00