]> granicus.if.org Git - python/log
python
12 years agoMerged doc update from 3.2.
Vinay Sajip [Tue, 22 Jan 2013 15:58:14 +0000 (15:58 +0000)]
Merged doc update from 3.2.

12 years agoAdded cookbook recipe for structured logging.
Vinay Sajip [Tue, 22 Jan 2013 15:57:39 +0000 (15:57 +0000)]
Added cookbook recipe for structured logging.

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:12:54 +0000 (06:12 -0800)]
Add some tests for XPath numeric indexing

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.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:31:36 +0000 (10:31 +0200)]
Fix shutil.which() test for issue #16993.

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 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: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: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: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: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 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 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 agoexpressions -> arguments
Benjamin Peterson [Sun, 20 Jan 2013 15:05:13 +0000 (10:05 -0500)]
expressions -> arguments

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.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 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: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 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 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:19:10 +0000 (12:19 +0100)]
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.

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 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:40:43 +0000 (13:40 +0100)]
math.fsum docs did not show up because of a misplaced testsetup directive

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

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 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 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 #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 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.2.
Ezio Melotti [Fri, 18 Jan 2013 17:58:47 +0000 (19:58 +0200)]
#16978: merge with 3.2.

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 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 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:08:26 +0000 (23:08 +0100)]
Remove outdated statement

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 #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 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 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 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.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 agoRemove trailing whitespace.
Stefan Krah [Wed, 16 Jan 2013 14:16:10 +0000 (15:16 +0100)]
Remove trailing whitespace.

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 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 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 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 agoIssue #9501: Merged fix from 3.2.
Vinay Sajip [Tue, 15 Jan 2013 17:56:43 +0000 (17:56 +0000)]
Issue #9501: Merged fix from 3.2.

12 years agoIssue #9501: Improved shutdown handling to deal with module attributes correctly.
Vinay Sajip [Tue, 15 Jan 2013 17:55:57 +0000 (17:55 +0000)]
Issue #9501: Improved shutdown handling to deal with module attributes correctly.

