Serhiy Storchaka
9bb6fe5274
Issue #14061 : Misc fixes and cleanups in archiving code in shutil.
...
Imporoved the documentation and tests for make_archive() and unpack_archive().
Improved error handling when corresponding compress module is not available.
Brake circular dependency between shutil and tarfile modules.
2016-12-16 19:00:55 +02:00
Serhiy Storchaka
20cdffd830
Issue #14061 : Misc fixes and cleanups in archiving code in shutil.
...
Imporoved the documentation and tests for make_archive() and unpack_archive().
Improved error handling when corresponding compress module is not available.
Brake circular dependency between shutil and tarfile modules.
2016-12-16 18:58:33 +02:00
Yury Selivanov
7c3e71163b
Merge 3.6 (issue #28990 )
2016-12-16 11:52:36 -05:00
Yury Selivanov
7ae5c9691b
Merge 3.5 (issue #28990 )
2016-12-16 11:51:57 -05:00
Yury Selivanov
11c135136d
Merge 3.5 (issue #28990 )
2016-12-16 11:51:57 -05:00
Yury Selivanov
b1461aa781
Issue #28990 : Fix SSL hanging if connection is closed before handshake completed.
2016-12-16 11:50:41 -05:00
Serhiy Storchaka
5ab81d787f
Issue #28959 : Added private macro PyDict_GET_SIZE for retrieving the size of dict.
2016-12-16 16:18:57 +02:00
Victor Stinner
1d59a0aacf
Merge 3.6
2016-12-16 10:03:10 +01:00
Victor Stinner
cb5fe9c22c
Merge 3.5
2016-12-16 10:00:53 +01:00
Victor Stinner
610f5d739d
python-gdb.py: catch gdb.error on gdb.selected_frame()
2016-12-16 10:00:39 +01:00
Ned Deily
42f66a61f1
null merge 3.6.0rc1+ head
2016-12-16 01:02:17 -05:00
Ned Deily
86368b8529
bump version to 3.6.0rc1+
2016-12-16 00:13:46 -05:00
Ned Deily
daaaff9277
Issue #28898 : add Misc/NEWS entry
2016-12-15 23:20:48 -05:00
Yury Selivanov
65f86a4b9e
Merge 3.6
2016-12-15 18:58:35 -05:00
Yury Selivanov
6db7a4b81a
docs: asyncio is no longer provisional
2016-12-15 18:58:19 -05:00
Yury Selivanov
8e1baa7583
docs: asyncio is no longer provisional
...
(grafted from 4cb3ea76ce68efd52271e499647abbf0f8a2941f)
2016-12-15 18:58:19 -05:00
Yury Selivanov
583644b742
Merge 3.6 (issue #28635 )
2016-12-15 17:57:55 -05:00
Yury Selivanov
1217470984
Issue #28635 : asyncio-related fixes and additions.
2016-12-15 17:56:43 -05:00
Yury Selivanov
6e31235902
Issue #28635 : asyncio-related fixes and additions.
...
(grafted from 418ba3a0f090ac0e17a935b7cd5a63ea8263a914)
2016-12-15 17:56:43 -05:00
Yury Selivanov
71630bab6a
Merge 3.6 (issue #28091 )
2016-12-15 17:36:37 -05:00
Yury Selivanov
03660041d2
Issue #28091 : Document PEP 525 & PEP 530.
...
Patch by Eric Appelt.
2016-12-15 17:36:05 -05:00
Yury Selivanov
4f9e4285d2
Issue #28091 : Document PEP 525 & PEP 530.
...
Patch by Eric Appelt.
(grafted from 78c8f450b84ca1864123ec487d363eb151f61a4a)
2016-12-15 17:36:05 -05:00
Xavier de Gaye
31eaf49ed9
Merge 3.6.
2016-12-15 21:01:52 +01:00
Xavier de Gaye
76febd0792
Issue #26919 : On Android, operating system data is now always encoded/decoded
...
to/from UTF-8, instead of the locale encoding to avoid inconsistencies with
os.fsencode() and os.fsdecode() which are already using UTF-8.
2016-12-15 20:59:58 +01:00
Victor Stinner
5cc70c9935
Merge 3.6
2016-12-15 17:23:24 +01:00
Victor Stinner
ccda5c41df
Fix a memory leak in split-table dictionaries
...
Issue #28147 : Fix a memory leak in split-table dictionaries: setattr() must not
convert combined table into split table.
Patch written by INADA Naoki.
(grafted from 85be9dcc16a81d3ccd1f67b056255a7f206edd47)
2016-12-15 17:21:23 +01:00
Victor Stinner
3d3f264849
Fix a memory leak in split-table dictionaries
...
Issue #28147 : Fix a memory leak in split-table dictionaries: setattr() must not
convert combined table into split table.
Patch written by INADA Naoki.
2016-12-15 17:21:23 +01:00
Victor Stinner
944dbc6431
Use _PyDict_NewPresized() in _PyStack_AsDict()
...
Issue #27810 .
2016-12-15 16:59:40 +01:00
Victor Stinner
41afe9dd85
Merge 3.6
2016-12-15 16:22:19 +01:00
Victor Stinner
5e65a5f4ef
Issue #28979 : Fix What's New in Python 3.6, dict
...
The new dict implementation is not faster, but more compact.
Patch written by Brendan Donegan.
(grafted from 181453f9a0c424212f0f6ddca2b9065c15689d7c)
2016-12-15 16:20:53 +01:00
Victor Stinner
8320193d10
Issue #28979 : Fix What's New in Python 3.6, dict
...
The new dict implementation is not faster, but more compact.
Patch written by Brendan Donegan.
2016-12-15 16:20:53 +01:00
Victor Stinner
bc08ab4598
Add _PY_FASTCALL_SMALL_STACK constant
...
Issue #28870 : Add a new _PY_FASTCALL_SMALL_STACK constant, size of "small
stacks" allocated on the C stack to pass positional arguments to
_PyObject_FastCall().
_PyObject_Call_Prepend() now uses a small stack of 5 arguments (40 bytes)
instead of 8 (64 bytes), since it is modified to use _PY_FASTCALL_SMALL_STACK.
2016-12-15 12:40:53 +01:00
Victor Stinner
d1e35dd9ee
Fix _PyObject_CallFunctionVa(), use the small stack
...
Issue #28915 . Oops, I disabled the small stack to test both code paths. It's
now fixed.
2016-12-15 12:36:50 +01:00
Xiang Zhang
44dcd1e1d5
Issue #28930 : Merge from 3.6.
2016-12-15 17:05:04 +08:00
Xiang Zhang
3d40e37883
Issue #28930 : Add a Makefile rule for bytes_methods.c.
...
Add a dependency to stringlib to make sure that bytes_methods.c is
recompiled if stringlib is modified.
2016-12-15 16:41:12 +08:00
Victor Stinner
5bef7cd7f4
Issue #28838 : Cleanup abstract.h
...
Rewrite all comments to use the same style than other Python header files:
comment functions *before* their declaration, no newline between the comment
and the declaration.
Reformat some comments, add newlines, to make them easier to read.
Quote argument like 'arg' to mention an argument in a comment.
2016-12-15 09:14:25 +01:00
Victor Stinner
321600bd65
Null merge 3.6
2016-12-15 09:06:45 +01:00
Victor Stinner
cb2128cada
_asyncio uses _PyObject_CallMethodIdObjArgs()
...
Issue #28920 : Replace _PyObject_CallMethodId(obj, meth, "O", arg) with
_PyObject_CallMethodIdObjArgs(obj, meth, arg, NULL) to avoid
_PyObject_CallMethodId() special case when arg is a tuple.
If arg is a tuple, _PyObject_CallMethodId() unpacks the tuple: obj.meth(*arg).
2016-12-15 09:05:11 +01:00
Berker Peksag
5234d54c66
Issue #28944 : Merge from 3.6
2016-12-15 05:38:46 +03:00
Berker Peksag
0bf590627b
Issue #28944 : Merge from 3.5
2016-12-15 05:38:25 +03:00
Berker Peksag
7b440dfec4
Issue #28944 : Fix footnote numbering
2016-12-15 05:37:56 +03:00
Berker Peksag
161a4dd495
Issue #28919 : Simplify _copy_func_details() in unittest.mock
...
Patch by Jiajun Huang.
2016-12-15 05:21:44 +03:00
Xavier de Gaye
e660327cf1
Issue #28849 : Merge 3.6.
2016-12-14 20:37:53 +01:00
Xavier de Gaye
471bc3c814
Issue #28849 : Skip test_sysconfig.test_triplet_in_ext_suffix on non linux platforms.
2016-12-14 20:37:10 +01:00
Steve Dower
0885519914
Fixes maximum usable length of buffer for formatting time zone in localtime().
2016-12-14 11:22:14 -08:00
Steve Dower
c3c6f71662
Fixes maximum usable length of buffer for formatting time zone in localtime().
2016-12-14 11:22:05 -08:00
Serhiy Storchaka
bdfc5ff17e
Merge from 3.6.
2016-12-14 19:56:53 +02:00
Serhiy Storchaka
386072ebe0
Merge from 3.6.
2016-12-14 19:54:38 +02:00
Serhiy Storchaka
49010ee323
Revert changeset 1f31bf3f76f5 (issue5322) except tests.
2016-12-14 19:52:17 +02:00
Xavier de Gaye
69598527c7
Issue #28683 : Merge 3.6.
2016-12-14 11:54:49 +01:00