]> granicus.if.org Git - python/log
python
12 years agoIssue #13454: Fix a crash when deleting an iterator created by itertools.tee()
Serhiy Storchaka [Fri, 25 Jan 2013 11:24:47 +0000 (13:24 +0200)]
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.

12 years agoIssue #13454: Fix a crash when deleting an iterator created by itertools.tee()
Serhiy Storchaka [Fri, 25 Jan 2013 11:19:31 +0000 (13:19 +0200)]
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.

12 years agoIncrease the memory limit in the test for issue #16335.
Serhiy Storchaka [Fri, 25 Jan 2013 08:13:37 +0000 (10:13 +0200)]
Increase the memory limit in the test for issue #16335.

12 years agoIncrease the memory limit in the test for issue #16335.
Serhiy Storchaka [Fri, 25 Jan 2013 08:12:30 +0000 (10:12 +0200)]
Increase the memory limit in the test for issue #16335.

12 years agoNull merge
Serhiy Storchaka [Fri, 25 Jan 2013 08:09:25 +0000 (10:09 +0200)]
Null merge

12 years agoFix pathext test for shutil.which() which was
Serhiy Storchaka [Thu, 24 Jan 2013 18:03:49 +0000 (20:03 +0200)]
Fix pathext test for shutil.which() which was
broken after applying the patch for issue #16957.

12 years agoClarify ET.iterparse documentation - this function is not supported by the
Eli Bendersky [Thu, 24 Jan 2013 15:23:34 +0000 (07:23 -0800)]
Clarify ET.iterparse documentation - this function is not supported by the
C implementation.

12 years agomerge heads
Eli Bendersky [Thu, 24 Jan 2013 15:17:05 +0000 (07:17 -0800)]
merge heads

12 years agoIssue #9708: Fix support for iterparse(parser=...) argument per documentation.
Eli Bendersky [Thu, 24 Jan 2013 15:15:19 +0000 (07:15 -0800)]
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.

12 years agoSince the return type of format() is not a Decimal, raise ValueError instead of
Stefan Krah [Thu, 24 Jan 2013 14:22:33 +0000 (15:22 +0100)]
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.

12 years agoFix generating of sre_constants.h on Python 3.
Serhiy Storchaka [Thu, 24 Jan 2013 11:43:46 +0000 (13:43 +0200)]
Fix generating of sre_constants.h on Python 3.

12 years agoFix generating of sre_constants.h on Python 3.
Serhiy Storchaka [Thu, 24 Jan 2013 11:43:02 +0000 (13:43 +0200)]
Fix generating of sre_constants.h on Python 3.

12 years agomerge from 3.2
Senthil Kumaran [Wed, 23 Jan 2013 11:00:26 +0000 (03:00 -0800)]
merge from 3.2

Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.

12 years agoIssue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
Senthil Kumaran [Wed, 23 Jan 2013 10:50:15 +0000 (02:50 -0800)]
Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.

12 years agoMerged doc update from 3.2.
Vinay Sajip [Wed, 23 Jan 2013 09:32:10 +0000 (09:32 +0000)]
Merged doc update from 3.2.

12 years agoCorrected typo, added comment in cookbook recipe.
Vinay Sajip [Wed, 23 Jan 2013 09:31:19 +0000 (09:31 +0000)]
Corrected typo, added comment in cookbook recipe.

12 years agoIssue #16957: shutil.which() no longer searches a bare file name in the
Serhiy Storchaka [Wed, 23 Jan 2013 08:44:21 +0000 (10:44 +0200)]
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.

12 years ago#11379: merge with 3.2.
Ezio Melotti [Tue, 22 Jan 2013 20:49:46 +0000 (22:49 +0200)]
#11379: merge with 3.2.

12 years ago#11379: rephrase minidom documentation to use the term "minimal" instead of "lightwei...
Ezio Melotti [Tue, 22 Jan 2013 20:47:57 +0000 (22:47 +0200)]
#11379: rephrase minidom documentation to use the term "minimal" instead of "lightweight".  Patch by Éric Araujo.

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.