summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #27809: tzinfo_reduce() uses fast callVictor Stinner2016-08-221-14/+10
|
* Issue #27809: PyErr_SetImportError() uses fast callVictor Stinner2016-08-221-14/+8
|
* Add _PyErr_CreateException()Victor Stinner2016-08-221-30/+29
| | | | | Issue #27809: Helper function optimized to create an exception: use fastcall whenever possible.
* Issue #27809: Use _PyObject_FastCallDict()Victor Stinner2016-08-222-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 kwargsVictor Stinner2016-08-221-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 Stinner2016-08-222-34/+15
| | | | | | | | | Modify: * builtin_sorted() * classmethoddescr_call() * methoddescr_call() * wrapperdescr_call()
* Issue #27809: Cleanup _PyEval_EvalCodeWithName()Victor Stinner2016-08-221-15/+13
| | | | | * Rename nm to name * PEP 7: add { ... } to if/else blocks
* _PyFunction_FastCallDict() supports keyword argsVictor Stinner2016-08-225-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 Stinner2016-08-2212-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.5Berker Peksag2016-08-222-2/+8
|\
| * Issue #27587: Move null pointer check earlier in _PyState_AddModule()Berker Peksag2016-08-222-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 stderrVictor Stinner2016-08-221-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 libregrtestVictor Stinner2016-08-222-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 Dickinson2016-08-223-2/+16
| |
* | Optimize call to Python function without argumentVictor Stinner2016-08-221-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 Dickinson2016-08-224-1/+22
|\ \ | |/
| * Issue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent ↵Mark Dickinson2016-08-224-1/+22
| | | | | | | | and base. Thanks Vedran Čačić.
* | Remove main section that was only used during testing and developmentRaymond Hettinger2016-08-221-38/+0
| |
* | Issue #27819: Add more detail in What's New in 3.6.Jason R. Coombs2016-08-211-0/+23
| |
* | remove unused list of pgen srcsBenjamin Peterson2016-08-211-23/+0
| |
* | Issue #26984: int() now always returns an instance of exact int.Serhiy Storchaka2016-08-213-13/+29
| |
* | Issue #21718: Merge from 3.5Berker Peksag2016-08-213-7/+48
|\ \ | |/
| * Issue #21718: cursor.description is now available for queries using CTEsBerker Peksag2016-08-213-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 Dickinson2016-08-211-2/+2
| |
* | Issue #25604: Fix minor bug in integer true division, which couldMark Dickinson2016-08-212-2/+6
| | | | | | | | have caused off-by-one-ulp results on certain platforms.
* | Issue #27662: add missing Misc/NEWS entry.Mark Dickinson2016-08-211-0/+4
| |
* | Issue #27662: don't use PY_SIZE_MAX for overflow checking in List_New. Patch ↵Mark Dickinson2016-08-211-11/+1
| | | | | | | | by Xiang Zhang.
* | Merge #27782 fix from 3.5Nick Coghlan2016-08-217-32/+83
|\ \ | |/
| * Issue #27782: Fix m_methods handling in multiphase initNick Coghlan2016-08-217-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.5Martin Panter2016-08-214-11/+52
|\ \ | |/
| * Issue #27487: Warn if submodule already imported before runpy executionMartin Panter2016-08-214-11/+52
| | | | | | | | Also try to clarify the find_spec() error message.
* | Fix typo in IDLE News.Terry Jan Reedy2016-08-212-6/+6
|\ \ | |/
| * Fix typo in IDLE News.Terry Jan Reedy2016-08-212-2/+2
| |
* | Add 3.6.0a4 IDLE NEWS and idlelib/NEWS.txt items.Terry Jan Reedy2016-08-212-0/+55
|\ \ | |/
| * Add 3.5.3 IDLE NEWS and idlelib/NEWS.txt items.Terry Jan Reedy2016-08-212-0/+18
| |
* | Issue #27714: Remove unneeded non-idempotent call that fails on retest.Terry Jan Reedy2016-08-211-2/+0
|\ \ | |/
| * Issue #27714: Remove unneeded non-idempotent call that fails on retest.Terry Jan Reedy2016-08-211-2/+0
| |
* | Issue #27819: Simply default to gztar for sdist formats by default on all ↵Jason R. Coombs2016-08-202-11/+4
| | | | | | | | platforms.
* | Issue #27692: Removed unnecessary NULL checks in exceptions.c.Serhiy Storchaka2016-08-201-4/+3
| | | | | | | | Patch by Xiang Zhang.
* | issue26981: fix typoEthan Furman2016-08-201-1/+1
| |
* | issue26981: add _order_ compatibility shim to enum.EnumEthan Furman2016-08-204-3/+100
| |
* | Fix more typosMartin Panter2016-08-201-2/+2
| |
* | Merge spelling fixes from 3.5Martin Panter2016-08-206-7/+7
|\ \ | |/
| * Minor spelling fixesMartin Panter2016-08-206-7/+7
| |
* | Issue #12982: Merge from 3.5Berker Peksag2016-08-201-3/+1
|\ \ | |/
| * Issue #12982: Thanks to PEP 488, Python no longer creates .pyo filesBerker Peksag2016-08-201-3/+1
| |
* | Issue #27614: Merge test_docxmlrpc from 3.5Martin Panter2016-08-201-30/+11
|\ \ | |/
| * Issue #27614: Avoid race in test_docxmlrpc server setupMartin Panter2016-08-201-30/+11
| |
* | Issue #27787: Merge regrtest fixup from 3.5Martin Panter2016-08-202-0/+7
|\ \ | |/
| * Issue #27787: Clean up weak references before checking for dangling threadsMartin Panter2016-08-202-0/+4
| |