python
12 years agoIssue #1159051: GzipFile now raises EOFError when reading a corrupted file
Serhiy Storchaka [Tue, 22 Jan 2013 15:11:07 +0000 (17:11 +0200)]
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.

12 years agoIssue #1159051: GzipFile now raises EOFError when reading a corrupted file
Serhiy Storchaka [Tue, 22 Jan 2013 15:07:49 +0000 (17:07 +0200)]
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.

12 years agoIssue #1159051: GzipFile now raises EOFError when reading a corrupted file
Serhiy Storchaka [Tue, 22 Jan 2013 15:01:59 +0000 (17:01 +0200)]
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.

12 years agoAdd some tests for XPath numeric indexing
Eli Bendersky [Tue, 22 Jan 2013 14:15:29 +0000 (06:15 -0800)]
Add some tests for XPath numeric indexing

12 years agoAdd some tests for XPath numeric indexing
Eli Bendersky [Tue, 22 Jan 2013 14:12:54 +0000 (06:12 -0800)]
Add some tests for XPath numeric indexing

12 years agoNull merge
Serhiy Storchaka [Tue, 22 Jan 2013 13:57:26 +0000 (15:57 +0200)]
Null merge

12 years agoNull merge
Serhiy Storchaka [Tue, 22 Jan 2013 13:56:29 +0000 (15:56 +0200)]
Null merge

12 years ago#15546: Fix GzipFile.peek()'s handling of pathological input data.
Serhiy Storchaka [Tue, 22 Jan 2013 13:54:48 +0000 (15:54 +0200)]
#15546: Fix GzipFile.peek()'s handling of pathological input data.
This is a backport of changeset 8c07ff7f882f.

12 years agoMerged documentation update from 3.3.
Vinay Sajip [Tue, 22 Jan 2013 13:13:43 +0000 (13:13 +0000)]
Merged documentation update from 3.3.

12 years agoMerged documentation update from 3.2.
Vinay Sajip [Tue, 22 Jan 2013 13:13:16 +0000 (13:13 +0000)]
Merged documentation update from 3.2.

12 years agoUpdated logging HOWTO with a diagram.
Vinay Sajip [Tue, 22 Jan 2013 13:12:34 +0000 (13:12 +0000)]
Updated logging HOWTO with a diagram.

12 years agoFix shutil.which() test for issue #16993.
Serhiy Storchaka [Tue, 22 Jan 2013 08:32:16 +0000 (10:32 +0200)]
Fix shutil.which() test for issue #16993.

12 years agoFix shutil.which() test for issue #16993.
Serhiy Storchaka [Tue, 22 Jan 2013 08:31:36 +0000 (10:31 +0200)]
Fix shutil.which() test for issue #16993.

12 years agoIssue #17007: Merged minor changes from 3.3.
Vinay Sajip [Mon, 21 Jan 2013 21:58:29 +0000 (21:58 +0000)]
Issue #17007: Merged minor changes from 3.3.

12 years agoIssue #17007: Merged minor changes from 3.2.
Vinay Sajip [Mon, 21 Jan 2013 21:58:05 +0000 (21:58 +0000)]
Issue #17007: Merged minor changes from 3.2.

12 years agoIssue #17007: Made minor changes to documentation wording.
Vinay Sajip [Mon, 21 Jan 2013 21:57:10 +0000 (21:57 +0000)]
Issue #17007: Made minor changes to documentation wording.

12 years agoCloses #17007: Merged doc update from 3.3.
Vinay Sajip [Mon, 21 Jan 2013 19:46:18 +0000 (19:46 +0000)]
Closes #17007: Merged doc update from 3.3.

12 years agoIssue #17007: Merged doc update from 3.2.
Vinay Sajip [Mon, 21 Jan 2013 19:45:27 +0000 (19:45 +0000)]
Issue #17007: Merged doc update from 3.2.

12 years agoIssue #17007: Improved logging documentation based on suggestions in the issue.
Vinay Sajip [Mon, 21 Jan 2013 19:44:28 +0000 (19:44 +0000)]
Issue #17007: Improved logging documentation based on suggestions in the issue.

