]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Charles-François Natali [Thu, 8 May 2014 22:08:51 +0000 (23:08 +0100)]
Issue #21037: Add a build option to enable AddressSanitizer support.
R David Murray [Thu, 8 May 2014 14:06:17 +0000 (10:06 -0400)]
Merge #21300: fix typo
R David Murray [Thu, 8 May 2014 14:05:47 +0000 (10:05 -0400)]
#21300: fix typo
Kristján Valur Jónsson [Thu, 8 May 2014 11:18:27 +0000 (11:18 +0000)]
Merge with 3.4
Kristján Valur Jónsson [Thu, 8 May 2014 10:59:52 +0000 (10:59 +0000)]
Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
Kristján Valur Jónsson [Thu, 8 May 2014 10:36:27 +0000 (10:36 +0000)]
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
Kristján Valur Jónsson [Thu, 8 May 2014 10:36:27 +0000 (10:36 +0000)]
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
Tim Golden [Wed, 7 May 2014 17:08:08 +0000 (18:08 +0100)]
Issue19643 Fix whitespace
Tim Golden [Wed, 7 May 2014 17:05:45 +0000 (18:05 +0100)]
Issue19643 Add an example of shutil.rmtree which shows how to cope with readonly files on Windows
doko@ubuntu.com [Wed, 7 May 2014 11:08:51 +0000 (13:08 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.
doko@ubuntu.com [Wed, 7 May 2014 10:57:44 +0000 (12:57 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.
doko@ubuntu.com [Wed, 7 May 2014 02:44:42 +0000 (04:44 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.
R David Murray [Wed, 7 May 2014 01:33:50 +0000 (21:33 -0400)]
Merge: #21300: Clean up the docs for the email "policy" arguments.
R David Murray [Wed, 7 May 2014 01:33:18 +0000 (21:33 -0400)]
#21300: Clean up the docs for the email "policy" arguments.
Guido van Rossum [Tue, 6 May 2014 21:45:39 +0000 (14:45 -0700)]
Merge 3.4->default: asyncio: Fix the second half of issue #21447: race in _write_to_self().
Guido van Rossum [Tue, 6 May 2014 21:42:40 +0000 (14:42 -0700)]
asyncio: Fix the second half of issue #21447: race in _write_to_self().
Zachary Ware [Tue, 6 May 2014 16:42:37 +0000 (11:42 -0500)]
Issue #21442: Fix MSVC compiler warning introduced by issue21377.
Zachary Ware [Tue, 6 May 2014 14:19:16 +0000 (09:19 -0500)]
Merge with 3.4
Zachary Ware [Tue, 6 May 2014 14:18:17 +0000 (09:18 -0500)]
Add prompts to interactive example.
This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.
Zachary Ware [Tue, 6 May 2014 14:07:51 +0000 (09:07 -0500)]
Issue #21366: Document the fact that ``return`` in a ``finally`` clause
overrides a ``return`` in the ``try`` suite.
Zachary Ware [Tue, 6 May 2014 14:07:13 +0000 (09:07 -0500)]
Issue #21366: Document the fact that ``return`` in a ``finally`` clause
overrides a ``return`` in the ``try`` suite.
Tim Golden [Tue, 6 May 2014 12:29:45 +0000 (13:29 +0100)]
Issue21393 Use CryptReleaseContext to release Crypt handle on Windows
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.