]>
granicus.if.org Git - python/log
Ezio Melotti [Sat, 12 Jan 2013 08:40:24 +0000 (10:40 +0200)]
#16940: merge with 3.2.
Ezio Melotti [Sat, 12 Jan 2013 08:39:45 +0000 (10:39 +0200)]
#16940: fix indentation in example.
Chris Jerdonek [Sat, 12 Jan 2013 03:28:05 +0000 (19:28 -0800)]
Issue #16933 (merge from 3.2): Improve choices examples in argparse docs.
Chris Jerdonek [Sat, 12 Jan 2013 03:26:44 +0000 (19:26 -0800)]
Issue #16933 (2.7 forward-port): Improve choices examples in argparse docs.
Brett Cannon [Fri, 11 Jan 2013 20:44:00 +0000 (15:44 -0500)]
merge
Brett Cannon [Fri, 11 Jan 2013 20:40:12 +0000 (15:40 -0500)]
Issue #16730: Don't raise an exception in
importlib.machinery.FileFinder when the directory has become
unreadable or a file. This brings semantics in line with Python 3.2
import.
Reported and diagnosed by David Pritchard.
Serhiy Storchaka [Fri, 11 Jan 2013 20:19:07 +0000 (22:19 +0200)]
Issue #15539: Fix a backup file creation in pindent.py on Windows.
Serhiy Storchaka [Fri, 11 Jan 2013 20:18:17 +0000 (22:18 +0200)]
Issue #15539: Fix a 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:12:20 +0000 (14:12 +0200)]
Merge patchcheck changes with 3.2
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:34:21 +0000 (12:34 +0200)]
Null merge
Serhiy Storchaka [Fri, 11 Jan 2013 10:32:37 +0000 (12:32 +0200)]
Merge heads
Serhiy Storchaka [Fri, 11 Jan 2013 10:28:53 +0000 (12:28 +0200)]
Merge heads
Serhiy Storchaka [Fri, 11 Jan 2013 10:10:57 +0000 (12:10 +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.
Serhiy Storchaka [Fri, 11 Jan 2013 10:04:23 +0000 (12:04 +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:49:28 +0000 (10:49 +0100)]
merge with 3.2
Sandro Tosi [Fri, 11 Jan 2013 09:49:00 +0000 (10:49 +0100)]
grammatical fix; thanks to Alex Rudnick from docs@
Ezio Melotti [Fri, 11 Jan 2013 07:12:28 +0000 (09:12 +0200)]
#16154: merge with 3.2.
Ezio Melotti [Fri, 11 Jan 2013 07:09:07 +0000 (09:09 +0200)]
#16154: fix some doctests in Doc/library. Patch by Ravi Sinha.
Chris Jerdonek [Fri, 11 Jan 2013 07:03:42 +0000 (23:03 -0800)]
Issue #16874 (merge from 3.2): fix some documentation formatting.
Chris Jerdonek [Fri, 11 Jan 2013 07:01:27 +0000 (23:01 -0800)]
Issue #16874 (forward-port from 2.7): fix some documentation formatting.
Ezio Melotti [Fri, 11 Jan 2013 06:43:53 +0000 (08:43 +0200)]
#13899: merge with 3.2.
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.
Ezio Melotti [Fri, 11 Jan 2013 04:30:57 +0000 (06:30 +0200)]
#16925: test_configparser now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 11 Jan 2013 04:02:07 +0000 (06:02 +0200)]
#16918: test_codecs now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 11 Jan 2013 03:57:58 +0000 (05:57 +0200)]
Merge fix for broken/disabled test.
Ezio Melotti [Fri, 11 Jan 2013 03:54:57 +0000 (05:54 +0200)]
Enable a broken test and fix it.
Ezio Melotti [Fri, 11 Jan 2013 03:18:45 +0000 (05:18 +0200)]
#16919: test_crypt now works with unittest test discovery. Patch by Zachary Ware.
R David Murray [Fri, 11 Jan 2013 01:19:35 +0000 (20:19 -0500)]
merge #13934: document sqlite version strings, use correct one in test.
R David Murray [Fri, 11 Jan 2013 01:18:21 +0000 (20:18 -0500)]
#13934: document sqlite version strings, use correct one in test.
Benjamin Peterson [Thu, 10 Jan 2013 20:16:20 +0000 (14:16 -0600)]
remove __del__ because it's evil and also prevents the ResourceWarning on the socket from happening (closes #16900)
R David Murray [Thu, 10 Jan 2013 16:13:34 +0000 (11:13 -0500)]
merge #15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
The fix for issue 9750 introduced a regression 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.
R David Murray [Thu, 10 Jan 2013 16:04:09 +0000 (11:04 -0500)]
#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.
The fix for issue 9750 introduced a regression 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.
Eli Bendersky [Thu, 10 Jan 2013 14:35:18 +0000 (06:35 -0800)]
Update Misc/NEWS for issue #16076
Eli Bendersky [Thu, 10 Jan 2013 14:27:53 +0000 (06:27 -0800)]
Issue #16913: Fix Element.itertext()'s handling of text with XML entities.
Patch by Serhiy Storchaka
Eli Bendersky [Thu, 10 Jan 2013 14:07:00 +0000 (06:07 -0800)]
normalize whitespace
Eli Bendersky [Thu, 10 Jan 2013 14:01:06 +0000 (06:01 -0800)]
Issue #16076: make _elementtree.Element pickle-able in a way that is compatible
with the Python version of the class.
Patch by Daniel Shahaf.
Ezio Melotti [Thu, 10 Jan 2013 05:43:26 +0000 (07:43 +0200)]
#16910: test_bytes, test_unicode, and test_userstring now work with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 10 Jan 2013 04:52:23 +0000 (06:52 +0200)]
#16905: test_bufio now works with unittest test discovery. Initial patch by Berker Peksag.
Ezio Melotti [Thu, 10 Jan 2013 04:11:34 +0000 (06:11 +0200)]
#16898: test_bufio now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 10 Jan 2013 04:04:50 +0000 (06:04 +0200)]
#16888: test_array now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 10 Jan 2013 03:28:52 +0000 (05:28 +0200)]
#16896: test_asyncore now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 10 Jan 2013 02:32:01 +0000 (04:32 +0200)]
#16897: test_bisect now works with unittest test discovery. Initial patch by Zachary Ware.
Ezio Melotti [Thu, 10 Jan 2013 01:43:33 +0000 (03:43 +0200)]
Use correct methods in unittest.mock examples.
Ezio Melotti [Thu, 10 Jan 2013 01:12:50 +0000 (03:12 +0200)]
#16852: test_genericpath, test_posixpath, test_ntpath, and test_macpath now work with unittest test discovery. Patch by Zachary Ware.
Benjamin Peterson [Wed, 9 Jan 2013 15:52:01 +0000 (09:52 -0600)]
correct static string clearing loop (closes #16906)
Serhiy Storchaka [Wed, 9 Jan 2013 10:24:48 +0000 (12:24 +0200)]
Issue #16491: IDLE now prints chained exception tracebacks.
Serhiy Storchaka [Wed, 9 Jan 2013 10:21:57 +0000 (12:21 +0200)]
Issue #16491: IDLE now prints chained exception tracebacks.
Serhiy Storchaka [Tue, 8 Jan 2013 22:13:38 +0000 (00:13 +0200)]
Issue #16843: Make concurrent tests for sched module deterministic.
Serhiy Storchaka [Tue, 8 Jan 2013 21:40:52 +0000 (23:40 +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 21:18:42 +0000 (23:18 +0200)]
Null merge
Serhiy Storchaka [Tue, 8 Jan 2013 21:14:24 +0000 (23:14 +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:45:42 +0000 (22:45 +0200)]
Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.
Charles-François Natali [Tue, 8 Jan 2013 18:51:56 +0000 (19:51 +0100)]
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
Charles-François Natali [Tue, 8 Jan 2013 18:49:42 +0000 (19:49 +0100)]
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
Vinay Sajip [Tue, 8 Jan 2013 11:26:30 +0000 (11:26 +0000)]
Issue #16884: Merged doc fix from 3.2.
Vinay Sajip [Tue, 8 Jan 2013 11:25:42 +0000 (11:25 +0000)]
Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier.
Serhiy Storchaka [Tue, 8 Jan 2013 09:36:54 +0000 (11:36 +0200)]
Issue #15845: Fix comparison between bytes and string.
Serhiy Storchaka [Tue, 8 Jan 2013 09:32:58 +0000 (11:32 +0200)]
Issue #15845: Fix comparison between bytes and string.
Serhiy Storchaka [Mon, 7 Jan 2013 21:13:46 +0000 (23:13 +0200)]
Issue #15972: Fix error messages when os functions expecting a file name or
file descriptor receive the incorrect type.
Vinay Sajip [Mon, 7 Jan 2013 14:18:19 +0000 (14:18 +0000)]
Issue #16884: Merged logging documentation fixes from 3.2.
Vinay Sajip [Mon, 7 Jan 2013 14:16:52 +0000 (14:16 +0000)]
Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate.
R David Murray [Sun, 6 Jan 2013 21:13:51 +0000 (16:13 -0500)]
merge #16877: Add mention that shell-style path expansions are not automatic.
R David Murray [Sun, 6 Jan 2013 21:13:10 +0000 (16:13 -0500)]
#16877: Add mention that shell-style path expansions are not automatic.
Christian Heimes [Sun, 6 Jan 2013 15:41:56 +0000 (16:41 +0100)]
Issue #16881: Fix Py_ARRAY_LENGTH macro for GCC < 3.1.
Eli Bendersky [Sat, 5 Jan 2013 14:26:39 +0000 (06:26 -0800)]
The get() and iter() are now able to accept keyword arguments.
In conformance with the documentation and the Python version.
Patch by Franck Michea.
Ezio Melotti [Sat, 5 Jan 2013 05:38:37 +0000 (07:38 +0200)]
#16862: merge with 3.2.
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 [Sat, 5 Jan 2013 04:54:23 +0000 (06:54 +0200)]
Merge example fix with 3.2.
Ezio Melotti [Sat, 5 Jan 2013 04:53:27 +0000 (06:53 +0200)]
Fix example by making the exception inherit from Exception.
Ezio Melotti [Fri, 4 Jan 2013 22:51:20 +0000 (00:51 +0200)]
#13094: merge with 3.2.
Ezio Melotti [Fri, 4 Jan 2013 22:50:46 +0000 (00:50 +0200)]
#13094: add Programming FAQ entry about the behavior of closures.
Serhiy Storchaka [Fri, 4 Jan 2013 10:39:34 +0000 (12:39 +0200)]
Issue #16856: Fix a segmentation fault from calling repr() on a dict with
a key whose repr raise an exception.
Benjamin Peterson [Fri, 4 Jan 2013 04:34:49 +0000 (20:34 -0800)]
merge 3.2
Benjamin Peterson [Fri, 4 Jan 2013 04:34:40 +0000 (20:34 -0800)]
merge heads
Benjamin Peterson [Fri, 4 Jan 2013 04:34:19 +0000 (20:34 -0800)]
drop email (closes #16857)
Christian Heimes [Thu, 3 Jan 2013 08:21:55 +0000 (09:21 +0100)]
Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in
non-pydebug builds. Several extension modules now compile cleanly when
assert()s are enabled in standard builds (-DDEBUG flag).
Victor Stinner [Thu, 3 Jan 2013 02:37:47 +0000 (03:37 +0100)]
(Merge 3.2) Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB.
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:54:27 +0000 (02:54 +0100)]
issue 10527: fix missing import
Victor Stinner [Thu, 3 Jan 2013 00:56:38 +0000 (01:56 +0100)]
(Merge 3.2) Issue #16218, #16414, #16444: Backport FS_NONASCII,
TESTFN_UNDECODABLE, TESTFN_NONASCII of test.support from Python 3.4. Backport
tests on non-ASCII paths.
Victor Stinner [Thu, 3 Jan 2013 00:50:30 +0000 (01:50 +0100)]
Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE,
TESTFN_NONASCII of test.support from Python 3.4. Backport tests on non-ASCII
paths.
Victor Stinner [Thu, 3 Jan 2013 00:21:07 +0000 (01:21 +0100)]
(Merge 3.2) Issue #16455: On FreeBSD and Solaris, if the locale is C, the
ASCII/surrogateescape codec is now used, instead of the locale encoding, to
decode the command line arguments. This change fixes inconsistencies with
os.fsencode() and os.fsdecode() because these operating systems announces an
ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
Victor Stinner [Thu, 3 Jan 2013 00:08:58 +0000 (01:08 +0100)]
Issue #16455: On FreeBSD and Solaris, if the locale is C, the
ASCII/surrogateescape codec is now used, instead of the locale encoding, to
decode the command line arguments. This change fixes inconsistencies with
os.fsencode() and os.fsdecode() because these operating systems announces an
ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
Nadeem Vawda [Wed, 2 Jan 2013 22:10:47 +0000 (23:10 +0100)]
Correction: issue #16828 also affects BZ2Compressor.compress().
Nadeem Vawda [Wed, 2 Jan 2013 22:05:56 +0000 (23:05 +0100)]
Issue #16828: Fix error incorrectly raised by bz2.compress('').
Initial patch by Martin Packman.
Nadeem Vawda [Wed, 2 Jan 2013 22:02:00 +0000 (23:02 +0100)]
Issue #16828: Fix error incorrectly raised by bz2.compress('').
Patch by Martin Packman.
Ezio Melotti [Wed, 2 Jan 2013 20:29:41 +0000 (22:29 +0200)]
#16747: merge with 3.2.
Ezio Melotti [Wed, 2 Jan 2013 20:29:09 +0000 (22:29 +0200)]
#16747: fix link to file objects in the glossary.
Ezio Melotti [Wed, 2 Jan 2013 19:19:37 +0000 (21:19 +0200)]
#16748: test_heapq now works with unittest test discovery.
Benjamin Peterson [Wed, 2 Jan 2013 18:22:11 +0000 (12:22 -0600)]
add Tom Tromey to ACKS
Eli Bendersky [Wed, 2 Jan 2013 13:54:36 +0000 (05:54 -0800)]
Fix method name in documentation (__setstate__ --> __getstate__)
Eli Bendersky [Wed, 2 Jan 2013 13:53:59 +0000 (05:53 -0800)]
Fix method name in documentation (__setstate__ --> __getstate__)
Serhiy Storchaka [Wed, 2 Jan 2013 10:31:26 +0000 (12:31 +0200)]
Fix incorrect grammar in sched documentation.
Serhiy Storchaka [Wed, 2 Jan 2013 10:05:38 +0000 (12:05 +0200)]
Fix incorrect grammar in Misc/NEWS.
Serhiy Storchaka [Wed, 2 Jan 2013 09:57:22 +0000 (11:57 +0200)]
Fix incorrect grammar in Misc/NEWS.
Serhiy Storchaka [Wed, 2 Jan 2013 08:38:45 +0000 (10:38 +0200)]
Merge heads
Serhiy Storchaka [Wed, 2 Jan 2013 08:37:54 +0000 (10:37 +0200)]
Merge heads