]> granicus.if.org Git - python/log
python
8 years agoIssue #28512: Fixed setting the offset attribute of SyntaxError by
Serhiy Storchaka [Sun, 11 Dec 2016 12:44:21 +0000 (14:44 +0200)]
Issue #28512: Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().

8 years agoIssue #28512: Fixed setting the offset attribute of SyntaxError by
Serhiy Storchaka [Sun, 11 Dec 2016 12:43:18 +0000 (14:43 +0200)]
Issue #28512: Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().

8 years agoIssue #28512: Fixed setting the offset attribute of SyntaxError by
Serhiy Storchaka [Sun, 11 Dec 2016 12:39:01 +0000 (14:39 +0200)]
Issue #28512: Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().

8 years agoIssues #28916, #26483: Merge stdtypes.rst from 3.6
Martin Panter [Sun, 11 Dec 2016 03:17:06 +0000 (03:17 +0000)]
Issues #28916, #26483: Merge stdtypes.rst from 3.6

8 years agoIssues #28916, #26483: Merge stdtypes.rst from 3.5
Martin Panter [Sun, 11 Dec 2016 02:31:32 +0000 (02:31 +0000)]
Issues #28916, #26483: Merge stdtypes.rst from 3.5

8 years agoIssue #26483: Clarify str.isdecimal() and isdigit()
Martin Panter [Sun, 11 Dec 2016 01:08:25 +0000 (01:08 +0000)]
Issue #26483: Clarify str.isdecimal() and isdigit()

Patch by Julien Palard.

8 years agoIssue #28916: Correct description of %o and %x alternative forms
Martin Panter [Sun, 11 Dec 2016 01:07:29 +0000 (01:07 +0000)]
Issue #28916: Correct description of %o and %x alternative forms

* In Python 3, the specifier is 0o
* There is no special case for leading zeros
* Remove duplicate tests
* Clarify other existing tests and comments

8 years agoMerge for issue #28424
Brett Cannon [Sat, 10 Dec 2016 22:15:22 +0000 (14:15 -0800)]
Merge for issue #28424

8 years agoMerge for issue #28424
Brett Cannon [Sat, 10 Dec 2016 22:14:47 +0000 (14:14 -0800)]
Merge for issue #28424

8 years agoIssue #28424: Document pkgutil.get_data() doesn't work with namespace packages.
Brett Cannon [Sat, 10 Dec 2016 22:13:38 +0000 (14:13 -0800)]
Issue #28424: Document pkgutil.get_data() doesn't work with namespace packages.

Thanks to Douglas Greiman for the patch.

8 years agoIssue #28849: Merge 3.6.
Xavier de Gaye [Sat, 10 Dec 2016 16:34:46 +0000 (17:34 +0100)]
Issue #28849: Merge 3.6.

8 years agoIssue #28849: Do not define sys.implementation._multiarch on Android.
Xavier de Gaye [Sat, 10 Dec 2016 16:31:28 +0000 (17:31 +0100)]
Issue #28849: Do not define sys.implementation._multiarch on Android.

8 years agoIssue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver...
Antoine Pitrou [Sat, 10 Dec 2016 16:19:21 +0000 (17:19 +0100)]
Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.

8 years agoIssue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver...
Antoine Pitrou [Sat, 10 Dec 2016 16:16:17 +0000 (17:16 +0100)]
Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.

8 years agoIssue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver...
Antoine Pitrou [Sat, 10 Dec 2016 16:13:16 +0000 (17:13 +0100)]
Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.

8 years agoIssue #28918: Merge 3.6.
Xavier de Gaye [Sat, 10 Dec 2016 15:48:07 +0000 (16:48 +0100)]
Issue #28918: Merge 3.6.

8 years agoIssue #28918: Fix the cross compilation of xxlimited when Python
Xavier de Gaye [Sat, 10 Dec 2016 15:45:53 +0000 (16:45 +0100)]
Issue #28918: Fix the cross compilation of xxlimited when Python
has been built with Py_DEBUG defined.

8 years agoIssue #28771: Merge C API doc fix from 3.6
Martin Panter [Sat, 10 Dec 2016 05:57:49 +0000 (05:57 +0000)]
Issue #28771: Merge C API doc fix from 3.6

8 years agoIssue #28771: Merge C API doc fix from 3.5
Martin Panter [Sat, 10 Dec 2016 05:57:38 +0000 (05:57 +0000)]
Issue #28771: Merge C API doc fix from 3.5