12 years agoIssue #15861: tkinter now correctly works with lists and tuples containing
Serhiy Storchaka [Tue, 15 Jan 2013 15:58:14 +0000 (17:58 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.

12 years agoIssue #15861: tkinter now correctly works with lists and tuples containing
Serhiy Storchaka [Tue, 15 Jan 2013 15:56:08 +0000 (17:56 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.

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

12 years agoMerge heads
Serhiy Storchaka [Tue, 15 Jan 2013 13:33:09 +0000 (15:33 +0200)]
Merge heads

12 years agoMerge heads
Serhiy Storchaka [Tue, 15 Jan 2013 13:32:59 +0000 (15:32 +0200)]
Merge heads

12 years agoMerge
Richard Oudkerk [Tue, 15 Jan 2013 13:22:34 +0000 (13:22 +0000)]
Merge

12 years agoIssue #10527: Remove dead code
Richard Oudkerk [Tue, 15 Jan 2013 13:19:24 +0000 (13:19 +0000)]
Issue #10527: Remove dead code

12 years agoIssue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
Serhiy Storchaka [Tue, 15 Jan 2013 13:01:20 +0000 (15:01 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.

12 years agoIssue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
Serhiy Storchaka [Tue, 15 Jan 2013 12:43:21 +0000 (14:43 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.

12 years agoCheck for NULL before the pointer aligning in fastsearch_memchr_1char.
Serhiy Storchaka [Tue, 15 Jan 2013 11:27:28 +0000 (13:27 +0200)]
Check for NULL before the pointer aligning in fastsearch_memchr_1char.
There is no guarantee that NULL is aligned.

12 years agoDummy merge
Richard Oudkerk [Tue, 15 Jan 2013 01:04:03 +0000 (01:04 +0000)]
Dummy merge

12 years agoIssue #10527: Use poll() instead of select() for multiprocessing pipes
Richard Oudkerk [Tue, 15 Jan 2013 01:01:01 +0000 (01:01 +0000)]
Issue #10527: Use poll() instead of select() for multiprocessing pipes

12 years agoIssue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Mon, 14 Jan 2013 22:38:17 +0000 (00:38 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.

12 years agoIssue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Mon, 14 Jan 2013 22:31:39 +0000 (00:31 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.

12 years agofix for previous commit related to issue 10527 which didn't have the intended effect...
Giampaolo Rodola' [Mon, 14 Jan 2013 01:24:25 +0000 (02:24 +0100)]
fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895

12 years agoIssue #16955: Fix the poll() method for multiprocessing's socket
Richard Oudkerk [Sun, 13 Jan 2013 22:46:48 +0000 (22:46 +0000)]
Issue #16955: Fix the poll() method for multiprocessing's socket
connections on Windows.

12 years agoDescribe the default_namespace parameter of ElemetTree.write.
Serhiy Storchaka [Sun, 13 Jan 2013 20:04:43 +0000 (22:04 +0200)]
Describe the default_namespace parameter of ElemetTree.write.

12 years agoDescribe the default_namespace parameter of ElemetTree.write.
Serhiy Storchaka [Sun, 13 Jan 2013 19:58:04 +0000 (21:58 +0200)]
Describe the default_namespace parameter of ElemetTree.write.

12 years agoIssue #16922: fixed findtext() to return empty Unicode string instead of empty bytes...
Eli Bendersky [Sun, 13 Jan 2013 13:26:07 +0000 (05:26 -0800)]
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.

Patch by Serhiy Storchaka.

12 years agoMerge 3.2 and revert changes since the changes in 3.3 are a bit different
Eli Bendersky [Sun, 13 Jan 2013 13:25:17 +0000 (05:25 -0800)]
Merge 3.2 and revert changes since the changes in 3.3 are a bit different

12 years agoIssue #16922: fixed findtext() to return empty Unicode string instead of empty bytes...
Eli Bendersky [Sun, 13 Jan 2013 13:22:05 +0000 (05:22 -0800)]
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.

Patch by Serhiy Storchaka.

12 years agomerge heads
Eli Bendersky [Sun, 13 Jan 2013 13:17:19 +0000 (05:17 -0800)]
merge heads

12 years agoClean trailing whitespace in _elementtree.c
Eli Bendersky [Sun, 13 Jan 2013 13:14:47 +0000 (05:14 -0800)]
Clean trailing whitespace in _elementtree.c

12 years agoFix test_posix failure on NetBSD buildbots: sched_setparam() and
Charles-François Natali [Sun, 13 Jan 2013 13:10:37 +0000 (14:10 +0100)]
Fix test_posix failure on NetBSD buildbots: sched_setparam() and
sched_setscheduler() can fail with EINVAL if the process scheduling policy is
neither SCHED_FIFO nor SCHED_RR.

12 years agotest_asyncore: wait explicitly for a thread termination (this dangling thread
Charles-François Natali [Sun, 13 Jan 2013 13:08:01 +0000 (14:08 +0100)]
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).

12 years agotest_asyncore: wait explicitly for a thread termination (this dangling thread
Charles-François Natali [Sun, 13 Jan 2013 12:56:52 +0000 (13:56 +0100)]
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).

12 years agomake deque_clear void, since it's infallible
Benjamin Peterson [Sun, 13 Jan 2013 02:22:18 +0000 (21:22 -0500)]
make deque_clear void, since it's infallible

12 years agoIn test_ssl, threaded tests shouldn't need the "network" resource to be enabled
Antoine Pitrou [Sat, 12 Jan 2013 21:00:09 +0000 (22:00 +0100)]
In test_ssl, threaded tests shouldn't need the "network" resource to be enabled

12 years agoIssue #16923: Fix ResourceWarnings in test_ssl.
Antoine Pitrou [Sat, 12 Jan 2013 20:54:44 +0000 (21:54 +0100)]
Issue #16923: Fix ResourceWarnings in test_ssl.

12 years agoSSLContext.load_dh_params() now properly closes the input file.
Antoine Pitrou [Sat, 12 Jan 2013 20:43:45 +0000 (21:43 +0100)]
SSLContext.load_dh_params() now properly closes the input file.

12 years agoIssue #16829: IDLE printing no longer fails if there are spaces or other
Serhiy Storchaka [Sat, 12 Jan 2013 16:16:18 +0000 (18:16 +0200)]
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.

12 years agoIssue #16829: IDLE printing no longer fails if there are spaces or other
Serhiy Storchaka [Sat, 12 Jan 2013 16:13:24 +0000 (18:13 +0200)]
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.

12 years agoIssue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
Charles-François Natali [Sat, 12 Jan 2013 15:54:45 +0000 (16:54 +0100)]
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.

12 years agoIssue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
Charles-François Natali [Sat, 12 Jan 2013 15:52:20 +0000 (16:52 +0100)]
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.

12 years agoclean trailing whitespace
Eli Bendersky [Sat, 12 Jan 2013 15:44:32 +0000 (07:44 -0800)]
clean trailing whitespace

12 years agoIssues #15083 and #16992: port find.* method tests to unittest
Eli Bendersky [Sat, 12 Jan 2013 15:42:46 +0000 (07:42 -0800)]
Issues #15083 and #16992: port find.* method tests to unittest

12 years agoIssue #16076: check for return value of PyTuple_New for args (following
Eli Bendersky [Sat, 12 Jan 2013 13:42:38 +0000 (05:42 -0800)]
Issue #16076: check for return value of PyTuple_New for args (following
Coverity report) and cleanup code.

12 years agoIssue #16076: fix refleak in pickling of Element.
Eli Bendersky [Sat, 12 Jan 2013 13:20:16 +0000 (05:20 -0800)]
Issue #16076: fix refleak in pickling of Element.

Thanks to Ezio Melotti and Daniel Shahaf for the patch.

12 years ago#16940: merge with 3.2.
Ezio Melotti [Sat, 12 Jan 2013 08:40:24 +0000 (10:40 +0200)]
#16940: merge with 3.2.

12 years ago#16940: fix indentation in example.
Ezio Melotti [Sat, 12 Jan 2013 08:39:45 +0000 (10:39 +0200)]
#16940: fix indentation in example.