]>
granicus.if.org Git - python/log
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
Serhiy Storchaka [Wed, 2 Jan 2013 08:32:13 +0000 (10:32 +0200)]
Merge heads
Łukasz Langa [Wed, 2 Jan 2013 00:02:17 +0000 (01:02 +0100)]
Null-merged Misc/NEWS change
Łukasz Langa [Tue, 1 Jan 2013 23:44:36 +0000 (00:44 +0100)]
Misc/NEWS updated to tell about #16820
Łukasz Langa [Tue, 1 Jan 2013 23:39:59 +0000 (00:39 +0100)]
Misc/NEWS updated to tell about #14590 and #16820
Łukasz Langa [Tue, 1 Jan 2013 22:50:03 +0000 (23:50 +0100)]
Null-merged 3.2 section order preservation fix when using `__setitem__` (issue
#16820)
Łukasz Langa [Tue, 1 Jan 2013 22:45:33 +0000 (23:45 +0100)]
configparser: preserve section order when using `__setitem__` (issue #16820)
Victor Stinner [Tue, 1 Jan 2013 22:11:21 +0000 (23:11 +0100)]
Issue #9644: Add a test on os.statvfs() for the PEP 383
Serhiy Storchaka [Tue, 1 Jan 2013 22:07:21 +0000 (00:07 +0200)]
Issue #16541: tk_setPalette() now works with keyword arguments.
Added a test for tk_setPalette().
Victor Stinner [Tue, 1 Jan 2013 22:05:55 +0000 (23:05 +0100)]
Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding
with the surrogateescape error handler, instead of UTF-8 in strict mode.
Serhiy Storchaka [Tue, 1 Jan 2013 22:03:58 +0000 (00:03 +0200)]
Issue #16541: tk_setPalette() now works with keyword arguments.
Added a test for tk_setPalette().
Łukasz Langa [Tue, 1 Jan 2013 21:33:19 +0000 (22:33 +0100)]
configparser: preserve section order when using `__setitem__` (issue #16820)
Serhiy Storchaka [Tue, 1 Jan 2013 20:32:42 +0000 (22:32 +0200)]
Issue #16819: IDLE method completion now correctly works for bytes literals.
Serhiy Storchaka [Tue, 1 Jan 2013 20:25:59 +0000 (22:25 +0200)]
Issue #16819: IDLE method completion now correctly works for bytes literals.
Ned Deily [Tue, 1 Jan 2013 20:08:39 +0000 (12:08 -0800)]
Update copyright dates in Mac plists.
Ned Deily [Tue, 1 Jan 2013 20:07:15 +0000 (12:07 -0800)]
Update copyright dates in Mac plists.
Richard Oudkerk [Tue, 1 Jan 2013 17:36:53 +0000 (17:36 +0000)]
Issue #9586: Merge
Richard Oudkerk [Tue, 1 Jan 2013 17:29:44 +0000 (17:29 +0000)]
Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
Eli Bendersky [Tue, 1 Jan 2013 15:41:51 +0000 (07:41 -0800)]
Make indentation consistent
Benjamin Peterson [Tue, 1 Jan 2013 03:44:00 +0000 (21:44 -0600)]
update another year
Benjamin Peterson [Tue, 1 Jan 2013 03:37:21 +0000 (21:37 -0600)]
bring Python into 2013
Eli Bendersky [Mon, 31 Dec 2012 23:34:20 +0000 (15:34 -0800)]
Make indentation consistent and remove dead commented-out code.
Giampaolo Rodola' [Mon, 31 Dec 2012 16:38:17 +0000 (17:38 +0100)]
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
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.
Łukasz Langa [Mon, 31 Dec 2012 12:55:11 +0000 (13:55 +0100)]
Fixes `__setitem__` on parser['DEFAULT'] reported in issue #16820.
Serhiy Storchaka [Mon, 31 Dec 2012 09:31:41 +0000 (11:31 +0200)]
Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
Łukasz Langa [Mon, 31 Dec 2012 02:41:54 +0000 (03:41 +0100)]
Merged `parser.clean()` fix (issue #16820) from 3.2.
Łukasz Langa [Mon, 31 Dec 2012 02:40:36 +0000 (03:40 +0100)]
added Wolfgang Scherer to acknowledgements
Łukasz Langa [Mon, 31 Dec 2012 02:38:39 +0000 (03:38 +0100)]
Fixes `parser.clean()` reported in issue #16820.
Łukasz Langa [Mon, 31 Dec 2012 01:25:28 +0000 (02:25 +0100)]
Merged fix for #15803 from 3.2
Łukasz Langa [Mon, 31 Dec 2012 01:18:20 +0000 (02:18 +0100)]
Fixes issue #15803: incorrect `ConfigParser.items()` docstring
Antoine Pitrou [Sun, 30 Dec 2012 21:46:04 +0000 (22:46 +0100)]
Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
Serhiy Storchaka [Sun, 30 Dec 2012 18:17:28 +0000 (20:17 +0200)]
Issue #16645: Fix hardlink extracting test for tarfile.
Serhiy Storchaka [Sun, 30 Dec 2012 18:16:30 +0000 (20:16 +0200)]
Issue #16645: Fix hardlink extracting test for tarfile.
Eli Bendersky [Sun, 30 Dec 2012 14:27:56 +0000 (06:27 -0800)]
Skip a test correctly for the C-version. The decorator doesn't really work
because it evaluates its condition before pyET is even set by test_main.
Therefore, the check it moved to "runtime".
Eli Bendersky [Sun, 30 Dec 2012 14:17:49 +0000 (06:17 -0800)]
For Issue #16076: make sure that pickling of Element objects is tested, and do
it properly to avoid problems with test-run-order dependencies.
Serhiy Storchaka [Sat, 29 Dec 2012 21:38:48 +0000 (23:38 +0200)]
Issue #16688: Fix backreferences did make case-insensitive regex fail on non-ASCII strings.
Patch by Matthew Barnett.
Andrew Svetlov [Sat, 29 Dec 2012 21:08:07 +0000 (23:08 +0200)]
Fix docstring in curses (#16782)
Andrew Svetlov [Sat, 29 Dec 2012 21:07:50 +0000 (23:07 +0200)]
Fix docstring in curses (#16782)
Serhiy Storchaka [Sat, 29 Dec 2012 20:36:23 +0000 (22:36 +0200)]
Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file.
Serhiy Storchaka [Sat, 29 Dec 2012 20:30:56 +0000 (22:30 +0200)]
Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file.
Serhiy Storchaka [Sat, 29 Dec 2012 19:34:11 +0000 (21:34 +0200)]
Issue #16165: Fix sched.scheduler.run() method was block a scheduler for
other threads.
Serhiy Storchaka [Sat, 29 Dec 2012 19:13:45 +0000 (21:13 +0200)]
Issue #16641: Fix default values of sched.scheduler.enter arguments were modifiable.
Serhiy Storchaka [Sat, 29 Dec 2012 18:57:52 +0000 (20:57 +0200)]
Issue #16642: Document kwargs field in sched.Event named tuple.
Antoine Pitrou [Fri, 28 Dec 2012 18:08:49 +0000 (19:08 +0100)]
Forward port new test for SSLSocket.connect_ex()
Antoine Pitrou [Fri, 28 Dec 2012 18:07:43 +0000 (19:07 +0100)]
Forward port new test for SSLSocket.connect_ex()
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 08:02:42 +0000 (10:02 +0200)]
Issue #16761: Raise TypeError when int() called with base argument only.
Serhiy Storchaka [Fri, 28 Dec 2012 07:42:11 +0000 (09:42 +0200)]
Issue #16761: Raise TypeError when int() called with base argument only.
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:25:54 +0000 (18:25 -0800)]
Merge from 3.2: Issue #15324: Fix regrtest --fromfile, --match, --randomize.
Chris Jerdonek [Fri, 28 Dec 2012 02:16:32 +0000 (18:16 -0800)]
Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize.
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 [Fri, 28 Dec 2012 00:00:22 +0000 (02:00 +0200)]
#16796: merge with 3.2.
Ezio Melotti [Thu, 27 Dec 2012 23:59:24 +0000 (01:59 +0200)]
#16796: fix typo. Patch by Michael Schurter.
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:34:57 +0000 (00:34 +0200)]
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Serhiy Storchaka [Thu, 27 Dec 2012 22:32:19 +0000 (00:32 +0200)]
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Serhiy Storchaka [Thu, 27 Dec 2012 22:16:53 +0000 (00:16 +0200)]
Issue #16792: Mark small ints test as CPython-only.
Serhiy Storchaka [Thu, 27 Dec 2012 21:57:00 +0000 (23:57 +0200)]
Issue #16792: Mark small ints test as CPython-only.
Ezio Melotti [Thu, 27 Dec 2012 21:52:36 +0000 (23:52 +0200)]
Null merge with 3.2.
Serhiy Storchaka [Thu, 27 Dec 2012 21:07:00 +0000 (23:07 +0200)]
Issue #16792: Mark small ints test as CPython-only.
Chris Jerdonek [Thu, 27 Dec 2012 20:53:29 +0000 (12:53 -0800)]
Issue #16790: add some of the recent issue #16045 int tests to test_long.
This patch also provides a simple way to share tests going forward
between test_int and test_long.
Brian Curtin [Thu, 27 Dec 2012 20:37:06 +0000 (14:37 -0600)]
Fix #16759. Convert DWORD registry values using unsigned long.
When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.
Brian Curtin [Thu, 27 Dec 2012 20:14:42 +0000 (14:14 -0600)]
another merge
Brian Curtin [Thu, 27 Dec 2012 20:12:43 +0000 (14:12 -0600)]
Merge
Brian Curtin [Thu, 27 Dec 2012 20:06:06 +0000 (14:06 -0600)]
Merge 3.2
Brian Curtin [Thu, 27 Dec 2012 20:04:42 +0000 (14:04 -0600)]
Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong.
When converting REG_DWORD registry values into Python ints, the conversion
needs to be made from an *unsigned* long to match the DWORD type.
Serhiy Storchaka [Thu, 27 Dec 2012 20:00:12 +0000 (22:00 +0200)]
Null merge.
Serhiy Storchaka [Thu, 27 Dec 2012 19:53:06 +0000 (21:53 +0200)]
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
Serhiy Storchaka [Thu, 27 Dec 2012 19:38:04 +0000 (21:38 +0200)]
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
Serhiy Storchaka [Thu, 27 Dec 2012 19:34:23 +0000 (21:34 +0200)]
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Serhiy Storchaka [Thu, 27 Dec 2012 18:46:19 +0000 (20:46 +0200)]
Issue #16682: Replace "Python string" to "bytes object" in audioop documentation.
Serhiy Storchaka [Thu, 27 Dec 2012 18:43:36 +0000 (20:43 +0200)]
Issue #16682: Replace "Python string" to "bytes object" in audioop documentation.
Brian Curtin [Thu, 27 Dec 2012 18:28:51 +0000 (12:28 -0600)]
Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.
This fixes a ValueError seen in winreg.SetValueEx when passed long
winreg.REG_DWORD values that should be supported by the underlying API.
Brian Curtin [Thu, 27 Dec 2012 16:14:30 +0000 (10:14 -0600)]
Merge 3.2