Berker Peksag
d7f3cdd07d
Issue #21718 : Merge from 3.5
2016-08-21 19:41:38 +03:00
Berker Peksag
6afe85827c
Issue #21718 : cursor.description is now available for queries using CTEs
...
According to PEP 249, cursor.description must be
available for any SELECT statements, such as those
that use CTEs.
Backported from f67fa9c898
Additional test cases added by me.
2016-08-21 19:38:47 +03:00
Mark Dickinson
1dc3c898a8
Untabify Objects/longobject.c.
2016-08-21 10:33:36 +01:00
Mark Dickinson
dc590a4cc3
Issue #25604 : Fix minor bug in integer true division, which could
...
have caused off-by-one-ulp results on certain platforms.
2016-08-21 10:23:23 +01:00
Mark Dickinson
164a3c822d
Issue #27662 : add missing Misc/NEWS entry.
2016-08-21 09:31:44 +01:00
Mark Dickinson
5d13238f6e
Issue #27662 : don't use PY_SIZE_MAX for overflow checking in List_New. Patch by Xiang Zhang.
2016-08-21 08:55:15 +01:00
Nick Coghlan
cbcd221de4
Merge #27782 fix from 3.5
2016-08-21 17:43:58 +10:00
Nick Coghlan
8682f578c1
Issue #27782 : Fix m_methods handling in multiphase init
...
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.
2016-08-21 17:41:56 +10:00
Martin Panter
f9ed528faf
Issue #27487 : Merge runpy warning from 3.5
2016-08-21 05:07:35 +00:00
Terry Jan Reedy
49dcf9d858
Fix typo in IDLE News.
2016-08-21 00:20:35 -04:00
Terry Jan Reedy
9f957705d6
Fix typo in IDLE News.
2016-08-21 00:18:55 -04:00
Martin Panter
9c8aa9bffe
Issue #27487 : Warn if submodule already imported before runpy execution
...
Also try to clarify the find_spec() error message.
2016-08-21 04:07:58 +00:00
Terry Jan Reedy
97c463dcfb
Add 3.6.0a4 IDLE NEWS and idlelib/NEWS.txt items.
2016-08-20 21:43:00 -04:00
Terry Jan Reedy
d3fb55797b
Add 3.5.3 IDLE NEWS and idlelib/NEWS.txt items.
2016-08-20 21:41:03 -04:00
Terry Jan Reedy
e194e87f1f
Issue #27714 : Remove unneeded non-idempotent call that fails on retest.
2016-08-20 21:08:50 -04:00
Terry Jan Reedy
f7ac36837a
Issue #27714 : Remove unneeded non-idempotent call that fails on retest.
2016-08-20 21:07:38 -04:00
Jason R. Coombs
a47ca08a36
Issue #27819 : Simply default to gztar for sdist formats by default on all platforms.
2016-08-20 17:31:07 -04:00
Serhiy Storchaka
3766572a48
Issue #27692 : Removed unnecessary NULL checks in exceptions.c.
...
Patch by Xiang Zhang.
2016-08-20 21:22:03 +03:00
Ethan Furman
7649b24c04
issue26981: fix typo
2016-08-20 08:56:40 -07:00
Ethan Furman
e8e61277ff
issue26981: add _order_ compatibility shim to enum.Enum
2016-08-20 07:19:31 -07:00
Martin Panter
3e45875578
Fix more typos
2016-08-20 08:27:06 +00:00
Martin Panter
8fbab9f163
Merge spelling fixes from 3.5
2016-08-20 08:26:16 +00:00
Berker Peksag
09808e7530
Issue #12982 : Merge from 3.5
2016-08-20 11:12:20 +03:00
Berker Peksag
f43bc98c48
Issue #12982 : Thanks to PEP 488, Python no longer creates .pyo files
2016-08-20 11:11:52 +03:00
Martin Panter
d210a70dd9
Minor spelling fixes
2016-08-20 08:03:06 +00:00
Martin Panter
4bf6ed556d
Issue #27614 : Merge test_docxmlrpc from 3.5
2016-08-20 07:39:15 +00:00
Martin Panter
051b2201a7
Issue #27787 : Merge regrtest fixup from 3.5
2016-08-20 07:38:21 +00:00
Ethan Furman
332dbc7325
Issue26988: remove AutoEnum
2016-08-20 00:00:52 -07:00
Martin Panter
d874c05547
Issue #27614 : Avoid race in test_docxmlrpc server setup
2016-08-20 06:50:58 +00:00
Martin Panter
68c1f1ed03
Issue #27787 : Clean up weak references before checking for dangling threads
2016-08-20 06:50:14 +00:00
Ned Deily
1cce732fcf
Issue #27713 : merge from 3.5
2016-08-19 22:13:14 -04:00
Ned Deily
17cfc86422
Issue #27713 : Surpress spurious build warnings when updating importlib's
...
bootstrap files:
Could not find platform dependent libraries <exec_prefix
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Patch by Xiang Zhang
2016-08-19 22:12:06 -04:00
Victor Stinner
a88b2f4e5e
Fix reference leak in tb_printinternal()
...
Issue #26823 .
2016-08-20 03:05:13 +02:00
Victor Stinner
253021dd94
Issue #27366 : Fix init_subclass()
...
Handle PyTuple_New(0) failure.
2016-08-20 02:37:41 +02:00
Victor Stinner
ea5e5990c9
pattern_subx() now uses fast call
...
Issue #27128 .
2016-08-20 01:38:00 +02:00
Victor Stinner
7fbac45287
_elementtree: deepcopy() now uses fast call
...
Issue #27128 .
2016-08-20 01:34:44 +02:00
Victor Stinner
c3ccaae6f3
sys_pyfile_write_unicode() now uses fast call
...
Issue #27128 .
2016-08-20 01:24:22 +02:00
Victor Stinner
78da82bf3e
call_trampoline() now uses fast call
...
Issue #27128 .
2016-08-20 01:22:57 +02:00
Victor Stinner
71cb64acc2
PyErr_PrintEx() now uses fast call
...
Issue #27128 .
2016-08-20 00:57:43 +02:00
Victor Stinner
df142fdc4b
import_name() now uses fast call
...
Issue #27128 : import_name() now calls _PyObject_FastCall() to avoid the
creation of a temporary tuple.
2016-08-20 00:44:42 +02:00
Victor Stinner
9def0901e2
PyFile_WriteObject() now uses fast call
...
Issue #27128 : PyFile_WriteObject() now calls _PyObject_FastCall() to avoid the
creation of a temporary tuple.
2016-08-20 00:44:04 +02:00
Victor Stinner
75210697ec
Issue #27128 : _pickle uses fast call
...
Use _PyObject_FastCall() to avoid the creation of temporary tuple.
2016-08-19 18:59:15 +02:00
Victor Stinner
f7a4c488b5
keyobject_richcompare() now uses fast call
...
Issue #27128 : keyobject_richcompare() now calls _PyObject_FastCall() using a
small stack allocated on the C stack to avoid a temporary tuple.
2016-08-19 18:52:35 +02:00
Victor Stinner
99ee9c70a7
calliter_iternext() now uses fast call
...
Issue #27128 : calliter_iternext() now calls _PyObject_FastCall() to avoid a
temporary empty tuple.
Cleanup also the code to reduce the indentation level.
2016-08-19 18:47:10 +02:00
Victor Stinner
6911267615
slot_tp_iter() now uses fast call
...
Issue #27128 : slot_tp_iter() now calls _PyObject_FastCall() to avoid a
temporary empty tuple.
2016-08-19 18:41:02 +02:00
Victor Stinner
20a3007a8d
slot_nb_bool() now uses fast call
...
Issue #27128 : slot_nb_bool() now calls _PyObject_FastCall() to avoid a
temporary empty tuple to call the slot function.
2016-08-19 18:28:25 +02:00
Victor Stinner
a12eec48b6
Issue #27128 : Cleanup slot_nb_bool()
...
Use an error label to reduce the level of indentation.
2016-08-19 18:26:05 +02:00
Victor Stinner
5e87749a8e
Issue #27128 : slot_sq_item() uses fast call
...
slot_sq_item() now calls _PyObject_FastCall() to avoid the creation of a
temporary tuple of 1 item to pass the 'item' argument to the slot function.
2016-08-19 18:19:42 +02:00
Victor Stinner
018016d8e3
Issue #27128 : Cleanup slot_sq_item()
...
* Invert condition of test to avoid levels of indentation
* Remove useless Py_XDECREF(args) in the error block
* Replace Py_XDECREF(func) with Py_DECREF(func) in the error block: func cannot
be NULL when reaching the error block
2016-08-19 18:17:37 +02:00
Victor Stinner
f736c261a2
call_method() and call_maybe() now use fast call
...
Issue #27128 . The call_method() and call_maybe() functions of typeobject.c now
use fast call for empty format string to avoid the creation of a temporary
empty tuple.
2016-08-19 18:05:37 +02:00