8 years agoIssue #28771: Update tp_get/setattr signature documentation
Martin Panter [Sat, 10 Dec 2016 05:56:13 +0000 (05:56 +0000)]
Issue #28771: Update tp_get/setattr signature documentation

8 years agoIssue #28820: Merge typo fixes from 3.6
Martin Panter [Sat, 10 Dec 2016 05:39:12 +0000 (05:39 +0000)]
Issue #28820: Merge typo fixes from 3.6

8 years agoFix typos in comment and documentation
Martin Panter [Sat, 10 Dec 2016 05:32:55 +0000 (05:32 +0000)]
Fix typos in comment and documentation

8 years agoIssue #28820: Merge spelling fixes from 3.5
Martin Panter [Sat, 10 Dec 2016 05:38:25 +0000 (05:38 +0000)]
Issue #28820: Merge spelling fixes from 3.5

8 years agoIssue #28820: Fix spelling of “practice” as a noun
Martin Panter [Sat, 10 Dec 2016 05:12:56 +0000 (05:12 +0000)]
Issue #28820: Fix spelling of “practice” as a noun

8 years agoIssue #28755: Merge Arg Clinic howto from 3.6
Martin Panter [Sat, 10 Dec 2016 04:22:27 +0000 (04:22 +0000)]
Issue #28755: Merge Arg Clinic howto from 3.6

8 years agoIssues #28755, #28753: Merge Arg Clinic howto from 3.5
Martin Panter [Sat, 10 Dec 2016 04:14:02 +0000 (04:14 +0000)]
Issues #28755, #28753: Merge Arg Clinic howto from 3.5

8 years agoIssue #28755: Improve syntax highlighting in Arg Clinic howto
Martin Panter [Sat, 10 Dec 2016 04:10:45 +0000 (04:10 +0000)]
Issue #28755: Improve syntax highlighting in Arg Clinic howto

8 years agoIssue 28753: Argument Clinic howto docfix, courtesy Julien Palard.
Martin Panter [Sat, 10 Dec 2016 03:49:12 +0000 (03:49 +0000)]
Issue 28753: Argument Clinic howto docfix, courtesy Julien Palard.

8 years agoBacked out changeset 99c34e47348b
Victor Stinner [Fri, 9 Dec 2016 17:51:13 +0000 (18:51 +0100)]
Backed out changeset 99c34e47348b

The change broke test_gdb.

8 years agoIssue #20185: Convert _warnings.warn() to Argument Clinic
Victor Stinner [Fri, 9 Dec 2016 17:08:18 +0000 (18:08 +0100)]
Issue #20185: Convert _warnings.warn() to Argument Clinic

Fix warn_explicit(): interpret source=None as source=NULL.

8 years agoInline PyEval_EvalFrameEx() in callers
Victor Stinner [Fri, 9 Dec 2016 16:12:17 +0000 (17:12 +0100)]
Inline PyEval_EvalFrameEx() in callers

The PEP 523 modified PyEval_EvalFrameEx(): it's now an indirection to
interp->eval_frame().

Inline the call in performance critical code. Leave PyEval_EvalFrame()
unchanged, this function is only kept for backward compatibility.

8 years agoRemove useless variable initialization
Victor Stinner [Fri, 9 Dec 2016 16:08:59 +0000 (17:08 +0100)]
Remove useless variable initialization

Don't initialize variables which are not used before they are assigned.

8 years agoInitialize variables to fix compiler warnings
Victor Stinner [Fri, 9 Dec 2016 16:06:43 +0000 (17:06 +0100)]
Initialize variables to fix compiler warnings

Warnings seen on the "AMD64 Debian PGO 3.x" buildbot. Warnings are false
positive, but variable initialization should not harm performances.

8 years agoUse PyObject_CallFunctionObjArgs()
Victor Stinner [Fri, 9 Dec 2016 15:22:32 +0000 (16:22 +0100)]
Use PyObject_CallFunctionObjArgs()

Issue #28915: Replace PyObject_CallFunction() with
PyObject_CallFunctionObjArgs() when the format string was only made of "O"
formats, PyObject* arguments.

PyObject_CallFunctionObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string.

8 years agoUse _PyObject_CallMethodIdObjArgs()
Victor Stinner [Fri, 9 Dec 2016 15:09:30 +0000 (16:09 +0100)]
Use _PyObject_CallMethodIdObjArgs()

Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() in various modules when the format string was
only made of "O" formats, PyObject* arguments.

_PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string.

8 years agoUse _PyObject_CallMethodIdObjArgs() in _io
Victor Stinner [Fri, 9 Dec 2016 14:39:28 +0000 (15:39 +0100)]
Use _PyObject_CallMethodIdObjArgs() in _io

Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() when the format string was only made of "O"
formats, PyObject* arguments.

_PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string.

8 years agoUse _PyObject_CallMethodIdObjArgs() in _datetime
Victor Stinner [Fri, 9 Dec 2016 14:24:31 +0000 (15:24 +0100)]
Use _PyObject_CallMethodIdObjArgs() in _datetime

Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() when the format string was only made of "O"
formats, PyObject* arguments.

_PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string.

8 years agoUse _PyObject_CallMethodIdObjArgs() in _elementtree
Victor Stinner [Fri, 9 Dec 2016 14:26:00 +0000 (15:26 +0100)]
Use _PyObject_CallMethodIdObjArgs() in _elementtree

Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() when the format string was only made of "O"
formats, PyObject* arguments.

_PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string.

8 years agoUse _PyObject_CallMethodIdObjArgs() in _ctypes
Victor Stinner [Fri, 9 Dec 2016 14:18:31 +0000 (15:18 +0100)]
Use _PyObject_CallMethodIdObjArgs() in _ctypes

Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() in unpickle(). _PyObject_CallMethodIdObjArgs()
avoids the creation of a temporary tuple and doesn't have to parse a format
string.

Replace _PyObject_CallMethodId() with _PyObject_GetAttrId()+PyObject_Call() for
the second call since it requires to "unpack" a tuple.

Add also a check in the type of the second parameter (state): it must be a
tuple.

8 years agoFix refleak introduced in change 032cbdb596fe
Victor Stinner [Fri, 9 Dec 2016 14:35:40 +0000 (15:35 +0100)]
Fix refleak introduced in change 032cbdb596fe

Issue #28915.

8 years agoregrtest --fromfile now accepts a list of filenames
Victor Stinner [Fri, 9 Dec 2016 15:05:51 +0000 (16:05 +0100)]
regrtest --fromfile now accepts a list of filenames

8 years agoUse _PyObject_CallMethodIdObjArgs() in _asyncio
Victor Stinner [Fri, 9 Dec 2016 13:24:02 +0000 (14:24 +0100)]
Use _PyObject_CallMethodIdObjArgs() in _asyncio

Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() when the format string was only made of "O"
formats, PyObject* arguments.

_PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string.

8 years agoIssue #28915: Use _PyObject_CallNoArg()
Victor Stinner [Fri, 9 Dec 2016 11:29:18 +0000 (12:29 +0100)]
Issue #28915: Use _PyObject_CallNoArg()

Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func).

8 years agoIssue #26937: Merge 3.6.
Xavier de Gaye [Fri, 9 Dec 2016 08:35:49 +0000 (09:35 +0100)]
Issue #26937: Merge 3.6.

8 years agoIssue #26937: The chown() method of the tarfile.TarFile class does not fail now
Xavier de Gaye [Fri, 9 Dec 2016 08:33:09 +0000 (09:33 +0100)]
Issue #26937: The chown() method of the tarfile.TarFile class does not fail now
when the grp module cannot be imported, as for example on Android platforms.

8 years agoUse _PyObject_FastCallVa() in type slots
Victor Stinner [Thu, 8 Dec 2016 23:41:46 +0000 (00:41 +0100)]
Use _PyObject_FastCallVa() in type slots

Issue #28915: Replace Py_VaBuildValue()+PyObject_Call() with
_PyObject_FastCallVa() to avoid the creation of temporary tuple.

8 years agoAdd _PyObject_VaCallFunctionObjArgs() private function
Victor Stinner [Thu, 8 Dec 2016 23:40:33 +0000 (00:40 +0100)]
Add _PyObject_VaCallFunctionObjArgs() private function

Issue #28915: Similar to _PyObject_CallFunctionObjArgs() but use va_list to
pass arguments.

8 years agotime_strptime() uses PyObject_Call()
Victor Stinner [Thu, 8 Dec 2016 23:38:53 +0000 (00:38 +0100)]
time_strptime() uses PyObject_Call()

Issue #28915: Use PyObject_Call() to pass a tuple of positional arguments,
instead of relying on _PyObject_CallMethodId() weird behaviour to unpack the
tuple.

