]>
granicus.if.org Git - python/log
Serhiy Storchaka [Fri, 25 Jan 2013 08:03:12 +0000 (10:03 +0200)]
Don't run the test for issue #16335 when -M is not specified.
Increase memory limit in this test.
Eli Bendersky [Thu, 24 Jan 2013 15:28:33 +0000 (07:28 -0800)]
Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument
Vinay Sajip [Wed, 23 Jan 2013 09:30:34 +0000 (09:30 +0000)]
Corrected typo, added comment in cookbook recipe.
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.
Vinay Sajip [Tue, 22 Jan 2013 15:57:12 +0000 (15:57 +0000)]
Added cookbook recipe for structured logging.
Serhiy Storchaka [Tue, 22 Jan 2013 15:13:26 +0000 (17:13 +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.
Vinay Sajip [Tue, 22 Jan 2013 13:10:58 +0000 (13:10 +0000)]
Updated logging HOWTO with a diagram.
Vinay Sajip [Mon, 21 Jan 2013 21:56:35 +0000 (21:56 +0000)]
Issue #17007: Made minor changes to documentation wording.
Vinay Sajip [Mon, 21 Jan 2013 19:43:51 +0000 (19:43 +0000)]
Issue #17007: Improved logging documentation based on suggestions in the issue.
Serhiy Storchaka [Mon, 21 Jan 2013 18:23:01 +0000 (20:23 +0200)]
Add bigmemtest decorator to test of issue #16335.
Serhiy Storchaka [Mon, 21 Jan 2013 11:03:58 +0000 (13:03 +0200)]
Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.
Christian Heimes [Mon, 21 Jan 2013 10:25:27 +0000 (11:25 +0100)]
fix for
f4d30d1a529e
Python 2.7 has only assertRaisesRegexp, not assertRaisesRegex
Serhiy Storchaka [Mon, 21 Jan 2013 09:48:24 +0000 (11:48 +0200)]
Issue #16335: Fix integer overflow in unicode-escape decoder.
Stefan Krah [Sun, 20 Jan 2013 22:29:28 +0000 (23:29 +0100)]
Serhiy Storchaka [Sat, 19 Jan 2013 21:35:46 +0000 (23:35 +0200)]
Issue #15989: Fix possible integer overflow in str formatting as in unicode formatting.
Benjamin Peterson [Sat, 19 Jan 2013 19:58:38 +0000 (14:58 -0500)]
remove unnecessary clearing of list
Serhiy Storchaka [Sat, 19 Jan 2013 19:06:35 +0000 (21:06 +0200)]
Ensure that width and precision in string formatting test have type int, not long.
Fix a regression from changeset
d544873d62e9 (issue #15989).
Ezio Melotti [Sat, 19 Jan 2013 17:44:58 +0000 (19:44 +0200)]
Fix a few typos in Misc/NEWS.
Charles-François Natali [Sat, 19 Jan 2013 11:15:56 +0000 (12:15 +0100)]
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.
Serhiy Storchaka [Sat, 19 Jan 2013 10:55:39 +0000 (12:55 +0200)]
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 .
Raymond Hettinger [Sat, 19 Jan 2013 07:23:11 +0000 (23:23 -0800)]
Improve tooltips by listing the most common argument pattern first.
Raymond Hettinger [Sat, 19 Jan 2013 02:07:58 +0000 (18:07 -0800)]
Ignore Mac's Data Services Store
Raymond Hettinger [Sat, 19 Jan 2013 01:35:25 +0000 (17:35 -0800)]
Show the function signature in the docstring
Jason R. Coombs [Fri, 18 Jan 2013 20:33:39 +0000 (15:33 -0500)]
#16985: Remove incorrect phrase indication presence of non-present concrete UTC tzinfo instance.
Ezio Melotti [Fri, 18 Jan 2013 17:55:46 +0000 (19:55 +0200)]
#16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
Łukasz Langa [Fri, 18 Jan 2013 12:31:53 +0000 (13:31 +0100)]
math.fsum docs did not show up because of a misplaced testsetup directive
Benjamin Peterson [Fri, 18 Jan 2013 05:44:49 +0000 (00:44 -0500)]
support -> test_support
Benjamin Peterson [Fri, 18 Jan 2013 05:10:24 +0000 (00:10 -0500)]
check windows fd validity (closes #16992)
Antoine Pitrou [Thu, 17 Jan 2013 22:10:12 +0000 (23:10 +0100)]
Remove pointless discussion of the lack of a ternary operator
Frank Wierzbicki [Wed, 16 Jan 2013 21:52:22 +0000 (13:52 -0800)]
Closed #16886: test_dictcomps no longer depends on dict order
Vinay Sajip [Tue, 15 Jan 2013 17:55:13 +0000 (17:55 +0000)]
Issue #9501: Improved shutdown handling to deal with module attributes correctly.
Serhiy Storchaka [Tue, 15 Jan 2013 16:01:21 +0000 (18:01 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
Serhiy Storchaka [Tue, 15 Jan 2013 13:32:49 +0000 (15:32 +0200)]
Merge heads
Richard Oudkerk [Tue, 15 Jan 2013 13:13:35 +0000 (13:13 +0000)]
Issue #10527: Remove dead code
Serhiy Storchaka [Tue, 15 Jan 2013 12:42:59 +0000 (14:42 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.
Richard Oudkerk [Mon, 14 Jan 2013 23:09:14 +0000 (23:09 +0000)]
Issue #10527: Use poll() instead of select() for multiprocessing pipes
Serhiy Storchaka [Mon, 14 Jan 2013 22:29:51 +0000 (00:29 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Sun, 13 Jan 2013 19:57:14 +0000 (21:57 +0200)]
Describe the default_namespace parameter of ElemetTree.write.
Charles-François Natali [Sun, 13 Jan 2013 12:55:13 +0000 (13:55 +0100)]
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
Benjamin Peterson [Sun, 13 Jan 2013 02:22:18 +0000 (21:22 -0500)]
make deque_clear void, since it's infallible
Serhiy Storchaka [Sat, 12 Jan 2013 16:12:27 +0000 (18:12 +0200)]
Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
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.
Ezio Melotti [Sat, 12 Jan 2013 08:39:45 +0000 (10:39 +0200)]
#16940: fix indentation in example.
Raymond Hettinger [Sat, 12 Jan 2013 08:05:00 +0000 (00:05 -0800)]
Issue #16398: Optimize deque.rotate()
Chris Jerdonek [Sat, 12 Jan 2013 03:25:28 +0000 (19:25 -0800)]
Issue #16933: Improve choices examples in argparse documentation.
Serhiy Storchaka [Fri, 11 Jan 2013 20:16:15 +0000 (22:16 +0200)]
Issue #15539: Fix backup file creation in pindent.py on Windows
Georg Brandl [Fri, 11 Jan 2013 19:25:54 +0000 (20:25 +0100)]
Closes #16936: fix duplicate/ambiguous description of stat.S_IFMT in the docs.
Ezio Melotti [Fri, 11 Jan 2013 12:07:47 +0000 (14:07 +0200)]
Add a note about checking refleaks to patchcheck.
Serhiy Storchaka [Fri, 11 Jan 2013 10:27:43 +0000 (12:27 +0200)]
Merge heads
Serhiy Storchaka [Fri, 11 Jan 2013 09:59:59 +0000 (11:59 +0200)]
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
Sandro Tosi [Fri, 11 Jan 2013 09:48:34 +0000 (10:48 +0100)]
grammatical fix; thanks to Alex Rudnick from docs@
Ezio Melotti [Fri, 11 Jan 2013 07:06:12 +0000 (09:06 +0200)]
Merge heads.
Ezio Melotti [Fri, 11 Jan 2013 06:53:10 +0000 (08:53 +0200)]
#16154: fix some doctests in Doc/library. Patch by Ravi Sinha.
Chris Jerdonek [Fri, 11 Jan 2013 06:50:40 +0000 (22:50 -0800)]
Issue #16874: fix formatting of setup.py upload options in documentation.
Ezio Melotti [Fri, 11 Jan 2013 06:32:01 +0000 (08:32 +0200)]
#13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett.
R David Murray [Fri, 11 Jan 2013 02:10:40 +0000 (21:10 -0500)]
#15109: revert '%'->'format' changes in
4b105d328fe7 to fix regression.
With '%', non-ascii worked because the '%' automatically got promoted to
unicode. With format that doesn't happen, which led to encoding errors. This
fix goes back to using %, and adds a test to make sure non-ascii string values
work in iterdump.
R David Murray [Fri, 11 Jan 2013 01:22:57 +0000 (20:22 -0500)]
#13934: document sqlite version strings.
Benjamin Peterson [Thu, 10 Jan 2013 16:37:47 +0000 (10:37 -0600)]
use PyInt_FromSsize_t instead of PyLong_FromSsize_t (#10182)
R David Murray [Thu, 10 Jan 2013 16:30:51 +0000 (11:30 -0500)]
#15545: sort iterdump via SQL instead of in python code
Although there is not a regression in Python2, we make the same update here to
keep the code bases in sync.
(The fix for issue 9750 introduced a regression in Python 3 by sorting the row
objects returned by fetchall. But if a row_factory such as sqlite3.Row is
used, the rows may not be sortable (in Python3), which leads to an exception.
The sorting is still a nice idea, so the patch moves the sort into the sql.)
Fix and test by Peter Otten.
Ned Deily [Thu, 10 Jan 2013 06:04:35 +0000 (22:04 -0800)]
Issue #15782: Prevent compile errors of OS X Carbon modules _Fm, _Qd, and
_Qdoffs when compiling with an SDK of 10.7 or later. The OS X APIs they
wrap have long been deprecated and have now been removed with 10.7.
These modules were already empty for 64-bit builds and have been removed
in Python 3. (Original patch by Ronald Oussoren.)
Serhiy Storchaka [Tue, 8 Jan 2013 21:12:00 +0000 (23:12 +0200)]
Issue #11461: Fix the incremental UTF-16 decoder. Original patch by
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.
Serhiy Storchaka [Tue, 8 Jan 2013 20:43:18 +0000 (22:43 +0200)]
Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.
Charles-François Natali [Tue, 8 Jan 2013 18:47:00 +0000 (19:47 +0100)]
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
Vinay Sajip [Tue, 8 Jan 2013 11:18:42 +0000 (11:18 +0000)]
Issue #16884: Updated docs to use 'note' directives.
R David Murray [Sun, 6 Jan 2013 21:14:57 +0000 (16:14 -0500)]
#16877: Add mention that shell-style path expansions are not automatic.
Ezio Melotti [Sat, 5 Jan 2013 05:37:47 +0000 (07:37 +0200)]
#16862: remove outdated statements about Stackless.
Ezio Melotti [Sat, 5 Jan 2013 05:36:54 +0000 (07:36 +0200)]
Cleanup a few minor things.
Ezio Melotti [Fri, 4 Jan 2013 22:49:48 +0000 (00:49 +0200)]
#13094: add Programming FAQ entry about the behavior of closures.
Chris Jerdonek [Fri, 4 Jan 2013 12:41:34 +0000 (04:41 -0800)]
Issue #16747: Reflow iterable glossary entry to match 3.x change
e19ed347523e .
Benjamin Peterson [Fri, 4 Jan 2013 04:34:19 +0000 (20:34 -0800)]
drop email (closes #16857)
Victor Stinner [Thu, 3 Jan 2013 02:33:21 +0000 (03:33 +0100)]
Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB
Giampaolo Rodola' [Thu, 3 Jan 2013 01:53:28 +0000 (02:53 +0100)]
issue 10527: fix missing import
Nadeem Vawda [Wed, 2 Jan 2013 21:59:51 +0000 (22:59 +0100)]
Issue #16828: Fix error incorrectly raised by bz2.compress('').
Patch by Martin Packman.
Benjamin Peterson [Wed, 2 Jan 2013 18:25:15 +0000 (12:25 -0600)]
untabify
Benjamin Peterson [Wed, 2 Jan 2013 18:22:11 +0000 (12:22 -0600)]
add Tom Tromey to ACKS
Benjamin Peterson [Wed, 2 Jan 2013 18:21:32 +0000 (12:21 -0600)]
call PyErr_Clear() when ignoring error from PyNumber_Int (closes #15516)
Patch from Tom Tromey.
Benjamin Peterson [Wed, 2 Jan 2013 15:37:33 +0000 (09:37 -0600)]
merge heads
Benjamin Peterson [Wed, 2 Jan 2013 15:36:23 +0000 (09:36 -0600)]
ensure the attribute name string is initalized before using it (closes #16839)
Eli Bendersky [Wed, 2 Jan 2013 14:02:23 +0000 (06:02 -0800)]
Fix method name in documentation (__setstate__ --> __getstate__)
Serhiy Storchaka [Wed, 2 Jan 2013 09:56:58 +0000 (11:56 +0200)]
Fix incorrect grammar in Misc/NEWS.
Benjamin Peterson [Wed, 2 Jan 2013 05:04:16 +0000 (23:04 -0600)]
get the core to compile --disable-unicode
Serhiy Storchaka [Tue, 1 Jan 2013 20:27:45 +0000 (22:27 +0200)]
Issue #16819: IDLE method completion now correctly works for unicode literals.
Ned Deily [Tue, 1 Jan 2013 20:06:15 +0000 (12:06 -0800)]
Update copyright dates in Mac plists.
Richard Oudkerk [Tue, 1 Jan 2013 17:25:09 +0000 (17:25 +0000)]
Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
Benjamin Peterson [Tue, 1 Jan 2013 03:44:00 +0000 (21:44 -0600)]
update another year
Benjamin Peterson [Tue, 1 Jan 2013 03:40:42 +0000 (21:40 -0600)]
merge heads
Benjamin Peterson [Tue, 1 Jan 2013 03:37:21 +0000 (21:37 -0600)]
bring Python into 2013
Ned Deily [Mon, 31 Dec 2012 23:06:38 +0000 (15:06 -0800)]
Issue #14958: backport to 2.7.x from 3.3 (patch by Roger Serwy)
Giampaolo Rodola' [Mon, 31 Dec 2012 16:23:09 +0000 (17:23 +0100)]
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
Serhiy Storchaka [Sun, 30 Dec 2012 18:15:10 +0000 (20:15 +0200)]
Issue #16645: Fix hardlink extracting test for tarfile.
Andrew Svetlov [Sat, 29 Dec 2012 21:09:32 +0000 (23:09 +0200)]
Fix docstring in curses (#16782)
Serhiy Storchaka [Sat, 29 Dec 2012 20:25:59 +0000 (22:25 +0200)]
Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file.
Antoine Pitrou [Fri, 28 Dec 2012 18:03:43 +0000 (19:03 +0100)]
Backport Python 3.2 fix for issue #12065, and add another test for SSLSocket.connect_ex().
Serhiy Storchaka [Fri, 28 Dec 2012 08:16:47 +0000 (10:16 +0200)]
Merge heads
Raymond Hettinger [Fri, 28 Dec 2012 08:03:30 +0000 (00:03 -0800)]
Make the from_iterable() recipe more usable.
The code isn't exactly equivalent because a classmethod would
only make sense inside a chain class, and it would need "cls"
as a first argument, and it would need to return an instance
of "chain" rather than a generator.
The updated example drops the @classmethod decorator so that
it can be used standalone: list(from_iterable(['abc', 'def']))
This should be communicate what from_iterable does.
Serhiy Storchaka [Fri, 28 Dec 2012 07:31:59 +0000 (09:31 +0200)]
Issue #16761: Raise TypeError when int() or long() called with base argument only.
Chris Jerdonek [Fri, 28 Dec 2012 02:14:01 +0000 (18:14 -0800)]
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
Ezio Melotti [Thu, 27 Dec 2012 23:59:24 +0000 (01:59 +0200)]
#16796: fix typo. Patch by Michael Schurter.
Serhiy Storchaka [Thu, 27 Dec 2012 22:44:20 +0000 (00:44 +0200)]
Issue #16792: Use assertIs() to test identity.
Serhiy Storchaka [Thu, 27 Dec 2012 22:32:19 +0000 (00:32 +0200)]
Issue #16793. Replace deprecated unittest asserts with modern counterparts.