12 years agoUse bigmemtest decorator for test of issue #16335.
Serhiy Storchaka [Mon, 21 Jan 2013 18:28:02 +0000 (20:28 +0200)]
Use bigmemtest decorator for test of issue #16335.

12 years agoUse bigmemtest decorator for test of issue #16335.
Serhiy Storchaka [Mon, 21 Jan 2013 18:27:17 +0000 (20:27 +0200)]
Use bigmemtest decorator for test of issue #16335.

12 years agoAdd bigmemtest decorator to test of issue #16335.
Serhiy Storchaka [Mon, 21 Jan 2013 18:23:58 +0000 (20:23 +0200)]
Add bigmemtest decorator to test of issue #16335.

12 years agoIssue #16993: shutil.which() now preserves the case of the path and extension
Serhiy Storchaka [Mon, 21 Jan 2013 13:01:34 +0000 (15:01 +0200)]
Issue #16993: shutil.which() now preserves the case of the path and extension
on Windows.

12 years agoIssue #16993: shutil.which() now preserves the case of the path and extension
Serhiy Storchaka [Mon, 21 Jan 2013 13:00:27 +0000 (15:00 +0200)]
Issue #16993: shutil.which() now preserves the case of the path and extension
on Windows.

12 years agoFix memory error in test_ucn.
Serhiy Storchaka [Mon, 21 Jan 2013 11:00:50 +0000 (13:00 +0200)]
Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.

12 years agoFix memory error in test_ucn.
Serhiy Storchaka [Mon, 21 Jan 2013 11:00:11 +0000 (13:00 +0200)]
Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.

12 years agoFix memory error in test_ucn.
Serhiy Storchaka [Mon, 21 Jan 2013 10:59:13 +0000 (12:59 +0200)]
Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.

12 years agoIssue #16335: Fix integer overflow in unicode-escape decoder.
Serhiy Storchaka [Mon, 21 Jan 2013 09:44:40 +0000 (11:44 +0200)]
Issue #16335: Fix integer overflow in unicode-escape decoder.

12 years agoIssue #16335: Fix integer overflow in unicode-escape decoder.
Serhiy Storchaka [Mon, 21 Jan 2013 09:42:57 +0000 (11:42 +0200)]
Issue #16335: Fix integer overflow in unicode-escape decoder.

12 years agoIssue #16335: Fix integer overflow in unicode-escape decoder.
Serhiy Storchaka [Mon, 21 Jan 2013 09:38:00 +0000 (11:38 +0200)]
Issue #16335: Fix integer overflow in unicode-escape decoder.

12 years agoMerge 3.3.
Stefan Krah [Sun, 20 Jan 2013 22:19:22 +0000 (23:19 +0100)]
Merge 3.3.

12 years agoIssue #7353: Remove references to Include/intobject.h in the C-porting howto.
Stefan Krah [Sun, 20 Jan 2013 22:18:00 +0000 (23:18 +0100)]
Issue #7353: Remove references to Include/intobject.h in the C-porting howto.

12 years agomerge 3.3
Benjamin Peterson [Sun, 20 Jan 2013 15:09:51 +0000 (10:09 -0500)]
merge 3.3

12 years agoend is a keyword argument
Benjamin Peterson [Sun, 20 Jan 2013 15:09:44 +0000 (10:09 -0500)]
end is a keyword argument

12 years agomerge 3.3
Benjamin Peterson [Sun, 20 Jan 2013 15:05:28 +0000 (10:05 -0500)]
merge 3.3

12 years agoexpressions -> arguments
Benjamin Peterson [Sun, 20 Jan 2013 15:05:13 +0000 (10:05 -0500)]
expressions -> arguments

12 years ago#16557: merge with 3.3.
Ezio Melotti [Sun, 20 Jan 2013 14:35:09 +0000 (16:35 +0200)]
#16557: merge with 3.3.

12 years ago#16557: update functional howto -- "return value" is valid after PEP 380. Initial...
Ezio Melotti [Sun, 20 Jan 2013 14:34:21 +0000 (16:34 +0200)]
#16557: update functional howto -- "return value" is valid after PEP 380.  Initial patch by Ramchandra Apte.