8 years agobuild_struct_time() uses Py_BuildValue()
Victor Stinner [Thu, 8 Dec 2016 23:38:16 +0000 (00:38 +0100)]
build_struct_time() uses Py_BuildValue()

Issue #28915: Avoid calling _PyObject_CallMethodId() with "(...)" format to
avoid the creation of a temporary tuple: use Py_BuildValue() with
_PyObject_CallMethodIdObjArgs().

8 years agoUse _PyObject_CallMethodIdObjArgs()
Victor Stinner [Thu, 8 Dec 2016 23:36:19 +0000 (00:36 +0100)]
Use _PyObject_CallMethodIdObjArgs()

Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() when the format string only use the format 'O'
for objects, like "(O)".

_PyObject_CallMethodIdObjArgs() avoids the code to parse a format string and
avoids the creation of a temporary tuple.

8 years agoDon't parenthesis in _PyObject_CallMethodId() format
Victor Stinner [Thu, 8 Dec 2016 23:33:39 +0000 (00:33 +0100)]
Don't parenthesis in _PyObject_CallMethodId() format

Issue #28915: Without parenthesis, _PyObject_CallMethodId() avoids the creation
a temporary tuple, and so is more efficient.

8 years ago_PyObject_CallFunctionVa() uses fast call
Victor Stinner [Thu, 8 Dec 2016 23:31:47 +0000 (00:31 +0100)]
_PyObject_CallFunctionVa() uses fast call

Issue #28915: Use _Py_VaBuildStack() to build a C array of PyObject* and then
use _PyObject_FastCall().

The function has a special case if the stack only contains one parameter and
the parameter is a tuple: "unpack" the tuple of arguments in this case.

8 years agoAdd _Py_VaBuildStack() function
Victor Stinner [Thu, 8 Dec 2016 23:29:49 +0000 (00:29 +0100)]
Add _Py_VaBuildStack() function

Issue #28915: Similar to Py_VaBuildValue(), but work on a C array of PyObject*,
instead of creating a tuple.

8 years agomodsupport: replace int with Py_ssize_t
Victor Stinner [Thu, 8 Dec 2016 23:27:22 +0000 (00:27 +0100)]
modsupport: replace int with Py_ssize_t

Issue #28915: Py_ssize_t type is better for indexes. The compiler might emit
more efficient code for i++. Py_ssize_t is the type of a PyTuple index for
example.

Replace also "int endchar" with "char endchar".

8 years agomodsupport: replace int with Py_ssize_t
Victor Stinner [Thu, 8 Dec 2016 23:24:47 +0000 (00:24 +0100)]
modsupport: replace int with Py_ssize_t

Issue #28915.

8 years agoAdd _PyObject_CallFunctionVa() helper
Victor Stinner [Thu, 8 Dec 2016 23:22:56 +0000 (00:22 +0100)]
Add _PyObject_CallFunctionVa() helper

Issue #28915: Add _PyObject_CallFunctionVa() helper to factorize code of
functions:

* PyObject_CallFunction()
* _PyObject_CallFunction_SizeT()
* callmethod()

8 years agoAdd _PyObject_FastCallVa() helper
Victor Stinner [Thu, 8 Dec 2016 23:21:55 +0000 (00:21 +0100)]
Add _PyObject_FastCallVa() helper

Issue #28915: Add _PyObject_FastCallVa() helper to factorize code of functions:

* PyObject_CallFunctionObjArgs()
* PyObject_CallMethodObjArgs()
* _PyObject_CallMethodIdObjArgs()

Inline objargs_mkstack() into _PyObject_FastCallVa(), remove
objargs_mkstack().

8 years agoIssue #28896: Deprecate WindowsRegistryFinder
Steve Dower [Thu, 8 Dec 2016 17:01:39 +0000 (09:01 -0800)]
Issue #28896: Deprecate WindowsRegistryFinder

8 years agoNull merge 3.6
Victor Stinner [Thu, 8 Dec 2016 16:17:17 +0000 (17:17 +0100)]
Null merge 3.6

8 years agoIssue #26941: Merge 3.6.
Xavier de Gaye [Thu, 8 Dec 2016 11:21:53 +0000 (12:21 +0100)]
Issue #26941: Merge 3.6.

