Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27809: tzinfo_reduce() uses fast call | Victor Stinner | 2016-08-22 | 1 | -14/+10 |
| | |||||
* | Issue #27809: PyErr_SetImportError() uses fast call | Victor Stinner | 2016-08-22 | 1 | -14/+8 |
| | |||||
* | Add _PyErr_CreateException() | Victor Stinner | 2016-08-22 | 1 | -30/+29 |
| | | | | | Issue #27809: Helper function optimized to create an exception: use fastcall whenever possible. | ||||
* | Issue #27809: Use _PyObject_FastCallDict() | Victor Stinner | 2016-08-22 | 2 | -25/+15 |
| | | | | | | | | | Modify: * init_subclass() * builtin___build_class__() Fix also a bug in init_subclass(): check for super() failure. | ||||
* | PyEval_CallObjectWithKeywords() uses fast call with kwargs | Victor Stinner | 2016-08-22 | 1 | -12/+4 |
| | | | | | Issue #27809. _PyObject_FastCallDict() now supports keyword arguments, and so the args==NULL fast-path can also be used when kwargs is not NULL. | ||||
* | Issue #27809: Use _PyObject_FastCallDict() | Victor Stinner | 2016-08-22 | 2 | -34/+15 |
| | | | | | | | | | Modify: * builtin_sorted() * classmethoddescr_call() * methoddescr_call() * wrapperdescr_call() | ||||
* | Issue #27809: Cleanup _PyEval_EvalCodeWithName() | Victor Stinner | 2016-08-22 | 1 | -15/+13 |
| | | | | | * Rename nm to name * PEP 7: add { ... } to if/else blocks | ||||
* | _PyFunction_FastCallDict() supports keyword args | Victor Stinner | 2016-08-22 | 5 | -20/+51 |
| | | | | | | | | Issue #27809: * Rename _PyFunction_FastCall() to _PyFunction_FastCallDict() * Rename _PyCFunction_FastCall() to _PyCFunction_FastCallDict() * _PyFunction_FastCallDict() now supports keyword arguments | ||||
* | Rename _PyObject_FastCall() to _PyObject_FastCallDict() | Victor Stinner | 2016-08-22 | 12 | -30/+39 |
| | | | | | | | | Issue #27809: * Rename _PyObject_FastCall() function to _PyObject_FastCallDict() * Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1() macros calling _PyObject_FastCallDict() | ||||
* | Issue #27587: Merge from 3.5 | Berker Peksag | 2016-08-22 | 2 | -2/+8 |
|\ | |||||
| * | Issue #27587: Move null pointer check earlier in _PyState_AddModule() | Berker Peksag | 2016-08-22 | 2 | -2/+8 |
| | | | | | | | | | | | | | | | | | | This was found by PVS-Studio: V595 The 'def' pointer was utilized before it was verified against nullptr. Check lines: 286, 292. pystate.c 286 Initial patch by Christian Heimes. | ||||
* | | Issue #27829: libregrtest.save_env: flush stderr | Victor Stinner | 2016-08-22 | 1 | -6/+4 |
| | | | | | | | | | | | | Use flush=True to try to get a warning which is missing in buildbots. Use also f-string to make the code shorter. | ||||
* | | Cleanup libregrtest | Victor Stinner | 2016-08-22 | 2 | -37/+20 |
| | | | | | | | | | | * main.py: remove unused import * runtest: simplify runtest_inner() parameters, reuse ns parameter | ||||
* | | Issue #27792: force int return type for modulo operations involving bools. | Mark Dickinson | 2016-08-22 | 3 | -2/+16 |
| | | |||||
* | | Optimize call to Python function without argument | Victor Stinner | 2016-08-22 | 1 | -11/+31 |
| | | | | | | | | | | | | Issue #27128. When a Python function is called with no arguments, but all parameters have a default value: use default values as arguments for the fast path. | ||||
* | | Issue #27539: Merge from 3.5. | Mark Dickinson | 2016-08-22 | 4 | -1/+22 |
|\ \ | |/ | |||||
| * | Issue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent ↵ | Mark Dickinson | 2016-08-22 | 4 | -1/+22 |
| | | | | | | | | and base. Thanks Vedran Čačić. | ||||
* | | Remove main section that was only used during testing and development | Raymond Hettinger | 2016-08-22 | 1 | -38/+0 |
| | | |||||
* | | Issue #27819: Add more detail in What's New in 3.6. | Jason R. Coombs | 2016-08-21 | 1 | -0/+23 |
| | | |||||
* | | remove unused list of pgen srcs | Benjamin Peterson | 2016-08-21 | 1 | -23/+0 |
| | | |||||
* | | Issue #26984: int() now always returns an instance of exact int. | Serhiy Storchaka | 2016-08-21 | 3 | -13/+29 |
| | | |||||
* | | Issue #21718: Merge from 3.5 | Berker Peksag | 2016-08-21 | 3 | -7/+48 |
|\ \ | |/ | |||||
| * | Issue #21718: cursor.description is now available for queries using CTEs | Berker Peksag | 2016-08-21 | 3 | -7/+48 |
| | | | | | | | | | | | | | | | | | | | | According to PEP 249, cursor.description must be available for any SELECT statements, such as those that use CTEs. Backported from https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c Additional test cases added by me. | ||||
* | | Untabify Objects/longobject.c. | Mark Dickinson | 2016-08-21 | 1 | -2/+2 |
| | | |||||
* | | Issue #25604: Fix minor bug in integer true division, which could | Mark Dickinson | 2016-08-21 | 2 | -2/+6 |
| | | | | | | | | have caused off-by-one-ulp results on certain platforms. | ||||
* | | Issue #27662: add missing Misc/NEWS entry. | Mark Dickinson | 2016-08-21 | 1 | -0/+4 |
| | | |||||
* | | Issue #27662: don't use PY_SIZE_MAX for overflow checking in List_New. Patch ↵ | Mark Dickinson | 2016-08-21 | 1 | -11/+1 |
| | | | | | | | | by Xiang Zhang. | ||||
* | | Merge #27782 fix from 3.5 | Nick Coghlan | 2016-08-21 | 7 | -32/+83 |
|\ \ | |/ | |||||
| * | Issue #27782: Fix m_methods handling in multiphase init | Nick Coghlan | 2016-08-21 | 7 | -32/+83 |
| | | | | | | | | | | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang. | ||||
* | | Issue #27487: Merge runpy warning from 3.5 | Martin Panter | 2016-08-21 | 4 | -11/+52 |
|\ \ | |/ | |||||
| * | Issue #27487: Warn if submodule already imported before runpy execution | Martin Panter | 2016-08-21 | 4 | -11/+52 |
| | | | | | | | | Also try to clarify the find_spec() error message. | ||||
* | | Fix typo in IDLE News. | Terry Jan Reedy | 2016-08-21 | 2 | -6/+6 |
|\ \ | |/ | |||||
| * | Fix typo in IDLE News. | Terry Jan Reedy | 2016-08-21 | 2 | -2/+2 |
| | | |||||
* | | Add 3.6.0a4 IDLE NEWS and idlelib/NEWS.txt items. | Terry Jan Reedy | 2016-08-21 | 2 | -0/+55 |
|\ \ | |/ | |||||
| * | Add 3.5.3 IDLE NEWS and idlelib/NEWS.txt items. | Terry Jan Reedy | 2016-08-21 | 2 | -0/+18 |
| | | |||||
* | | Issue #27714: Remove unneeded non-idempotent call that fails on retest. | Terry Jan Reedy | 2016-08-21 | 1 | -2/+0 |
|\ \ | |/ | |||||
| * | Issue #27714: Remove unneeded non-idempotent call that fails on retest. | Terry Jan Reedy | 2016-08-21 | 1 | -2/+0 |
| | | |||||
* | | Issue #27819: Simply default to gztar for sdist formats by default on all ↵ | Jason R. Coombs | 2016-08-20 | 2 | -11/+4 |
| | | | | | | | | platforms. | ||||
* | | Issue #27692: Removed unnecessary NULL checks in exceptions.c. | Serhiy Storchaka | 2016-08-20 | 1 | -4/+3 |
| | | | | | | | | Patch by Xiang Zhang. | ||||
* | | issue26981: fix typo | Ethan Furman | 2016-08-20 | 1 | -1/+1 |
| | | |||||
* | | issue26981: add _order_ compatibility shim to enum.Enum | Ethan Furman | 2016-08-20 | 4 | -3/+100 |
| | | |||||
* | | Fix more typos | Martin Panter | 2016-08-20 | 1 | -2/+2 |
| | | |||||
* | | Merge spelling fixes from 3.5 | Martin Panter | 2016-08-20 | 6 | -7/+7 |
|\ \ | |/ | |||||
| * | Minor spelling fixes | Martin Panter | 2016-08-20 | 6 | -7/+7 |
| | | |||||
* | | Issue #12982: Merge from 3.5 | Berker Peksag | 2016-08-20 | 1 | -3/+1 |
|\ \ | |/ | |||||
| * | Issue #12982: Thanks to PEP 488, Python no longer creates .pyo files | Berker Peksag | 2016-08-20 | 1 | -3/+1 |
| | | |||||
* | | Issue #27614: Merge test_docxmlrpc from 3.5 | Martin Panter | 2016-08-20 | 1 | -30/+11 |
|\ \ | |/ | |||||
| * | Issue #27614: Avoid race in test_docxmlrpc server setup | Martin Panter | 2016-08-20 | 1 | -30/+11 |
| | | |||||
* | | Issue #27787: Merge regrtest fixup from 3.5 | Martin Panter | 2016-08-20 | 2 | -0/+7 |
|\ \ | |/ | |||||
| * | Issue #27787: Clean up weak references before checking for dangling threads | Martin Panter | 2016-08-20 | 2 | -0/+4 |
| | |