12 years ago#4153: merge with 3.3.
Ezio Melotti [Sun, 20 Jan 2013 10:18:34 +0000 (12:18 +0200)]
#4153: merge with 3.3.

12 years ago#4153: merge with 3.2.
Ezio Melotti [Sun, 20 Jan 2013 10:18:17 +0000 (12:18 +0200)]
#4153: merge with 3.2.

12 years ago#4153: update the Unicode howto.
Ezio Melotti [Sun, 20 Jan 2013 10:16:03 +0000 (12:16 +0200)]
#4153: update the Unicode howto.

12 years agoMerge hg touch fix from 3.3
Nick Coghlan [Sun, 20 Jan 2013 07:22:42 +0000 (17:22 +1000)]
Merge hg touch fix from 3.3

12 years agoTouch correct file in 'make touch'
Nick Coghlan [Sun, 20 Jan 2013 07:22:07 +0000 (17:22 +1000)]
Touch correct file in 'make touch'

12 years agoRemove cruft and circumvolutions from the unittest docs.
Antoine Pitrou [Sun, 20 Jan 2013 00:31:20 +0000 (01:31 +0100)]
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)

12 years agoRemove cruft and circumvolutions from the unittest docs.
Antoine Pitrou [Sun, 20 Jan 2013 00:29:39 +0000 (01:29 +0100)]
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)

12 years agomerge 3.3
Benjamin Peterson [Sat, 19 Jan 2013 19:58:51 +0000 (14:58 -0500)]
merge 3.3

12 years agoremove unnecessary clearing of list
Benjamin Peterson [Sat, 19 Jan 2013 19:58:38 +0000 (14:58 -0500)]
remove unnecessary clearing of list

12 years agoNull merge the backported changest.
Ezio Melotti [Sat, 19 Jan 2013 18:16:03 +0000 (20:16 +0200)]
Null merge the backported changest.

12 years agoMerge Misc/NEWS fixes from 3.3.
Ezio Melotti [Sat, 19 Jan 2013 17:55:27 +0000 (19:55 +0200)]
Merge Misc/NEWS fixes from 3.3.

12 years agoMerge Misc/NEWS fixes from 3.2.
Ezio Melotti [Sat, 19 Jan 2013 17:54:33 +0000 (19:54 +0200)]
Merge Misc/NEWS fixes from 3.2.

12 years agoFix a few typos in Misc/NEWS.
Ezio Melotti [Sat, 19 Jan 2013 17:50:34 +0000 (19:50 +0200)]
Fix a few typos in Misc/NEWS.

12 years agoIssue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Charles-François Natali [Sat, 19 Jan 2013 11:39:29 +0000 (12:39 +0100)]
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.

12 years agoIssue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Charles-François Natali [Sat, 19 Jan 2013 11:21:26 +0000 (12:21 +0100)]
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.

12 years agoIssue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Charles-François Natali [Sat, 19 Jan 2013 11:19:10 +0000 (12:19 +0100)]
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.

12 years agoNull merge
Serhiy Storchaka [Sat, 19 Jan 2013 10:43:21 +0000 (12:43 +0200)]
Null merge

12 years agoIssue #15989: Fix several occurrences of integer overflow
Serhiy Storchaka [Sat, 19 Jan 2013 10:41:45 +0000 (12:41 +0200)]
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.

12 years agoIssue #15989: Fix several occurrences of integer overflow
Serhiy Storchaka [Sat, 19 Jan 2013 10:26:26 +0000 (12:26 +0200)]
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.

12 years agomerge
Raymond Hettinger [Sat, 19 Jan 2013 01:53:18 +0000 (17:53 -0800)]
merge

12 years agoIgnore Mac's Data Services Store
Raymond Hettinger [Sat, 19 Jan 2013 01:44:25 +0000 (17:44 -0800)]
Ignore Mac's Data Services Store

12 years agoShow the function signature in the docstring
Raymond Hettinger [Sat, 19 Jan 2013 01:35:25 +0000 (17:35 -0800)]
Show the function signature in the docstring