8 years agoIssue #26941: Fix test_threading that hangs on the Android armv7 qemu emulator.
Xavier de Gaye [Thu, 8 Dec 2016 11:21:00 +0000 (12:21 +0100)]
Issue #26941: Fix test_threading that hangs on the Android armv7 qemu emulator.

8 years agoIssue #26940: Merge 3.6.
Xavier de Gaye [Thu, 8 Dec 2016 10:27:27 +0000 (11:27 +0100)]
Issue #26940: Merge 3.6.

8 years agoIssue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.
Xavier de Gaye [Thu, 8 Dec 2016 10:26:18 +0000 (11:26 +0100)]
Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.

8 years agoIssue #26939: Merge 3.6.
Xavier de Gaye [Thu, 8 Dec 2016 10:09:54 +0000 (11:09 +0100)]
Issue #26939: Merge 3.6.

8 years agoIssue #26939: Add the support.setswitchinterval() function to fix
Xavier de Gaye [Thu, 8 Dec 2016 10:06:56 +0000 (11:06 +0100)]
Issue #26939: Add the support.setswitchinterval() function to fix
test_functools hanging on the Android armv7 qemu emulator.

8 years agomerge 3.6 (#28898)
Benjamin Peterson [Thu, 8 Dec 2016 07:55:03 +0000 (23:55 -0800)]
merge 3.6 (#28898)

8 years agoguard HAVE_LONG_LONG definition to prevent redefinition (#28898)
Benjamin Peterson [Thu, 8 Dec 2016 07:54:28 +0000 (23:54 -0800)]
guard HAVE_LONG_LONG definition to prevent redefinition (#28898)

8 years agoIssue #28900: Update documentation sidebar for 3.6.0rc.
Ned Deily [Thu, 8 Dec 2016 04:38:30 +0000 (23:38 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.

8 years agoIssue #28900: Update documentation sidebar for 3.6.0rc.
Ned Deily [Thu, 8 Dec 2016 04:37:12 +0000 (23:37 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.

8 years agoIssue #28900: Update documentation sidebar for 3.6.0rc.
Ned Deily [Thu, 8 Dec 2016 04:34:49 +0000 (23:34 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.

8 years agoMerge 3.6 (issue #28635)
Yury Selivanov [Thu, 8 Dec 2016 00:20:10 +0000 (16:20 -0800)]
Merge 3.6 (issue #28635)

8 years agoIssue #28635: Drop the note that whatsnew is incomplete
Yury Selivanov [Thu, 8 Dec 2016 00:19:56 +0000 (16:19 -0800)]
Issue #28635: Drop the note that whatsnew is incomplete

8 years agoIssue #28896: Deprecate WindowsRegistryFinder
Steve Dower [Wed, 7 Dec 2016 21:02:27 +0000 (13:02 -0800)]
Issue #28896: Deprecate WindowsRegistryFinder

8 years agoIssue #28818: Simplify lookdict functions
INADA Naoki [Wed, 7 Dec 2016 11:41:42 +0000 (20:41 +0900)]
Issue #28818: Simplify lookdict functions

8 years agoMerge from 3.6.
Serhiy Storchaka [Wed, 7 Dec 2016 11:32:09 +0000 (13:32 +0200)]
Merge from 3.6.

8 years agoMerge from 3.5.
Serhiy Storchaka [Wed, 7 Dec 2016 11:31:47 +0000 (13:31 +0200)]
Merge from 3.5.

8 years agoChange order of io.UnsupportedOperation base classes.
Serhiy Storchaka [Wed, 7 Dec 2016 11:31:20 +0000 (13:31 +0200)]
Change order of io.UnsupportedOperation base classes.
This makes tests passing after changes by issue #5322.

8 years agonull merge from 3.6
INADA Naoki [Wed, 7 Dec 2016 09:38:15 +0000 (18:38 +0900)]
null merge from 3.6

8 years agoIssue #28731: Optimize _PyDict_NewPresized() to create correct size dict.
INADA Naoki [Wed, 7 Dec 2016 09:34:44 +0000 (18:34 +0900)]
Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict.

Improve speed of dict literal with constant keys up to 30%.

8 years agoIssue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Serhiy Storchaka [Wed, 7 Dec 2016 09:27:55 +0000 (11:27 +0200)]
Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.

8 years agoIssue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Serhiy Storchaka [Wed, 7 Dec 2016 09:26:49 +0000 (11:26 +0200)]
Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.

8 years agoIssue #28847: A deprecation warning is now emitted if the index file is missed
Serhiy Storchaka [Wed, 7 Dec 2016 09:11:12 +0000 (11:11 +0200)]
Issue #28847: A deprecation warning is now emitted if the index file is missed
and recreated in the 'r' and 'w' modes (will be an error in future Python
releases).

8 years agoIssue #28847: dbm.dumb now supports reading read-only files and no longer
Serhiy Storchaka [Wed, 7 Dec 2016 09:02:18 +0000 (11:02 +0200)]
Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.

8 years agoIssue #28847: dbm.dumb now supports reading read-only files and no longer
Serhiy Storchaka [Wed, 7 Dec 2016 09:00:06 +0000 (11:00 +0200)]
Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.

8 years agoIssue #28847: dbm.dumb now supports reading read-only files and no longer
Serhiy Storchaka [Wed, 7 Dec 2016 08:56:39 +0000 (10:56 +0200)]
Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.

8 years agonull merge from 3.6
Ned Deily [Wed, 7 Dec 2016 07:02:48 +0000 (02:02 -0500)]
null merge from 3.6

8 years agoPrepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final will be...
Ned Deily [Wed, 7 Dec 2016 06:59:27 +0000 (01:59 -0500)]
Prepare for 3.6.1.  Any further 3.6.0 release candidates and 3.6.0 final will be cherrypicked and merged here.

8 years agomerge tag from 3.6
Ned Deily [Wed, 7 Dec 2016 00:07:19 +0000 (19:07 -0500)]
merge tag from 3.6

8 years agoAdded tag v3.6.0rc1 for changeset 29a273eee9a5
Ned Deily [Wed, 7 Dec 2016 00:04:14 +0000 (19:04 -0500)]
Added tag v3.6.0rc1 for changeset 29a273eee9a5

8 years agoVersion bump for 3.6.0rc1 v3.6.0rc1
Ned Deily [Wed, 7 Dec 2016 00:02:30 +0000 (19:02 -0500)]
Version bump for 3.6.0rc1

8 years agoUpdate pydoc topics for 3.6.0rc1
Ned Deily [Tue, 6 Dec 2016 23:53:16 +0000 (18:53 -0500)]
Update pydoc topics for 3.6.0rc1

8 years ago_PyObject_FastCallKeywords() now calls directly tp_call
Victor Stinner [Tue, 6 Dec 2016 23:37:38 +0000 (00:37 +0100)]
_PyObject_FastCallKeywords() now calls directly tp_call

_PyObject_FastCallKeywords() doesn't call _PyObject_FastCallDict() anymore:
call directly tp_call.

8 years agoRegenerate configure with autoconf 2.69.
Ned Deily [Tue, 6 Dec 2016 22:33:19 +0000 (17:33 -0500)]
Regenerate configure with autoconf 2.69.

8 years agoRegenerate configure with autoconf 2.69.
Ned Deily [Tue, 6 Dec 2016 22:31:32 +0000 (17:31 -0500)]
Regenerate configure with autoconf 2.69.

8 years agoIssue #28835: merge from 3.6
Ned Deily [Tue, 6 Dec 2016 22:13:58 +0000 (17:13 -0500)]
Issue #28835: merge from 3.6

8 years agoIssue #28835: Tidy previous showwarning changes based on review comments.
Ned Deily [Tue, 6 Dec 2016 22:12:47 +0000 (17:12 -0500)]
Issue #28835: Tidy previous showwarning changes based on review comments.
Patch by Serhiy Storchaka.

8 years agoMerge from 3.6
Ned Deily [Tue, 6 Dec 2016 22:02:03 +0000 (17:02 -0500)]
Merge from 3.6

8 years agoUpdate the Mac installer README file for 3.6.0.
Ned Deily [Tue, 6 Dec 2016 22:00:44 +0000 (17:00 -0500)]
Update the Mac installer README file for 3.6.0.

8 years agoFix typo in a comment of abstract.c
Victor Stinner [Tue, 6 Dec 2016 17:49:15 +0000 (18:49 +0100)]
Fix typo in a comment of abstract.c

8 years agoUse _PyObject_CallNoArg()
Victor Stinner [Tue, 6 Dec 2016 17:46:19 +0000 (18:46 +0100)]
Use _PyObject_CallNoArg()

Replace:
    PyObject_CallFunctionObjArgs(callable, NULL)
with:
    _PyObject_CallNoArg(callable)