]> granicus.if.org Git - python/log
python
9 years agoIssue #24450: Add gi_yieldfrom to generators; cr_await to coroutines.
Yury Selivanov [Fri, 3 Jul 2015 04:23:30 +0000 (00:23 -0400)]
Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines.

Patch by Benno Leslie and Yury Selivanov.

9 years agomerge 3.4
Benjamin Peterson [Thu, 2 Jul 2015 21:58:31 +0000 (16:58 -0500)]
merge 3.4

9 years agouse correct __new__ method (closes #24552)
Benjamin Peterson [Thu, 2 Jul 2015 21:58:22 +0000 (16:58 -0500)]
use correct __new__ method (closes #24552)

9 years agomerge 3.4 (#24552)
Benjamin Peterson [Thu, 2 Jul 2015 21:18:58 +0000 (16:18 -0500)]
merge 3.4 (#24552)

9 years agofix use after free (closes #24552)
Benjamin Peterson [Thu, 2 Jul 2015 21:18:38 +0000 (16:18 -0500)]
fix use after free (closes #24552)

9 years agoIssue #24543: Use AC_LINK instead of AC_COMPILE in order to prevent false
Stefan Krah [Thu, 2 Jul 2015 18:27:56 +0000 (20:27 +0200)]
Issue #24543: Use AC_LINK instead of AC_COMPILE in order to prevent false
positives with the -flto option (gcc >= 4.9.0 and clang).

9 years agoMerge with 3.4: Issue #24514: tarfile now tolerates number fields consisting of only...
Lars Gustäbel [Thu, 2 Jul 2015 17:41:03 +0000 (19:41 +0200)]
Merge with 3.4: Issue #24514: tarfile now tolerates number fields consisting of only whitespace.

9 years agoIssue #24514: tarfile now tolerates number fields consisting of only whitespace.
Lars Gustäbel [Thu, 2 Jul 2015 17:38:38 +0000 (19:38 +0200)]
Issue #24514: tarfile now tolerates number fields consisting of only whitespace.

9 years agoMerge 3.4
Benjamin Peterson [Thu, 2 Jul 2015 03:36:29 +0000 (22:36 -0500)]
Merge 3.4

9 years agoremove stray '(' (closes #24547)
Benjamin Peterson [Thu, 2 Jul 2015 03:36:21 +0000 (22:36 -0500)]
remove stray '(' (closes #24547)

9 years agodocs/conf: Undo changes in b2a3baa1c2b0; issue #24400
Yury Selivanov [Thu, 2 Jul 2015 01:06:59 +0000 (21:06 -0400)]
docs/conf: Undo changes in b2a3baa1c2b0; issue #24400

9 years agoIssue #24400: Mention that __instancecheck__ is used in abc.Awaitable and Coroutine
Yury Selivanov [Wed, 1 Jul 2015 16:49:00 +0000 (12:49 -0400)]
Issue #24400: Mention that __instancecheck__ is used in abc.Awaitable and Coroutine

9 years agoIssue #24400: Add one more unittest for CoroutineType.__await__
Yury Selivanov [Wed, 1 Jul 2015 16:29:55 +0000 (12:29 -0400)]
Issue #24400: Add one more unittest for CoroutineType.__await__

9 years agomerge in setuptools/pip update
Donald Stufft [Wed, 1 Jul 2015 15:31:13 +0000 (11:31 -0400)]
merge in setuptools/pip update

9 years agoUpdate setuptools to 18.0.1 and pip to 7.1.0
Donald Stufft [Wed, 1 Jul 2015 15:30:50 +0000 (11:30 -0400)]
Update setuptools to 18.0.1 and pip to 7.1.0

9 years agoIssue #24487: Rename async() -> ensure_future() in asyncio docs.
Yury Selivanov [Wed, 1 Jul 2015 02:13:22 +0000 (22:13 -0400)]
Issue #24487: Rename async() -> ensure_future() in asyncio docs.

Patch by Martin Panter.

9 years agoIssue #24541: Drop test_inspect.test_eightteen unittest; update docs
Yury Selivanov [Wed, 1 Jul 2015 02:06:42 +0000 (22:06 -0400)]
Issue #24541: Drop test_inspect.test_eightteen unittest; update docs

Suggested by Martin Panter.

9 years agoIssue #24541: Update comment in test_inspect.test_eightteen
Yury Selivanov [Wed, 1 Jul 2015 01:44:52 +0000 (21:44 -0400)]
Issue #24541: Update comment in test_inspect.test_eightteen

9 years agoIssue #24400: Fix failing unittest
Yury Selivanov [Wed, 1 Jul 2015 01:18:27 +0000 (21:18 -0400)]
Issue #24400: Fix failing unittest

9 years agoNote removal of inspect.isawaitable() in the NEWS file
Yury Selivanov [Tue, 30 Jun 2015 22:25:36 +0000 (18:25 -0400)]
Note removal of inspect.isawaitable() in the NEWS file

9 years agoIssue #24400: Remove inspect.isawaitable().
Yury Selivanov [Tue, 30 Jun 2015 22:19:01 +0000 (18:19 -0400)]
Issue #24400: Remove inspect.isawaitable().

isawaitable() was added before collections.abc.Awaitable; now,
with Awaitable, it is no longer needed (we don't have ishashable()
or isiterable() methods in the inspect module either).

9 years agotest_coroutines: remove whitespace
Yury Selivanov [Tue, 30 Jun 2015 16:51:12 +0000 (12:51 -0400)]
test_coroutines: remove whitespace

9 years agoIssue #24528: Improve error message for awaits in comprehensions
Yury Selivanov [Tue, 30 Jun 2015 16:49:04 +0000 (12:49 -0400)]
Issue #24528: Improve error message for awaits in comprehensions

9 years agoIssue #19176: Fixed doctype() related bugs in C implementation of ElementTree.
Serhiy Storchaka [Mon, 29 Jun 2015 20:08:52 +0000 (23:08 +0300)]
Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method.  Direct call of doctype() now issues a warning.  Parser's
doctype() now is not called if target's doctype() is called.  Based on patch
by Martin Panter.

9 years agoIssue #19176: Fixed doctype() related bugs in C implementation of ElementTree.
Serhiy Storchaka [Mon, 29 Jun 2015 19:35:58 +0000 (22:35 +0300)]
Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method.  Direct call of doctype() now issues a warning.  Parser's
doctype() now is not called if target's doctype() is called.  Based on patch
by Martin Panter.

9 years agoIssue #24467: Fixed possible buffer over-read in bytearray. The bytearray
Serhiy Storchaka [Mon, 29 Jun 2015 18:18:01 +0000 (21:18 +0300)]
Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.

9 years agoIssue #24467: Fixed possible buffer over-read in bytearray. The bytearray
Serhiy Storchaka [Mon, 29 Jun 2015 18:14:06 +0000 (21:14 +0300)]
Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.

9 years agoIssue #20387: Merge test and patch from 3.4.4
Jason R. Coombs [Sun, 28 Jun 2015 15:13:30 +0000 (11:13 -0400)]
Issue #20387: Merge test and patch from 3.4.4

9 years agoIssue #20387: Merge
Jason R. Coombs [Sun, 28 Jun 2015 15:10:29 +0000 (11:10 -0400)]
Issue #20387: Merge

9 years agoIssue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
Serhiy Storchaka [Sun, 28 Jun 2015 14:55:33 +0000 (17:55 +0300)]
Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
functions of the audioop module.

9 years agoIssue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
Serhiy Storchaka [Sun, 28 Jun 2015 14:52:09 +0000 (17:52 +0300)]
Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
functions of the audioop module.

9 years agoIssue #20387: Merge patch and test
Jason R. Coombs [Sun, 28 Jun 2015 14:23:11 +0000 (10:23 -0400)]
Issue #20387: Merge patch and test

9 years agoIssue #24336: The contextmanager decorator now works with functions with
Serhiy Storchaka [Sun, 28 Jun 2015 14:08:35 +0000 (17:08 +0300)]
Issue #24336: The contextmanager decorator now works with functions with
keyword arguments called "func" and "self".  Patch by Martin Panter.

9 years agoIssue #24336: The contextmanager decorator now works with functions with
Serhiy Storchaka [Sun, 28 Jun 2015 14:06:07 +0000 (17:06 +0300)]
Issue #24336: The contextmanager decorator now works with functions with
keyword arguments called "func" and "self".  Patch by Martin Panter.

9 years agoupgrade to Unicode 8.0.0
Benjamin Peterson [Sat, 27 Jun 2015 20:45:56 +0000 (15:45 -0500)]
upgrade to Unicode 8.0.0

9 years agoprevent integer overflow in escape_unicode (closes #24522)
Benjamin Peterson [Sat, 27 Jun 2015 20:01:51 +0000 (15:01 -0500)]
prevent integer overflow in escape_unicode (closes #24522)

9 years agomerge 3.4
Benjamin Peterson [Sat, 27 Jun 2015 19:26:21 +0000 (14:26 -0500)]
merge 3.4

9 years agomerge 3.3
Benjamin Peterson [Sat, 27 Jun 2015 19:26:15 +0000 (14:26 -0500)]
merge 3.3

9 years agoadd issue number
Benjamin Peterson [Sat, 27 Jun 2015 19:25:50 +0000 (14:25 -0500)]
add issue number

9 years agomerge 3.4
Benjamin Peterson [Sat, 27 Jun 2015 19:18:23 +0000 (14:18 -0500)]
merge 3.4

9 years agomerge 3.3
Benjamin Peterson [Sat, 27 Jun 2015 18:56:46 +0000 (13:56 -0500)]
merge 3.3

9 years agouse safe allocation and reallocation macros
Benjamin Peterson [Sat, 27 Jun 2015 18:41:33 +0000 (13:41 -0500)]
use safe allocation and reallocation macros

9 years agoIssue #20387: Update Misc/NEWS
Jason R. Coombs [Fri, 26 Jun 2015 21:45:09 +0000 (17:45 -0400)]
Issue #20387: Update Misc/NEWS

9 years agoIssue #23684: Clarify the return value of the scheme attribute of ParseResult and...
Berker Peksag [Thu, 25 Jun 2015 20:39:26 +0000 (23:39 +0300)]
Issue #23684: Clarify the return value of the scheme attribute of ParseResult and SplitResult objects.

Patch by Martin Panter.

9 years agoIssue #23684: Clarify the return value of the scheme attribute of ParseResult and...
Berker Peksag [Thu, 25 Jun 2015 20:38:48 +0000 (23:38 +0300)]
Issue #23684: Clarify the return value of the scheme attribute of ParseResult and SplitResult objects.

Patch by Martin Panter.

9 years agoMerge 3.4 (issue #24509)
Yury Selivanov [Thu, 25 Jun 2015 17:50:21 +0000 (13:50 -0400)]
Merge 3.4 (issue #24509)

9 years agoIssue #24509: Clarify Handle.cancel() and loop.call_* methods.
Yury Selivanov [Thu, 25 Jun 2015 17:49:52 +0000 (13:49 -0400)]
Issue #24509: Clarify Handle.cancel() and loop.call_* methods.

9 years agoMerge 3.4
Yury Selivanov [Thu, 25 Jun 2015 15:54:49 +0000 (11:54 -0400)]
Merge 3.4

9 years agoasyncio.docs: Use less confusing title
Yury Selivanov [Thu, 25 Jun 2015 15:54:34 +0000 (11:54 -0400)]
asyncio.docs: Use less confusing title

9 years agoIssue #24439: Update tulip_coro.dia
Yury Selivanov [Thu, 25 Jun 2015 15:48:32 +0000 (11:48 -0400)]
Issue #24439: Update tulip_coro.dia

9 years agoIssue #24400, #24325: More tests for types._GeneratorWrapper
Yury Selivanov [Wed, 24 Jun 2015 16:49:28 +0000 (12:49 -0400)]
Issue #24400, #24325: More tests for types._GeneratorWrapper

Also, make 'wrapped' and 'isgen' private.

9 years agoIssue #24325, #24400: Add more unittests for types.coroutine; tweak wrapper implement...
Yury Selivanov [Wed, 24 Jun 2015 15:44:51 +0000 (11:44 -0400)]
Issue #24325, #24400: Add more unittests for types.coroutine; tweak wrapper implementation.

9 years agoIssue #24439: Improve PEP 492 related docs.
Yury Selivanov [Wed, 24 Jun 2015 15:04:15 +0000 (11:04 -0400)]
Issue #24439: Improve PEP 492 related docs.

Patch by Martin Panter.

9 years agoIssue #24495, #24400: Test asyncio.Task.repr in debug mode
Yury Selivanov [Wed, 24 Jun 2015 14:55:12 +0000 (10:55 -0400)]
Issue #24495, #24400: Test asyncio.Task.repr in debug mode

9 years agoFix asyncio unittests in debug mode
Yury Selivanov [Wed, 24 Jun 2015 14:47:44 +0000 (10:47 -0400)]
Fix asyncio unittests in debug mode

9 years agoFix asyncio unittests in debug mode
Yury Selivanov [Wed, 24 Jun 2015 14:45:44 +0000 (10:45 -0400)]
Fix asyncio unittests in debug mode

9 years agoIssue #24400: Fix CoroWrapper for 'async def' coroutines
Yury Selivanov [Wed, 24 Jun 2015 14:32:22 +0000 (10:32 -0400)]
Issue #24400: Fix CoroWrapper for 'async def' coroutines

9 years agoIssue #24400: Fix CoroWrapper for 'async def' coroutines
Yury Selivanov [Wed, 24 Jun 2015 14:30:14 +0000 (10:30 -0400)]
Issue #24400: Fix CoroWrapper for 'async def' coroutines

9 years agoMerge 3.4
Yury Selivanov [Wed, 24 Jun 2015 13:41:56 +0000 (09:41 -0400)]
Merge 3.4

9 years agoasyncio: Merge changes from issue #24400.
Yury Selivanov [Wed, 24 Jun 2015 13:41:35 +0000 (09:41 -0400)]
asyncio: Merge changes from issue #24400.

9 years agoCloses #24244: Removes invalid test from test_time
Steve Dower [Wed, 24 Jun 2015 03:48:32 +0000 (20:48 -0700)]
Closes #24244: Removes invalid test from test_time

9 years agodocs.whatsnew: Update ref to tp_as_async
Yury Selivanov [Tue, 23 Jun 2015 19:09:58 +0000 (15:09 -0400)]
docs.whatsnew: Update ref to tp_as_async

9 years agodocs.capi: Fix tp_as_async doc
Yury Selivanov [Tue, 23 Jun 2015 15:46:09 +0000 (11:46 -0400)]
docs.capi: Fix tp_as_async doc

9 years agoIssue #24489: ensure a previously set C errno doesn't disturb cmath.polar().
Antoine Pitrou [Tue, 23 Jun 2015 12:38:13 +0000 (14:38 +0200)]
Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().

9 years agoIssue #24489: ensure a previously set C errno doesn't disturb cmath.polar().
Antoine Pitrou [Tue, 23 Jun 2015 12:31:11 +0000 (14:31 +0200)]
Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().

9 years agoIssue #24400: Introduce a distinct type for 'async def' coroutines.
Yury Selivanov [Mon, 22 Jun 2015 16:19:30 +0000 (12:19 -0400)]
Issue #24400: Introduce a distinct type for 'async def' coroutines.

Summary of changes:

1. Coroutines now have a distinct, separate from generators
   type at the C level: PyGen_Type, and a new typedef PyCoroObject.
   PyCoroObject shares the initial segment of struct layout with
   PyGenObject, making it possible to reuse existing generators
   machinery.  The new type is exposed as 'types.CoroutineType'.

   As a consequence of having a new type, CO_GENERATOR flag is
   no longer applied to coroutines.

2. Having a separate type for coroutines made it possible to add
   an __await__ method to the type.  Although it is not used by the
   interpreter (see details on that below), it makes coroutines
   naturally (without using __instancecheck__) conform to
   collections.abc.Coroutine and collections.abc.Awaitable ABCs.

   [The __instancecheck__ is still used for generator-based
   coroutines, as we don't want to add __await__ for generators.]

3. Add new opcode: GET_YIELD_FROM_ITER.  The opcode is needed to
   allow passing native coroutines to the YIELD_FROM opcode.

   Before this change, 'yield from o' expression was compiled to:

      (o)
      GET_ITER
      LOAD_CONST
      YIELD_FROM

   Now, we use GET_YIELD_FROM_ITER instead of GET_ITER.

   The reason for adding a new opcode is that GET_ITER is used
   in some contexts (such as 'for .. in' loops) where passing
   a coroutine object is invalid.

4. Add two new introspection functions to the inspec module:
   getcoroutinestate(c) and getcoroutinelocals(c).

5. inspect.iscoroutine(o) is updated to test if 'o' is a native
   coroutine object.  Before this commit it used abc.Coroutine,
   and it was requested to update inspect.isgenerator(o) to use
   abc.Generator; it was decided, however, that inspect functions
   should really be tailored for checking for native types.

6. sys.set_coroutine_wrapper(w) API is updated to work with only
   native coroutines.  Since types.coroutine decorator supports
   any type of callables now, it would be confusing that it does
   not work for all types of coroutines.

7. Exceptions logic in generators C implementation was updated
   to raise clearer messages for coroutines:

   Before: TypeError("generator raised StopIteration")
   After: TypeError("coroutine raised StopIteration")

9 years agoIssue #20387: Restore retention of indentation during untokenize.
Dingyuan Wang [Mon, 22 Jun 2015 02:01:12 +0000 (10:01 +0800)]
Issue #20387: Restore retention of indentation during untokenize.

9 years agoIssue #20387: Correct test to properly capture expectation.
Jason R. Coombs [Fri, 26 Jun 2015 02:42:24 +0000 (22:42 -0400)]
Issue #20387: Correct test to properly capture expectation.

9 years agoFixed documentation of functions with const char* arguments.
Serhiy Storchaka [Sun, 21 Jun 2015 14:12:16 +0000 (17:12 +0300)]
Fixed documentation of functions with const char* arguments.

9 years agoFixed documentation of functions with const char* arguments.
Serhiy Storchaka [Sun, 21 Jun 2015 14:11:21 +0000 (17:11 +0300)]
Fixed documentation of functions with const char* arguments.

9 years agoAdded the const qualifier for char* argument of Py_EnterRecursiveCall().
Serhiy Storchaka [Sun, 21 Jun 2015 13:27:09 +0000 (16:27 +0300)]
Added the const qualifier for char* argument of Py_EnterRecursiveCall().

9 years agoAdded the const qualifier for char* argument of Py_EnterRecursiveCall().
Serhiy Storchaka [Sun, 21 Jun 2015 13:26:28 +0000 (16:26 +0300)]
Added the const qualifier for char* argument of Py_EnterRecursiveCall().

9 years agoIssue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add.
Serhiy Storchaka [Sun, 21 Jun 2015 13:00:33 +0000 (16:00 +0300)]
Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add.
Patch by Michael Ensslin.

9 years agoIssue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add.
Serhiy Storchaka [Sun, 21 Jun 2015 12:59:46 +0000 (15:59 +0300)]
Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add.
Patch by Michael Ensslin.

9 years agoIssue #24408: Fixed test for tkinter.Font on OS X.
Serhiy Storchaka [Sun, 21 Jun 2015 11:42:57 +0000 (14:42 +0300)]
Issue #24408: Fixed test for tkinter.Font on OS X.
Based on patch by Martin Panter.

9 years agoIssue #24408: Fixed test for tkinter.Font on OS X.
Serhiy Storchaka [Sun, 21 Jun 2015 11:41:44 +0000 (14:41 +0300)]
Issue #24408: Fixed test for tkinter.Font on OS X.
Based on patch by Martin Panter.

9 years agoIssue #20387: Add test capturing failure to roundtrip indented code in tokenize module.
Jason R. Coombs [Sat, 20 Jun 2015 23:52:22 +0000 (19:52 -0400)]
Issue #20387: Add test capturing failure to roundtrip indented code in tokenize module.

9 years agoRemove unused import and remove doctest-only import into doctests.
Jason R. Coombs [Sat, 20 Jun 2015 23:13:50 +0000 (19:13 -0400)]
Remove unused import and remove doctest-only import into doctests.

9 years agoIssue 24476: Statically links vcruntime140.dll and removes it from the installer
Steve Dower [Fri, 19 Jun 2015 17:49:04 +0000 (10:49 -0700)]
Issue 24476: Statically links vcruntime140.dll and removes it from the installer

9 years agoMerge 3.4
Zachary Ware [Wed, 17 Jun 2015 15:08:44 +0000 (10:08 -0500)]
Merge 3.4

9 years agoMerge 3.4's PCbuild/readme.txt update.
Zachary Ware [Wed, 17 Jun 2015 14:45:22 +0000 (09:45 -0500)]
Merge 3.4's PCbuild/readme.txt update.

All the new information in 3.4's readme.txt was already here, but the
wrong name was used to refer to the script.  Also reworded the sentence.

9 years agoUpdate PCbuild/readme.txt
Zachary Ware [Wed, 17 Jun 2015 04:27:56 +0000 (23:27 -0500)]
Update PCbuild/readme.txt

It now recommends PCbuild/get_externals.bat instead of the scripts in
Tools/buildbot.

9 years agoDeprecate unused scripts in Tools/buildbot.
Zachary Ware [Tue, 16 Jun 2015 15:56:14 +0000 (10:56 -0500)]
Deprecate unused scripts in Tools/buildbot.

I would just outright delete them, but the readme in PCbuild recommended
their use, so I figure it would be nice to leave them there for a while.

9 years agoIssue #8232: Renamed WinFireFox to WinFirefox
Steve Dower [Mon, 15 Jun 2015 16:11:14 +0000 (09:11 -0700)]
Issue #8232: Renamed WinFireFox to WinFirefox

9 years agonull merge 3.4 to 3.5 (9a0c5ffe7420 merged 3.4 to default, bypassing 3.5)
Ned Deily [Mon, 15 Jun 2015 01:30:04 +0000 (18:30 -0700)]
null merge 3.4 to 3.5 (9a0c5ffe7420 merged 3.4 to default, bypassing 3.5)

9 years agoBack porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation...
Senthil Kumaran [Mon, 15 Jun 2015 00:35:37 +0000 (17:35 -0700)]
Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos.

Related Issues:

#issue21528
#issue24453

9 years agomerge
Raymond Hettinger [Sun, 14 Jun 2015 23:08:35 +0000 (16:08 -0700)]
merge

9 years agoIssue #24453: Fix doubled word.
Raymond Hettinger [Sun, 14 Jun 2015 23:08:06 +0000 (16:08 -0700)]
Issue #24453:  Fix doubled word.

9 years agoIssue #24435: Use the devguide link instead of PEP 306 in Grammar/Grammar.
Berker Peksag [Sat, 13 Jun 2015 08:19:16 +0000 (11:19 +0300)]
Issue #24435: Use the devguide link instead of PEP 306 in Grammar/Grammar.

9 years agoIssue #24435: Use the devguide link instead of PEP 306 in Grammar/Grammar.
Berker Peksag [Sat, 13 Jun 2015 08:18:33 +0000 (11:18 +0300)]
Issue #24435: Use the devguide link instead of PEP 306 in Grammar/Grammar.

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 12 Jun 2015 20:47:58 +0000 (16:47 -0400)]
Merge with 3.4

9 years agowhitespace
Terry Jan Reedy [Fri, 12 Jun 2015 20:47:44 +0000 (16:47 -0400)]
whitespace

9 years agoMerge 3.4
Terry Jan Reedy [Fri, 12 Jun 2015 20:44:59 +0000 (16:44 -0400)]
Merge 3.4

9 years agoIssue #24406: Add sentences on dict comparisons, similar to those for Sequence
Terry Jan Reedy [Fri, 12 Jun 2015 20:38:57 +0000 (16:38 -0400)]
Issue #24406: Add sentences on dict comparisons, similar to those for Sequence
and set comparisions.  Patch by Gareth Rees.

9 years ago(Merge 3.4) Issue #15745: Rewrite os.utime() tests in test_os
Victor Stinner [Fri, 12 Jun 2015 20:01:54 +0000 (22:01 +0200)]
(Merge 3.4) Issue #15745: Rewrite os.utime() tests in test_os

* Don't use the timestamp of an existing file anymore, only use fixed
  timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
  Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code

9 years agoIssue #15745: Rewrite os.utime() tests in test_os
Victor Stinner [Fri, 12 Jun 2015 19:58:00 +0000 (21:58 +0200)]
Issue #15745: Rewrite os.utime() tests in test_os

* Don't use the timestamp of an existing file anymore, only use fixed
  timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
  Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 12 Jun 2015 19:45:05 +0000 (15:45 -0400)]
Merge with 3.4

9 years agoCloses issue #24405: mark set display as code.
Terry Jan Reedy [Fri, 12 Jun 2015 19:44:45 +0000 (15:44 -0400)]
Closes issue #24405: mark set display as code.

9 years agoIssue #24423: Fix formatting error in 3.5 whatsnew
Ned Deily [Wed, 10 Jun 2015 22:43:05 +0000 (15:43 -0700)]
Issue #24423: Fix formatting error in 3.5 whatsnew

9 years agoFixed indentation of Python examples in C comments.
Serhiy Storchaka [Wed, 10 Jun 2015 21:07:47 +0000 (00:07 +0300)]
Fixed indentation of Python examples in C comments.