12 years ago#16978: merge with 3.3.
Ezio Melotti [Fri, 18 Jan 2013 17:59:13 +0000 (19:59 +0200)]
#16978: merge with 3.3.

12 years ago#16978: merge with 3.2.
Ezio Melotti [Fri, 18 Jan 2013 17:58:47 +0000 (19:58 +0200)]
#16978: merge with 3.2.

12 years ago#16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
Ezio Melotti [Fri, 18 Jan 2013 17:55:46 +0000 (19:55 +0200)]
#16978: rephrase sentence and fix typo.  Initial patch by Tshepang Lekhonkhobe.

12 years agomath.fsum docs did not show up because of a misplaced testsetup directive
Łukasz Langa [Fri, 18 Jan 2013 12:42:56 +0000 (13:42 +0100)]
math.fsum docs did not show up because of a misplaced testsetup directive
(merged 3.2 fix through 3.3)

12 years agomath.fsum docs did not show up because of a misplaced testsetup directive
Łukasz Langa [Fri, 18 Jan 2013 12:41:14 +0000 (13:41 +0100)]
math.fsum docs did not show up because of a misplaced testsetup directive
(merged 3.2 fix)

12 years agomath.fsum docs did not show up because of a misplaced testsetup directive
Łukasz Langa [Fri, 18 Jan 2013 12:40:43 +0000 (13:40 +0100)]
math.fsum docs did not show up because of a misplaced testsetup directive

12 years agomerge 3.3
Benjamin Peterson [Fri, 18 Jan 2013 05:10:37 +0000 (00:10 -0500)]
merge 3.3

