]> granicus.if.org Git - python/log
python
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)

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

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

8 years agoIssue #27030: Unknown escapes in re.sub() replacement template are allowed
Serhiy Storchaka [Tue, 6 Dec 2016 17:15:29 +0000 (19:15 +0200)]
Issue #27030: Unknown escapes in re.sub() replacement template are allowed
again.  But they still are deprecated and will be disabled in 3.7.

8 years agoIssue #28838: Fix weird indentation of abstract.h
Victor Stinner [Tue, 6 Dec 2016 15:55:39 +0000 (16:55 +0100)]
Issue #28838: Fix weird indentation of abstract.h

Remove most indentation to move code at the left.

8 years agoMerge documentation for issue #27030 from 3.6.
Serhiy Storchaka [Tue, 6 Dec 2016 17:25:19 +0000 (19:25 +0200)]
Merge documentation for issue #27030 from 3.6.

8 years agoUniformize argument names of "call" functions
Victor Stinner [Tue, 6 Dec 2016 15:27:24 +0000 (16:27 +0100)]
Uniformize argument names of "call" functions

Issue #28838: Rename parameters of the "calls" functions of the Python C API.

* Rename 'callable_object' and 'func' to 'callable': any Python callable object
  is accepted, not only Python functions
* Rename 'method' and 'nameid' to 'name' (method name)
* Rename 'o' to 'obj'
* Move, fix and update documentation of PyObject_CallXXX() functions
  in abstract.h
* Update also the documentaton of the C API (update parameter names)

8 years agoFixed misplaced comment.
Serhiy Storchaka [Tue, 6 Dec 2016 11:46:17 +0000 (13:46 +0200)]
Fixed misplaced comment.

8 years agoFixed misplaced comment.
Serhiy Storchaka [Tue, 6 Dec 2016 11:45:44 +0000 (13:45 +0200)]
Fixed misplaced comment.

8 years agoFixed misplaced comment.
Serhiy Storchaka [Tue, 6 Dec 2016 11:43:46 +0000 (13:43 +0200)]
Fixed misplaced comment.

8 years agoMerge 3.6
Victor Stinner [Tue, 6 Dec 2016 10:02:54 +0000 (11:02 +0100)]
Merge 3.6

8 years agowarnings: Fix the issue number
Victor Stinner [Tue, 6 Dec 2016 10:02:12 +0000 (11:02 +0100)]
warnings: Fix the issue number

The fix for catch_warnings() is the issue #28835 (not the issue #28089).

8 years agoMerge 3.6
Victor Stinner [Tue, 6 Dec 2016 09:59:54 +0000 (10:59 +0100)]
Merge 3.6

8 years agocatch_warnings() calls showwarning() if overriden
Victor Stinner [Tue, 6 Dec 2016 09:53:52 +0000 (10:53 +0100)]
catch_warnings() calls showwarning() if overriden

Issue #28089: Fix a regression introduced in warnings.catch_warnings(): call
warnings.showwarning() if it was overriden inside the context manager.

8 years agomerge 3.6
Benjamin Peterson [Tue, 6 Dec 2016 06:31:20 +0000 (22:31 -0800)]
merge 3.6

8 years agomerge 3.5
Benjamin Peterson [Tue, 6 Dec 2016 06:31:12 +0000 (22:31 -0800)]
merge 3.5

8 years agorm unused import
Benjamin Peterson [Tue, 6 Dec 2016 06:30:55 +0000 (22:30 -0800)]
rm unused import

8 years agoFixed merge error in Misc/NEWS for issue #23722.
Serhiy Storchaka [Mon, 5 Dec 2016 22:24:19 +0000 (00:24 +0200)]
Fixed merge error in Misc/NEWS for issue #23722.

