]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Tim Golden [Tue, 6 May 2014 12:24:26 +0000 (13:24 +0100)]
Issue21440 Use support.rmtree in test_zipfile & test_tarfile
Victor Stinner [Tue, 6 May 2014 09:32:29 +0000 (11:32 +0200)]
Issue #21233: Fix _PyObject_Alloc() when compiled with WITH_VALGRIND defined
Tim Golden [Mon, 5 May 2014 19:59:50 +0000 (20:59 +0100)]
Issue18314 ACKS & NEWS
Tim Golden [Mon, 5 May 2014 18:46:17 +0000 (19:46 +0100)]
Issue18314 Allow unlink to remove junctions. Includes support for creating junctions. Patch by Kim Gräsman
Guido van Rossum [Mon, 5 May 2014 14:35:29 +0000 (07:35 -0700)]
Merge 3.4->default: asyncio docs: ProactorEventLoop does not support SSL.
Guido van Rossum [Mon, 5 May 2014 14:34:56 +0000 (07:34 -0700)]
asyncio docs: ProactorEventLoop does not support SSL.
Larry Hastings [Sun, 4 May 2014 11:45:57 +0000 (04:45 -0700)]
Issue #21088: Merge from 3.4.
Larry Hastings [Sun, 4 May 2014 11:41:18 +0000 (04:41 -0700)]
Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0.
In porting to Argument Clinic, the first two arguments were reversed.
Raymond Hettinger [Sun, 4 May 2014 04:58:45 +0000 (21:58 -0700)]
Issue #19414: Have the OrderedDict mark deleted links as unusable.
This gives an earlier and more visible failure if a link is deleted
during iteration.
Ned Deily [Sun, 4 May 2014 02:25:34 +0000 (19:25 -0700)]
Issue #18604: merge from 3.4
Ned Deily [Sun, 4 May 2014 02:24:05 +0000 (19:24 -0700)]
Issue #18604: Skip the Tk instantiation test on OS X because it can
cause GUI tests to segfault in Cocoa Tk when run under regrtest -j
(multiple threads running subprocesses).
Raymond Hettinger [Sun, 4 May 2014 02:06:32 +0000 (19:06 -0700)]
Issue #21421: Add __slots__ to the MappingViews ABCs.
Raymond Hettinger [Sun, 4 May 2014 01:45:54 +0000 (18:45 -0700)]
Neaten-up a bit add add missing size change check.
Raymond Hettinger [Sun, 4 May 2014 01:36:48 +0000 (18:36 -0700)]
Simplify and speedup the internals of the heapq module.
Benjamin Peterson [Sun, 4 May 2014 00:22:00 +0000 (20:22 -0400)]
improve idioms (closes #20642)
Patch by Claudiu Popa.
Benjamin Peterson [Sun, 4 May 2014 00:18:56 +0000 (20:18 -0400)]
merge 3.4
Benjamin Peterson [Sun, 4 May 2014 00:18:50 +0000 (20:18 -0400)]
use with blocks to make sure files are closed
Benjamin Peterson [Sun, 4 May 2014 00:16:59 +0000 (20:16 -0400)]
merge 3.4 (#21357)
Benjamin Peterson [Sun, 4 May 2014 00:07:16 +0000 (20:07 -0400)]
improve test coverage of filecmp (closes #21357)
Patch by Diana Clarke.
Benjamin Peterson [Sat, 3 May 2014 23:39:15 +0000 (19:39 -0400)]
do not expose known hash api in stable API
Raymond Hettinger [Sat, 3 May 2014 23:41:19 +0000 (16:41 -0700)]
Issue #21101: Eliminate double hashing in the C code for collections.Counter().
Raymond Hettinger [Sat, 3 May 2014 23:32:11 +0000 (16:32 -0700)]
Issue 21101: Internal API for dict getitem and setitem where the hash value is known.
Raymond Hettinger [Sat, 3 May 2014 22:26:17 +0000 (15:26 -0700)]
merge
Raymond Hettinger [Sat, 3 May 2014 22:22:07 +0000 (15:22 -0700)]
Issue 21375: Fix possible Py_ssizet overflow in heapq.
Victor Stinner [Fri, 2 May 2014 21:26:03 +0000 (23:26 +0200)]
Issue #21233: Oops, Fix _PyObject_Alloc(): initialize nbytes before going to
redirect.
Victor Stinner [Fri, 2 May 2014 20:31:14 +0000 (22:31 +0200)]
Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(),
PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now
using ``calloc()`` instead of ``malloc()`` for large objects which is faster
and use less memory (until the bytearray buffer is filled with data).
Victor Stinner [Fri, 2 May 2014 20:06:44 +0000 (22:06 +0200)]
Issue #21393: random.c: on Windows, close the hCryptProv handle at exit
Zachary Ware [Fri, 2 May 2014 15:52:12 +0000 (10:52 -0500)]
Closes #18604: Merge with 3.4
Zachary Ware [Fri, 2 May 2014 15:51:07 +0000 (10:51 -0500)]
Issue #18604: Consolidated checks for GUI availability.
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in tkinter.test.support.check_tk_availability. Also, every platform
checks whether Tk can be instantiated (if the platform-specific checks
passed).
Stefan Krah [Fri, 2 May 2014 12:34:11 +0000 (14:34 +0200)]
Use $type instead of $cls in the signature specification.
Stefan Krah [Thu, 1 May 2014 15:42:33 +0000 (17:42 +0200)]
Fix typo and tests without docstrings.
Stefan Krah [Thu, 1 May 2014 13:53:42 +0000 (15:53 +0200)]
Issue #21407: _decimal now supports function signatures.
Martin v. Löwis [Thu, 1 May 2014 13:18:43 +0000 (15:18 +0200)]
Merge with 3.4
Antoine Pitrou [Thu, 1 May 2014 12:36:20 +0000 (14:36 +0200)]
Issue #21377: PyBytes_Concat() now tries to concatenate in-place when the first argument has a reference count of 1.
Patch by Nikolaus Rath.
Martin v. Löwis [Thu, 1 May 2014 12:28:48 +0000 (14:28 +0200)]
Update to 1.0.1g
Zachary Ware [Wed, 30 Apr 2014 21:29:51 +0000 (16:29 -0500)]
Unite 'Build' sections of Misc/NEWS
Zachary Ware [Wed, 30 Apr 2014 20:47:53 +0000 (15:47 -0500)]
Issue #19962: The Windows build process now creates "python.bat"
in the root of the source tree, which passes all arguments through
to the most recently built interpreter.
Stefan Krah [Wed, 30 Apr 2014 17:15:38 +0000 (19:15 +0200)]
Issue #10650: Remove the non-standard 'watchexp' parameter from the
Decimal.quantize() method in the Python version. It had never been
present in the C version.
Benjamin Peterson [Wed, 30 Apr 2014 15:06:16 +0000 (11:06 -0400)]
setup.py: report modules which built but import failed (closes #21282)
Patch by Lukas Vacek.
Gregory P. Smith [Tue, 29 Apr 2014 18:34:15 +0000 (11:34 -0700)]
Document the subprocess Popen.args attribute (issue21353)
Gregory P. Smith [Tue, 29 Apr 2014 18:33:56 +0000 (11:33 -0700)]
Document the subprocess Popen.args attribute (issue21353)
Gregory P. Smith [Tue, 29 Apr 2014 18:33:23 +0000 (11:33 -0700)]
Document the subprocess Popen.args attribute (issue21353)
Stefan Krah [Tue, 29 Apr 2014 16:25:14 +0000 (18:25 +0200)]
Null merge.
Stefan Krah [Tue, 29 Apr 2014 16:24:50 +0000 (18:24 +0200)]
Issue #21374: Fix pickling of DecimalTuple.
Stefan Krah [Tue, 29 Apr 2014 16:23:35 +0000 (18:23 +0200)]
Issue #21374: Fix pickling of DecimalTuple.
Jesus Cea [Tue, 29 Apr 2014 16:18:58 +0000 (18:18 +0200)]
MERGE: Closes issue #21316: mark test_devpoll to be meaningfull only for Solaris
Jesus Cea [Tue, 29 Apr 2014 16:18:37 +0000 (18:18 +0200)]
Closes issue #21316: mark test_devpoll to be meaningfull only for Solaris
Zachary Ware [Tue, 29 Apr 2014 14:47:39 +0000 (09:47 -0500)]
Closes #17386: Merge with 3.4
Zachary Ware [Tue, 29 Apr 2014 14:45:33 +0000 (09:45 -0500)]
Issue #17386: Expand Doc/make.bat to be much more similar to Doc/Makefile
Zachary Ware [Tue, 29 Apr 2014 14:26:56 +0000 (09:26 -0500)]
Issue #17386: Update Doc/README.txt to list all targets
supported by Doc/Makefile, as well as a bit of modernization,
cleanup, and notes about the difference between Unix and Windows.
Zachary Ware [Tue, 29 Apr 2014 14:24:40 +0000 (09:24 -0500)]
Issue #17386: List the 'htmlview' target in the Doc/Makefile help output.
Antoine Pitrou [Tue, 29 Apr 2014 10:14:47 +0000 (12:14 +0200)]
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
Patch by Anton Afanasyev.
Antoine Pitrou [Tue, 29 Apr 2014 10:13:46 +0000 (12:13 +0200)]
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
Patch by Anton Afanasyev.
Antoine Pitrou [Tue, 29 Apr 2014 08:27:09 +0000 (10:27 +0200)]
Fix failure in test_poplib after issue #20951.
Antoine Pitrou [Tue, 29 Apr 2014 08:14:02 +0000 (10:14 +0200)]
Issue #21057: TextIOWrapper now allows the underlying binary stream's read() or read1() method to return an arbitrary bytes-like object (such as a memoryview).
Patch by Nikolaus Rath.
Antoine Pitrou [Tue, 29 Apr 2014 08:05:59 +0000 (10:05 +0200)]
Add porting note for issue #20951.
Antoine Pitrou [Tue, 29 Apr 2014 08:03:28 +0000 (10:03 +0200)]
Issue #20951: SSLSocket.send() now raises either SSLWantReadError or SSLWantWriteError on a non-blocking socket if the operation would block. Previously, it would return 0.
Patch by Nikolaus Rath.
Terry Jan Reedy [Tue, 29 Apr 2014 05:19:41 +0000 (01:19 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 29 Apr 2014 05:19:17 +0000 (01:19 -0400)]
Issue #21055: Index (augmented) assignment symbols.
Terry Jan Reedy [Tue, 29 Apr 2014 04:59:19 +0000 (00:59 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 29 Apr 2014 04:58:56 +0000 (00:58 -0400)]
Closes 21048: Index 'as' in import and with statements.
Terry Jan Reedy [Tue, 29 Apr 2014 04:32:17 +0000 (00:32 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 29 Apr 2014 04:31:53 +0000 (00:31 -0400)]
Issue #21026: Augment site doc based on experiments. Patch by Carol Willing.
Giampaolo Rodola' [Tue, 29 Apr 2014 00:04:14 +0000 (02:04 +0200)]
merge heads
Giampaolo Rodola' [Tue, 29 Apr 2014 00:03:40 +0000 (02:03 +0200)]
fix isuse #13248: remove previously deprecated asyncore.dispatcher __getattr__ cheap inheritance hack.
Antoine Pitrou [Mon, 28 Apr 2014 23:58:06 +0000 (01:58 +0200)]
Issue #18727: improve test coverage of the csv module by testing for DictWriter.writerows.
Patch by Muhammad Jehanzeb.
Antoine Pitrou [Mon, 28 Apr 2014 23:39:26 +0000 (01:39 +0200)]
Issue #9307: document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by Yury V. Zaytsev.
Antoine Pitrou [Mon, 28 Apr 2014 23:39:03 +0000 (01:39 +0200)]
Issue #9307: document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by Yury V. Zaytsev.
Antoine Pitrou [Mon, 28 Apr 2014 23:25:07 +0000 (01:25 +0200)]
Issue #9815: assertRaises now tries to clear references to local variables in the exception's traceback.
Antoine Pitrou [Mon, 28 Apr 2014 23:23:50 +0000 (01:23 +0200)]
Issue #9815: assertRaises now tries to clear references to local variables in the exception's traceback.
Antoine Pitrou [Mon, 28 Apr 2014 22:58:02 +0000 (00:58 +0200)]
Remove a workaround for fixed issue #20355.
Antoine Pitrou [Mon, 28 Apr 2014 22:56:08 +0000 (00:56 +0200)]
Issue #20355: -W command line options now have higher priority than the PYTHONWARNINGS environment variable. Patch by Arfrever.
Ned Deily [Mon, 28 Apr 2014 20:46:36 +0000 (13:46 -0700)]
Issue #17861: Allow generate_opcode_h to run with a system Python 2.5.
Patch by David Bolen.
Antoine Pitrou [Mon, 28 Apr 2014 19:12:11 +0000 (21:12 +0200)]
Issue #21312: Update the thread_foobar.h template file to include newer threading APIs. Patch by Jack McCracken.
Antoine Pitrou [Mon, 28 Apr 2014 18:57:36 +0000 (20:57 +0200)]
Issue #19940: ssl.cert_time_to_seconds() now interprets the given time string in the UTC timezone (as specified in RFC 5280), not the local timezone.
Patch by Akira.
Antoine Pitrou [Mon, 28 Apr 2014 11:08:28 +0000 (13:08 +0200)]
Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it raises a TypeError.
Antoine Pitrou [Mon, 28 Apr 2014 11:07:06 +0000 (13:07 +0200)]
Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it raises a TypeError.
Guido van Rossum [Sun, 27 Apr 2014 17:44:46 +0000 (10:44 -0700)]
Merge 3.4 -> default: asyncio: Add __weakref__ slots to Handle and CoroWrapper. Upstream issue #166.
Guido van Rossum [Sun, 27 Apr 2014 17:44:22 +0000 (10:44 -0700)]
asyncio: Add __weakref__ slots to Handle and CoroWrapper. Upstream issue #166.
Guido van Rossum [Sun, 27 Apr 2014 17:34:39 +0000 (10:34 -0700)]
Merge 3.4 -> default: asyncio: Be careful accessing instance variables in __del__ (closes #21340).
Tim Golden [Sun, 27 Apr 2014 17:35:51 +0000 (18:35 +0100)]
Backed out changeset:
4b97092aa4bd
Tim Golden [Sun, 27 Apr 2014 17:35:36 +0000 (18:35 +0100)]
Backed out changeset:
17df50df62c7
Guido van Rossum [Sun, 27 Apr 2014 17:33:58 +0000 (10:33 -0700)]
asyncio: Be careful accessing instance variables in __del__ (closes #21340).
Tim Golden [Sun, 27 Apr 2014 17:02:35 +0000 (18:02 +0100)]
Issue #18314 Add NEWS item.
Tim Golden [Sun, 27 Apr 2014 17:00:10 +0000 (18:00 +0100)]
Issue #18314 os.unlink will now remove junction points on Windows. Patch by Kim Gräsman.
R David Murray [Sat, 26 Apr 2014 23:01:47 +0000 (19:01 -0400)]
Merge: #18243: Remove obsolete cautionary note from email mktime_tz docs.
R David Murray [Sat, 26 Apr 2014 23:01:18 +0000 (19:01 -0400)]
#18243: Remove obsolete cautionary note from email mktime_tz docs.
Benjamin Peterson [Sat, 26 Apr 2014 20:57:11 +0000 (16:57 -0400)]
merge 3.4 (#19385)
Benjamin Peterson [Sat, 26 Apr 2014 20:56:52 +0000 (16:56 -0400)]
make operations on closed dumb databases raise a consistent exception (closes #19385)
Patch by Claudiu Popa.
Benjamin Peterson [Sat, 26 Apr 2014 17:36:35 +0000 (13:36 -0400)]
merge 3.4 (#21355)
Benjamin Peterson [Sat, 26 Apr 2014 17:36:21 +0000 (13:36 -0400)]
shallow defaults to 'True' not '1' (closes #21355)
Patch by Diana Clarke.
Antoine Pitrou [Sat, 26 Apr 2014 12:35:19 +0000 (14:35 +0200)]
Issue #21207: Detect when the os.urandom cached fd has been closed or replaced, and open it anew.
Antoine Pitrou [Sat, 26 Apr 2014 12:33:03 +0000 (14:33 +0200)]
Issue #21207: Detect when the os.urandom cached fd has been closed or replaced, and open it anew.
Andrew Kuchling [Fri, 25 Apr 2014 13:35:26 +0000 (09:35 -0400)]
Merge from 3.4
Andrew Kuchling [Fri, 25 Apr 2014 13:29:30 +0000 (09:29 -0400)]
#21225: copy docstrings from base classes
Benjamin Peterson [Thu, 24 Apr 2014 23:39:18 +0000 (19:39 -0400)]
sprinkle some _PyId goodness around moduleobject.c
Benjamin Peterson [Thu, 24 Apr 2014 23:29:23 +0000 (19:29 -0400)]
do not override errors from descriptors on modules
Ethan Furman [Thu, 24 Apr 2014 21:47:47 +0000 (14:47 -0700)]
Issue8297: module attribute lookup failures now include module name in error message.
Zachary Ware [Thu, 24 Apr 2014 18:22:47 +0000 (13:22 -0500)]
Closes #21346: Merge with 3.4
Zachary Ware [Thu, 24 Apr 2014 18:22:05 +0000 (13:22 -0500)]
Issue #21346: Fix typo, make message consistent in test_itertools.
Pointed out by Brian Kearns.