12 years agocheck windows fd validity (closes #16992)
Benjamin Peterson [Fri, 18 Jan 2013 05:10:24 +0000 (00:10 -0500)]
check windows fd validity (closes #16992)

12 years agoMerge 3.3.
Stefan Krah [Thu, 17 Jan 2013 22:36:08 +0000 (23:36 +0100)]
Merge 3.3.

12 years agoIssue #11870: Skip test_3_join_in_forked_from_thread() on HP-UX.
Stefan Krah [Thu, 17 Jan 2013 22:29:54 +0000 (23:29 +0100)]
Issue #11870: Skip test_3_join_in_forked_from_thread() on HP-UX.

12 years agoRemove outdated statement
Antoine Pitrou [Thu, 17 Jan 2013 22:09:07 +0000 (23:09 +0100)]
Remove outdated statement

12 years agoRemove outdated statement
Antoine Pitrou [Thu, 17 Jan 2013 22:08:26 +0000 (23:08 +0100)]
Remove outdated statement

12 years agoRemove outdated statement
Antoine Pitrou [Thu, 17 Jan 2013 22:08:03 +0000 (23:08 +0100)]
Remove outdated statement

12 years agoMerge 3.3.
Stefan Krah [Thu, 17 Jan 2013 19:44:02 +0000 (20:44 +0100)]
Merge 3.3.

12 years agoIssue #16987: Fix definition of SHLIB_EXT.
Stefan Krah [Thu, 17 Jan 2013 19:41:56 +0000 (20:41 +0100)]
Issue #16987: Fix definition of SHLIB_EXT.

12 years agoIssue #16982: Fix --without-threads build failure.
Stefan Krah [Thu, 17 Jan 2013 16:07:17 +0000 (17:07 +0100)]
Issue #16982: Fix --without-threads build failure.

12 years agoFix docstring typo in concurrent.futures.Future
Eli Bendersky [Thu, 17 Jan 2013 14:36:30 +0000 (06:36 -0800)]
Fix docstring typo in concurrent.futures.Future

12 years agoFix docstring typo in concurrent.futures.Future
Eli Bendersky [Thu, 17 Jan 2013 14:36:30 +0000 (06:36 -0800)]
Fix docstring typo in concurrent.futures.Future

12 years agoMerge 3.3.
Stefan Krah [Thu, 17 Jan 2013 14:34:50 +0000 (15:34 +0100)]
Merge 3.3.

12 years agoIssue #14110: Fix test failures on FreeBSD if the user is in the wheel group.
Stefan Krah [Thu, 17 Jan 2013 14:31:00 +0000 (15:31 +0100)]
Issue #14110: Fix test failures on FreeBSD if the user is in the wheel group.

12 years agoMerge 3.3.
Stefan Krah [Thu, 17 Jan 2013 11:52:42 +0000 (12:52 +0100)]
Merge 3.3.

12 years agoFix build with 3.x gcc versions.
Stefan Krah [Thu, 17 Jan 2013 11:49:34 +0000 (12:49 +0100)]
Fix build with 3.x gcc versions.

12 years agoMerge 3.3.
Stefan Krah [Wed, 16 Jan 2013 22:25:41 +0000 (23:25 +0100)]
Merge 3.3.

12 years agoIssue #11729: Backport commit bff052d9 from libffi upstream in order to fix
Stefan Krah [Wed, 16 Jan 2013 22:18:34 +0000 (23:18 +0100)]
Issue #11729: Backport commit bff052d9 from libffi upstream in order to fix
a ctypes build failure with clang.

12 years agomerge with 3.3
Frank Wierzbicki [Wed, 16 Jan 2013 22:10:36 +0000 (14:10 -0800)]
merge with 3.3

12 years agoUse unittest.main() in 3.3 and greater
Frank Wierzbicki [Wed, 16 Jan 2013 22:09:57 +0000 (14:09 -0800)]
Use unittest.main() in 3.3 and greater

12 years ago#16886: merge with 3.3
Frank Wierzbicki [Wed, 16 Jan 2013 21:58:14 +0000 (13:58 -0800)]
#16886: merge with 3.3

12 years ago#16886: merge with 3.2
Frank Wierzbicki [Wed, 16 Jan 2013 21:56:54 +0000 (13:56 -0800)]
#16886: merge with 3.2

12 years agoClosed #16886: test_dictcomps no longer depends on dict order
Frank Wierzbicki [Wed, 16 Jan 2013 21:55:12 +0000 (13:55 -0800)]
Closed #16886: test_dictcomps no longer depends on dict order

12 years agoMerge 3.3.
Stefan Krah [Wed, 16 Jan 2013 14:19:16 +0000 (15:19 +0100)]
Merge 3.3.

12 years agoRemove trailing whitespace.
Stefan Krah [Wed, 16 Jan 2013 14:16:10 +0000 (15:16 +0100)]
Remove trailing whitespace.

12 years agoMerge 3.3.
Stefan Krah [Wed, 16 Jan 2013 13:49:15 +0000 (14:49 +0100)]
Merge 3.3.

12 years agoIncrease warning level for _decimal.so and libmpdec build when using gcc.
Stefan Krah [Wed, 16 Jan 2013 13:45:16 +0000 (14:45 +0100)]
Increase warning level for _decimal.so and libmpdec build when using gcc.

12 years agoMerge 3.3.
Stefan Krah [Wed, 16 Jan 2013 12:41:38 +0000 (13:41 +0100)]
Merge 3.3.

12 years agoChange NEWS entry to make it somewhat intelligible.
Stefan Krah [Wed, 16 Jan 2013 12:40:57 +0000 (13:40 +0100)]
Change NEWS entry to make it somewhat intelligible.

12 years agoMerge 3.3.
Stefan Krah [Wed, 16 Jan 2013 12:00:11 +0000 (13:00 +0100)]
Merge 3.3.

12 years agoIssue #16422: Use strings for rounding mode constants for better readability
Stefan Krah [Wed, 16 Jan 2013 11:58:59 +0000 (12:58 +0100)]
Issue #16422: Use strings for rounding mode constants for better readability
and pickling compatibility.

12 years agomerge 3.3 (#7340)
Benjamin Peterson [Tue, 15 Jan 2013 21:49:35 +0000 (16:49 -0500)]
merge 3.3 (#7340)

12 years agoremove warning about tb circular reference (closes #7340)
Benjamin Peterson [Tue, 15 Jan 2013 21:49:22 +0000 (16:49 -0500)]
remove warning about tb circular reference (closes #7340)

12 years agothinko
Philip Jenvey [Tue, 15 Jan 2013 21:24:12 +0000 (13:24 -0800)]
thinko