8 years agoIssue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Mon, 5 Dec 2016 22:20:26 +0000 (00:20 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.

8 years agoIssue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Mon, 5 Dec 2016 22:17:45 +0000 (00:17 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.

8 years agoIssue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Mon, 5 Dec 2016 22:13:34 +0000 (00:13 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.

8 years agoUse directly _PyObject_GenericSetAttrWithDict()
Victor Stinner [Mon, 5 Dec 2016 17:23:27 +0000 (18:23 +0100)]
Use directly _PyObject_GenericSetAttrWithDict()

Modify type_setattro() to call directly _PyObject_GenericSetAttrWithDict()
instead of PyObject_GenericSetAttr().

PyObject_GenericSetAttr() is a thin wrapper to
_PyObject_GenericSetAttrWithDict().

8 years agoIssue #28152: Fix -Wunreachable-code warning on clang
Victor Stinner [Mon, 5 Dec 2016 17:00:42 +0000 (18:00 +0100)]
Issue #28152: Fix -Wunreachable-code warning on clang

Replace 0 with (0) to ignore a compiler warning about dead code on
"((int)(SEM_VALUE_MAX) < 0)": SEM_VALUE_MAX is not negative on Linux.

8 years agoIssue #28152: Fix -Wunreachable-code warning on clang
Victor Stinner [Mon, 5 Dec 2016 16:55:36 +0000 (17:55 +0100)]
Issue #28152: Fix -Wunreachable-code warning on clang

Replace C if() with precompiler #if to fix a warning on dead code when using
clang.

8 years agoIssue #28152: Fix -Wunreachable-code warnings on Clang
Victor Stinner [Mon, 5 Dec 2016 16:56:36 +0000 (17:56 +0100)]
Issue #28152: Fix -Wunreachable-code warnings on Clang

Don't declare dead code when the code is declared with Clang.

8 years agoIssue #28858: Remove _PyObject_CallArg1() macro
Victor Stinner [Mon, 5 Dec 2016 16:04:32 +0000 (17:04 +0100)]
Issue #28858: Remove _PyObject_CallArg1() macro

Replace
   _PyObject_CallArg1(func, arg)
with
   PyObject_CallFunctionObjArgs(func, arg, NULL)

Using the _PyObject_CallArg1() macro increases the usage of the C stack, which
was unexpected and unwanted. PyObject_CallFunctionObjArgs() doesn't have this
issue.

8 years agoMerge #23722 from 3.6
Nick Coghlan [Mon, 5 Dec 2016 06:59:22 +0000 (16:59 +1000)]
Merge #23722 from 3.6

8 years agoIssue #23722: improve __classcell__ compatibility
Nick Coghlan [Mon, 5 Dec 2016 06:47:55 +0000 (16:47 +1000)]
Issue #23722: improve __classcell__ compatibility

Handling zero-argument super() in __init_subclass__ and
__set_name__ involved moving __class__ initialisation to
type.__new__. This requires cooperation from custom
metaclasses to ensure that the new __classcell__ entry
is passed along appropriately.

The initial implementation of that change resulted in abruptly
broken zero-argument super() support in metaclasses that didn't
adhere to the new requirements (such as Django's metaclass for
Model definitions).

The updated approach adopted here instead emits a deprecation
warning for those cases, and makes them work the same way they
did in Python 3.5.

This patch also improves the related class machinery documentation
to cover these details and to include more reader-friendly
cross-references and index entries.

8 years agoBacked out changeset b9c9691c72c5
Victor Stinner [Sun, 4 Dec 2016 21:59:09 +0000 (22:59 +0100)]
Backed out changeset b9c9691c72c5

Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like
_PyObject_CallArg1() uses more stack memory than
PyObject_CallFunctionObjArgs().

8 years agomerge
Raymond Hettinger [Sun, 4 Dec 2016 19:00:57 +0000 (11:00 -0800)]
merge

8 years agoNeaten-up and extend the examples in the random module docs.
Raymond Hettinger [Sun, 4 Dec 2016 19:00:34 +0000 (11:00 -0800)]
Neaten-up and extend the examples in the random module docs.

8 years agoFixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 13:43:57 +0000 (15:43 +0200)]
Fixed mismatching title overline.

8 years agoFixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 13:43:37 +0000 (15:43 +0200)]
Fixed mismatching title overline.

8 years agoFixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 13:42:13 +0000 (15:42 +0200)]
Fixed mismatching title overline.

