summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28847: A deprecation warning is now emitted if the index file is missedSerhiy Storchaka2016-12-073-3/+24
| | | | | and recreated in the 'r' and 'w' modes (will be an error in future Python releases).
* Issue #28847: dbm.dumb now supports reading read-only files and no longerSerhiy Storchaka2016-12-074-4/+26
|\ | | | | | | writes the index file when it is not changed.
| * Issue #28847: dbm.dumb now supports reading read-only files and no longerSerhiy Storchaka2016-12-074-4/+26
| |\ | | | | | | | | | writes the index file when it is not changed.
| | * Issue #28847: dbm.dumb now supports reading read-only files and no longerSerhiy Storchaka2016-12-074-5/+28
| | | | | | | | | | | | writes the index file when it is not changed.
* | | null merge from 3.6Ned Deily2016-12-070-0/+0
|\ \ \ | |/ /
| * | Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final ↵Ned Deily2016-12-072-3/+15
| | | | | | | | | | | | will be cherrypicked and merged here.
* | | merge tag from 3.6Ned Deily2016-12-071-0/+1
|\ \ \ | |/ /
| * | Added tag v3.6.0rc1 for changeset 29a273eee9a5Ned Deily2016-12-071-0/+1
| | |
| * | Version bump for 3.6.0rc1v3.6.0rc1Ned Deily2016-12-073-6/+6
| | |
| * | Update pydoc topics for 3.6.0rc1Ned Deily2016-12-061-4/+37
| | |
* | | _PyObject_FastCallKeywords() now calls directly tp_callVictor Stinner2016-12-061-15/+45
| | | | | | | | | | | | | | | _PyObject_FastCallKeywords() doesn't call _PyObject_FastCallDict() anymore: call directly tp_call.
* | | Regenerate configure with autoconf 2.69.Ned Deily2016-12-061-13/+1
|\ \ \ | |/ /
| * | Regenerate configure with autoconf 2.69.Ned Deily2016-12-061-13/+1
| | |
* | | Issue #28835: merge from 3.6Ned Deily2016-12-061-28/+27
|\ \ \ | |/ /
| * | Issue #28835: Tidy previous showwarning changes based on review comments.Ned Deily2016-12-061-28/+27
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Merge from 3.6Ned Deily2016-12-061-5/+5
|\ \ \ | |/ /
| * | Update the Mac installer README file for 3.6.0.Ned Deily2016-12-061-5/+5
| | |
* | | Fix typo in a comment of abstract.cVictor Stinner2016-12-061-1/+1
| | |
* | | Use _PyObject_CallNoArg()Victor Stinner2016-12-0615-21/+21
| | | | | | | | | | | | | | | | | | | | | Replace: PyObject_CallFunctionObjArgs(callable, NULL) with: _PyObject_CallNoArg(callable)
* | | Use _PyObject_CallNoArg()Victor Stinner2016-12-0611-33/+33
| | | | | | | | | | | | | | | | | | | | | Replace: PyObject_CallObject(callable, NULL) with: _PyObject_CallNoArg(callable)
* | | Issue #28838: Fix weird indentation of abstract.hVictor Stinner2016-12-061-847/+859
| | | | | | | | | | | | Remove most indentation to move code at the left.
* | | Merge documentation for issue #27030 from 3.6.Serhiy Storchaka2016-12-064-3/+17
|\ \ \ | |/ /
| * | Issue #27030: Unknown escapes in re.sub() replacement template are allowedSerhiy Storchaka2016-12-065-5/+16
| | | | | | | | | | | | again. But they still are deprecated and will be disabled in 3.7.
* | | Uniformize argument names of "call" functionsVictor Stinner2016-12-067-179/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | Fixed misplaced comment.Serhiy Storchaka2016-12-061-6/+6
|\ \ \ | |/ /
| * | Fixed misplaced comment.Serhiy Storchaka2016-12-061-6/+6
| |\ \ | | |/
| | * Fixed misplaced comment.Serhiy Storchaka2016-12-061-6/+6
| | |
* | | Merge 3.6Victor Stinner2016-12-062-3/+3
|\ \ \ | |/ /
| * | warnings: Fix the issue numberVictor Stinner2016-12-062-3/+3
| | | | | | | | | | | | The fix for catch_warnings() is the issue #28835 (not the issue #28089).
* | | Merge 3.6Victor Stinner2016-12-063-2/+60
|\ \ \ | |/ /
| * | catch_warnings() calls showwarning() if overridenVictor Stinner2016-12-063-2/+60
| | | | | | | | | | | | | | | Issue #28089: Fix a regression introduced in warnings.catch_warnings(): call warnings.showwarning() if it was overriden inside the context manager.
* | | merge 3.6Benjamin Peterson2016-12-061-1/+0
|\ \ \ | |/ /
| * | merge 3.5Benjamin Peterson2016-12-061-1/+0
| |\ \ | | |/
| | * rm unused importBenjamin Peterson2016-12-061-1/+0
| | |
* | | Fixed merge error in Misc/NEWS for issue #23722.Serhiy Storchaka2016-12-051-8/+5
| | |
* | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.Serhiy Storchaka2016-12-054-5/+20
|\ \ \ | |/ /
| * | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.Serhiy Storchaka2016-12-054-5/+23
| |\ \ | | |/
| | * Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.Serhiy Storchaka2016-12-054-5/+20
| | |
* | | Use directly _PyObject_GenericSetAttrWithDict()Victor Stinner2016-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Modify type_setattro() to call directly _PyObject_GenericSetAttrWithDict() instead of PyObject_GenericSetAttr(). PyObject_GenericSetAttr() is a thin wrapper to _PyObject_GenericSetAttrWithDict().
* | | Issue #28152: Fix -Wunreachable-code warning on clangVictor Stinner2016-12-051-2/+5
| | | | | | | | | | | | | | | 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.
* | | Issue #28152: Fix -Wunreachable-code warning on clangVictor Stinner2016-12-051-5/+5
| | | | | | | | | | | | | | | Replace C if() with precompiler #if to fix a warning on dead code when using clang.
* | | Issue #28152: Fix -Wunreachable-code warnings on ClangVictor Stinner2016-12-052-0/+14
| | | | | | | | | | | | Don't declare dead code when the code is declared with Clang.
* | | Issue #28858: Remove _PyObject_CallArg1() macroVictor Stinner2016-12-0515-26/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge #23722 from 3.6Nick Coghlan2016-12-059-1211/+1396
|\ \ \ | |/ /
| * | Issue #23722: improve __classcell__ compatibilityNick Coghlan2016-12-059-1211/+1395
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Backed out changeset b9c9691c72c5Victor Stinner2016-12-0433-71/+83
| | | | | | | | | | | | | | | | | | Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like _PyObject_CallArg1() uses more stack memory than PyObject_CallFunctionObjArgs().
* | | mergeRaymond Hettinger2016-12-041-10/+14
|\ \ \ | |/ /
| * | Neaten-up and extend the examples in the random module docs.Raymond Hettinger2016-12-041-10/+14
| | |
* | | Fixed mismatching title overline.Serhiy Storchaka2016-12-041-1/+1
|\ \ \ | |/ /
| * | Fixed mismatching title overline.Serhiy Storchaka2016-12-041-1/+1
| |\ \ | | |/