Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28847: A deprecation warning is now emitted if the index file is missed | Serhiy Storchaka | 2016-12-07 | 3 | -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 longer | Serhiy Storchaka | 2016-12-07 | 4 | -4/+26 |
|\ | | | | | | | writes the index file when it is not changed. | ||||
| * | Issue #28847: dbm.dumb now supports reading read-only files and no longer | Serhiy Storchaka | 2016-12-07 | 4 | -4/+26 |
| |\ | | | | | | | | | | writes the index file when it is not changed. | ||||
| | * | Issue #28847: dbm.dumb now supports reading read-only files and no longer | Serhiy Storchaka | 2016-12-07 | 4 | -5/+28 |
| | | | | | | | | | | | | writes the index file when it is not changed. | ||||
* | | | null merge from 3.6 | Ned Deily | 2016-12-07 | 0 | -0/+0 |
|\ \ \ | |/ / | |||||
| * | | Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final ↵ | Ned Deily | 2016-12-07 | 2 | -3/+15 |
| | | | | | | | | | | | | will be cherrypicked and merged here. | ||||
* | | | merge tag from 3.6 | Ned Deily | 2016-12-07 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | Added tag v3.6.0rc1 for changeset 29a273eee9a5 | Ned Deily | 2016-12-07 | 1 | -0/+1 |
| | | | |||||
| * | | Version bump for 3.6.0rc1v3.6.0rc1 | Ned Deily | 2016-12-07 | 3 | -6/+6 |
| | | | |||||
| * | | Update pydoc topics for 3.6.0rc1 | Ned Deily | 2016-12-06 | 1 | -4/+37 |
| | | | |||||
* | | | _PyObject_FastCallKeywords() now calls directly tp_call | Victor Stinner | 2016-12-06 | 1 | -15/+45 |
| | | | | | | | | | | | | | | | _PyObject_FastCallKeywords() doesn't call _PyObject_FastCallDict() anymore: call directly tp_call. | ||||
* | | | Regenerate configure with autoconf 2.69. | Ned Deily | 2016-12-06 | 1 | -13/+1 |
|\ \ \ | |/ / | |||||
| * | | Regenerate configure with autoconf 2.69. | Ned Deily | 2016-12-06 | 1 | -13/+1 |
| | | | |||||
* | | | Issue #28835: merge from 3.6 | Ned Deily | 2016-12-06 | 1 | -28/+27 |
|\ \ \ | |/ / | |||||
| * | | Issue #28835: Tidy previous showwarning changes based on review comments. | Ned Deily | 2016-12-06 | 1 | -28/+27 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | Merge from 3.6 | Ned Deily | 2016-12-06 | 1 | -5/+5 |
|\ \ \ | |/ / | |||||
| * | | Update the Mac installer README file for 3.6.0. | Ned Deily | 2016-12-06 | 1 | -5/+5 |
| | | | |||||
* | | | Fix typo in a comment of abstract.c | Victor Stinner | 2016-12-06 | 1 | -1/+1 |
| | | | |||||
* | | | Use _PyObject_CallNoArg() | Victor Stinner | 2016-12-06 | 15 | -21/+21 |
| | | | | | | | | | | | | | | | | | | | | | Replace: PyObject_CallFunctionObjArgs(callable, NULL) with: _PyObject_CallNoArg(callable) | ||||
* | | | Use _PyObject_CallNoArg() | Victor Stinner | 2016-12-06 | 11 | -33/+33 |
| | | | | | | | | | | | | | | | | | | | | | Replace: PyObject_CallObject(callable, NULL) with: _PyObject_CallNoArg(callable) | ||||
* | | | Issue #28838: Fix weird indentation of abstract.h | Victor Stinner | 2016-12-06 | 1 | -847/+859 |
| | | | | | | | | | | | | Remove most indentation to move code at the left. | ||||
* | | | Merge documentation for issue #27030 from 3.6. | Serhiy Storchaka | 2016-12-06 | 4 | -3/+17 |
|\ \ \ | |/ / | |||||
| * | | Issue #27030: Unknown escapes in re.sub() replacement template are allowed | Serhiy Storchaka | 2016-12-06 | 5 | -5/+16 |
| | | | | | | | | | | | | again. But they still are deprecated and will be disabled in 3.7. | ||||
* | | | Uniformize argument names of "call" functions | Victor Stinner | 2016-12-06 | 7 | -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 Storchaka | 2016-12-06 | 1 | -6/+6 |
|\ \ \ | |/ / | |||||
| * | | Fixed misplaced comment. | Serhiy Storchaka | 2016-12-06 | 1 | -6/+6 |
| |\ \ | | |/ | |||||
| | * | Fixed misplaced comment. | Serhiy Storchaka | 2016-12-06 | 1 | -6/+6 |
| | | | |||||
* | | | Merge 3.6 | Victor Stinner | 2016-12-06 | 2 | -3/+3 |
|\ \ \ | |/ / | |||||
| * | | warnings: Fix the issue number | Victor Stinner | 2016-12-06 | 2 | -3/+3 |
| | | | | | | | | | | | | The fix for catch_warnings() is the issue #28835 (not the issue #28089). | ||||
* | | | Merge 3.6 | Victor Stinner | 2016-12-06 | 3 | -2/+60 |
|\ \ \ | |/ / | |||||
| * | | catch_warnings() calls showwarning() if overriden | Victor Stinner | 2016-12-06 | 3 | -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.6 | Benjamin Peterson | 2016-12-06 | 1 | -1/+0 |
|\ \ \ | |/ / | |||||
| * | | merge 3.5 | Benjamin Peterson | 2016-12-06 | 1 | -1/+0 |
| |\ \ | | |/ | |||||
| | * | rm unused import | Benjamin Peterson | 2016-12-06 | 1 | -1/+0 |
| | | | |||||
* | | | Fixed merge error in Misc/NEWS for issue #23722. | Serhiy Storchaka | 2016-12-05 | 1 | -8/+5 |
| | | | |||||
* | | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 4 | -5/+20 |
|\ \ \ | |/ / | |||||
| * | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 4 | -5/+23 |
| |\ \ | | |/ | |||||
| | * | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 4 | -5/+20 |
| | | | |||||
* | | | Use directly _PyObject_GenericSetAttrWithDict() | Victor Stinner | 2016-12-05 | 1 | -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 clang | Victor Stinner | 2016-12-05 | 1 | -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 clang | Victor Stinner | 2016-12-05 | 1 | -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 Clang | Victor Stinner | 2016-12-05 | 2 | -0/+14 |
| | | | | | | | | | | | | Don't declare dead code when the code is declared with Clang. | ||||
* | | | Issue #28858: Remove _PyObject_CallArg1() macro | Victor Stinner | 2016-12-05 | 15 | -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.6 | Nick Coghlan | 2016-12-05 | 9 | -1211/+1396 |
|\ \ \ | |/ / | |||||
| * | | Issue #23722: improve __classcell__ compatibility | Nick Coghlan | 2016-12-05 | 9 | -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 b9c9691c72c5 | Victor Stinner | 2016-12-04 | 33 | -71/+83 |
| | | | | | | | | | | | | | | | | | | Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like _PyObject_CallArg1() uses more stack memory than PyObject_CallFunctionObjArgs(). | ||||
* | | | merge | Raymond Hettinger | 2016-12-04 | 1 | -10/+14 |
|\ \ \ | |/ / | |||||
| * | | Neaten-up and extend the examples in the random module docs. | Raymond Hettinger | 2016-12-04 | 1 | -10/+14 |
| | | | |||||
* | | | Fixed mismatching title overline. | Serhiy Storchaka | 2016-12-04 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fixed mismatching title overline. | Serhiy Storchaka | 2016-12-04 | 1 | -1/+1 |
| |\ \ | | |/ |