8 years agoFixed double hyphens that are rendered to literal en-dashes in the documenation.
Serhiy Storchaka [Sun, 4 Dec 2016 08:22:36 +0000 (10:22 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.

8 years agoFixed double hyphens that are rendered to literal en-dashes in the documenation.
Serhiy Storchaka [Sun, 4 Dec 2016 08:22:09 +0000 (10:22 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.

8 years agoFixed double hyphens that are rendered to literal en-dashes in the documenation.
Serhiy Storchaka [Sun, 4 Dec 2016 08:20:55 +0000 (10:20 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.

8 years agoNull merge with 3.6
Steve Dower [Sat, 3 Dec 2016 23:57:15 +0000 (15:57 -0800)]
Null merge with 3.6

8 years agoRevert unintended merge
Steve Dower [Sat, 3 Dec 2016 23:57:00 +0000 (15:57 -0800)]
Revert unintended merge

8 years agoRevert unintended merge
Steve Dower [Sat, 3 Dec 2016 20:12:23 +0000 (12:12 -0800)]
Revert unintended merge

8 years agoIssue #28846: Various installer fixes
Steve Dower [Sat, 3 Dec 2016 20:11:25 +0000 (12:11 -0800)]
Issue #28846: Various installer fixes

8 years agoEnsures intermediate directory is created before using it
Steve Dower [Sat, 3 Dec 2016 19:56:44 +0000 (11:56 -0800)]
Ensures intermediate directory is created before using it

8 years agoEnsures intermediate directory is created before accessing it.
Steve Dower [Sat, 3 Dec 2016 19:56:20 +0000 (11:56 -0800)]
Ensures intermediate directory is created before accessing it.

8 years agoIssue #28846: Various installer fixes
Steve Dower [Sat, 3 Dec 2016 19:24:02 +0000 (11:24 -0800)]
Issue #28846: Various installer fixes

8 years agoIssue #28846: Various installer fixes
Steve Dower [Sat, 3 Dec 2016 19:18:53 +0000 (11:18 -0800)]
Issue #28846: Various installer fixes

8 years agoMerge heads
Serhiy Storchaka [Fri, 2 Dec 2016 21:34:24 +0000 (23:34 +0200)]
Merge heads

8 years agoIssue #21818: Fixed references to classes that have names matching with module
Serhiy Storchaka [Fri, 2 Dec 2016 21:15:42 +0000 (23:15 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.

8 years agoIssue #21818: Fixed references to classes that have names matching with module
Serhiy Storchaka [Fri, 2 Dec 2016 21:15:22 +0000 (23:15 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.

8 years agoIssue #21818: Fixed references to classes that have names matching with module
Serhiy Storchaka [Fri, 2 Dec 2016 21:13:53 +0000 (23:13 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.

8 years agoMerge from 3.6.
Serhiy Storchaka [Fri, 2 Dec 2016 19:38:46 +0000 (21:38 +0200)]
Merge from 3.6.

8 years agoNull merge
Serhiy Storchaka [Fri, 2 Dec 2016 19:33:05 +0000 (21:33 +0200)]
Null merge

8 years agoIssue #27172: Undeprecate inspect.getfullargspec()
Nick Coghlan [Fri, 2 Dec 2016 10:29:57 +0000 (20:29 +1000)]
Issue #27172: Undeprecate inspect.getfullargspec()

This is still useful for single source Python 2/3 code
migrating away from inspect.getargspec(), but that wasn't
clear with the documented deprecation in place.

8 years agofix _PyObject_CallArg1 compiler warnings (closes #28855)
Benjamin Peterson [Fri, 2 Dec 2016 06:01:32 +0000 (22:01 -0800)]
fix _PyObject_CallArg1 compiler warnings (closes #28855)

8 years agoAdd sys.getandroidapilevel()
Victor Stinner [Fri, 2 Dec 2016 00:13:46 +0000 (01:13 +0100)]
Add sys.getandroidapilevel()

Issue #28740: Add sys.getandroidapilevel(): return the build time
API version of Android as an integer.

Function only available on Android.

8 years ago - Import latest config.sub config.guess files
doko@ubuntu.com [Thu, 1 Dec 2016 20:42:56 +0000 (21:42 +0100)]
 - Import latest config.sub config.guess files

8 years agoMerge 3.6 (issue #28843)
Yury Selivanov [Thu, 1 Dec 2016 16:37:47 +0000 (11:37 -0500)]
Merge 3.6 (issue #28843)

8 years agoIssue #28843: Fix asyncio C Task to handle exceptions __traceback__.
Yury Selivanov [Thu, 1 Dec 2016 16:36:22 +0000 (11:36 -0500)]
Issue #28843: Fix asyncio C Task to handle exceptions __traceback__.

8 years agoReplace PyObject_CallFunction() with fastcall
Victor Stinner [Thu, 1 Dec 2016 13:51:04 +0000 (14:51 +0100)]
Replace PyObject_CallFunction() with fastcall

Replace
    PyObject_CallFunction(func, "O", arg)
and
    PyObject_CallFunction(func, "O", arg, NULL)
with
    _PyObject_CallArg1(func, arg)

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

_PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate
memory on the C stack.

8 years agoWITH_CLEANUP_START uses fastcall
Victor Stinner [Thu, 1 Dec 2016 13:45:31 +0000 (14:45 +0100)]
WITH_CLEANUP_START uses fastcall

Modify WITH_CLEANUP_START bytecode: replace PyObject_CallFunctionObjArgs() with
_PyObject_FastCall().

8 years agoReplace PyObject_CallFunctionObjArgs() with fastcall
Victor Stinner [Thu, 1 Dec 2016 13:43:22 +0000 (14:43 +0100)]
Replace PyObject_CallFunctionObjArgs() with fastcall

* PyObject_CallFunctionObjArgs(func, NULL) => _PyObject_CallNoArg(func)
* PyObject_CallFunctionObjArgs(func, arg, NULL) => _PyObject_CallArg1(func, arg)

PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires
extra work to "parse" C arguments to build a C array of PyObject*.

_PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate
memory on the C stack.

This change is part of the fastcall project. The change on listsort() is
related to the issue #23507.

8 years agoBacked out changeset 7efddbf1aa70
Victor Stinner [Wed, 30 Nov 2016 11:10:54 +0000 (12:10 +0100)]
Backed out changeset 7efddbf1aa70

8 years agoUniformize argument names of "call" functions
Victor Stinner [Tue, 29 Nov 2016 17:47:56 +0000 (18:47 +0100)]
Uniformize argument names of "call" functions

* Callable object: callable, o, callable_object => func
* Object for method calls: o => obj
* Method name: name or nameid => method

Cleanup also the C code:

* Don't initialize variables to NULL if they are not used before their first
  assignement
* Add braces for readability

8 years agoIssue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.6->3.7)
Guido van Rossum [Tue, 29 Nov 2016 17:46:29 +0000 (09:46 -0800)]
Issue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.6->3.7)

8 years agoIssue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.5->3.6)
Guido van Rossum [Tue, 29 Nov 2016 17:46:26 +0000 (09:46 -0800)]
Issue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.5->3.6)

8 years agoIssue #28790: Fix error when using Generic and __slots__ (Ivan L)
Guido van Rossum [Tue, 29 Nov 2016 17:46:21 +0000 (09:46 -0800)]
Issue #28790: Fix error when using Generic and __slots__ (Ivan L)

8 years agoNull merge 3.6
Victor Stinner [Tue, 29 Nov 2016 17:22:02 +0000 (18:22 +0100)]
Null merge 3.6

8 years agoAdd TCP_CONGESTION and TCP_USER_TIMEOUT
Victor Stinner [Tue, 29 Nov 2016 15:55:04 +0000 (16:55 +0100)]
Add TCP_CONGESTION and TCP_USER_TIMEOUT

Issue #26273: Add new socket.TCP_CONGESTION (Linux 2.6.13) and
socket.TCP_USER_TIMEOUT (Linux 2.6.37) constants.

Patch written by Omar Sandoval.

8 years agoAdd TCP_CONGESTION and TCP_USER_TIMEOUT
Victor Stinner [Tue, 29 Nov 2016 15:55:04 +0000 (16:55 +0100)]
Add TCP_CONGESTION and TCP_USER_TIMEOUT

Issue #26273: Add new socket.TCP_CONGESTION (Linux 2.6.13) and
socket.TCP_USER_TIMEOUT (Linux 2.6.37) constants.

Patch written by Omar Sandoval.

8 years agoIssue #28797: Modifying the class __dict__ inside the __set_name__ method of
Serhiy Storchaka [Tue, 29 Nov 2016 07:56:07 +0000 (09:56 +0200)]
Issue #28797: Modifying the class __dict__ inside the __set_name__ method of
 a descriptor that is used inside that class no longer prevents calling the
 __set_name__ method of other descriptors.

8 years ago Issue #28797: Modifying the class __dict__ inside the __set_name__ method of
Serhiy Storchaka [Tue, 29 Nov 2016 07:54:17 +0000 (09:54 +0200)]
 Issue #28797: Modifying the class __dict__ inside the __set_name__ method of
 a descriptor that is used inside that class no longer prevents calling the
 __set_name__ method of other descriptors.

8 years agoIssue #28823: Simplified compiling with opcode BUILD_MAP_UNPACK.
Serhiy Storchaka [Mon, 28 Nov 2016 18:56:37 +0000 (20:56 +0200)]
Issue #28823: Simplified compiling with opcode BUILD_MAP_UNPACK.

8 years agocall_function(): document PyMethod optimization
Victor Stinner [Mon, 28 Nov 2016 17:32:31 +0000 (18:32 +0100)]
call_function(): document PyMethod optimization

8 years agoReintroduce Python2 support in generate_opcode_h.py
Victor Stinner [Mon, 28 Nov 2016 17:13:52 +0000 (18:13 +0100)]
Reintroduce Python2 support in generate_opcode_h.py

Issue #28821.

Add also a message to show that the command did something :-)

8 years agoMerge 3.6 (issue #28635)
Yury Selivanov [Mon, 28 Nov 2016 16:45:58 +0000 (11:45 -0500)]
Merge 3.6 (issue #28635)

8 years agoIssue #28635: Document Python 3.6 opcode changes
Yury Selivanov [Mon, 28 Nov 2016 16:45:36 +0000 (11:45 -0500)]
Issue #28635: Document Python 3.6 opcode changes

Thanks to Serhiy Storchaka for pointing out the missing notes.

Patch by Elvis Pranskevichus.

8 years agoIssue #28799: Update Misc/SpecialBuilds.txt
Victor Stinner [Mon, 28 Nov 2016 11:06:13 +0000 (12:06 +0100)]
Issue #28799: Update Misc/SpecialBuilds.txt

Remove CALL_PROFILE.

8 years agoRemove CALL_PROFILE special build
Victor Stinner [Mon, 28 Nov 2016 10:59:04 +0000 (11:59 +0100)]
Remove CALL_PROFILE special build

Issue #28799:

* Remove the PyEval_GetCallStats() function.
* Deprecate the untested and undocumented sys.callstats() function.
* Remove the CALL_PROFILE special build

Use the sys.setprofile() function, cProfile or profile module to profile
function calls.

8 years agoIssue #12844: More than 255 arguments can now be passed to a function.
Serhiy Storchaka [Mon, 28 Nov 2016 08:52:05 +0000 (10:52 +0200)]
Issue #12844: More than 255 arguments can now be passed to a function.

8 years agoMerge with 3.6
Zachary Ware [Mon, 28 Nov 2016 06:19:23 +0000 (00:19 -0600)]
Merge with 3.6

8 years agoFix grammar in whatsnew
Zachary Ware [Mon, 28 Nov 2016 06:19:07 +0000 (00:19 -0600)]
Fix grammar in whatsnew

8 years agoMerge 3.6, fix for #24142
Łukasz Langa [Sat, 26 Nov 2016 22:04:40 +0000 (14:04 -0800)]
Merge 3.6, fix for #24142

8 years agoMerge 3.5, fix for #24142
Łukasz Langa [Sat, 26 Nov 2016 22:02:48 +0000 (14:02 -0800)]
Merge 3.5, fix for #24142

8 years agoFixes #24142: [configparser] always join multiline values to not leave the parser...
Łukasz Langa [Sat, 26 Nov 2016 22:00:39 +0000 (14:00 -0800)]
Fixes #24142: [configparser] always join multiline values to not leave the parser in an invalid state