]>
granicus.if.org Git - python/log
Raymond Hettinger [Fri, 16 Dec 2016 21:59:32 +0000 (13:59 -0800)]
merge
Raymond Hettinger [Fri, 16 Dec 2016 21:57:40 +0000 (13:57 -0800)]
Issue #28991: Fix obscure reentrancy bug in functools.lru_cache().
Xavier de Gaye [Fri, 16 Dec 2016 19:50:10 +0000 (20:50 +0100)]
Issue #28971: Merge 3.5
Xavier de Gaye [Fri, 16 Dec 2016 19:49:10 +0000 (20:49 +0100)]
Issue #28971: Temporarily skip test_over until a permanent solution is found
for issue #28971.
Serhiy Storchaka [Fri, 16 Dec 2016 17:06:34 +0000 (19:06 +0200)]
Null merge
Serhiy Storchaka [Fri, 16 Dec 2016 17:05:57 +0000 (19:05 +0200)]
Merge heads
Serhiy Storchaka [Fri, 16 Dec 2016 17:05:33 +0000 (19:05 +0200)]
Merge heads
Serhiy Storchaka [Fri, 16 Dec 2016 17:00:55 +0000 (19:00 +0200)]
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.
Serhiy Storchaka [Fri, 16 Dec 2016 16:58:33 +0000 (18:58 +0200)]
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.
Yury Selivanov [Fri, 16 Dec 2016 16:51:57 +0000 (11:51 -0500)]
Merge 3.5 (issue #28990)
Yury Selivanov [Fri, 16 Dec 2016 16:50:41 +0000 (11:50 -0500)]
Issue #28990: Fix SSL hanging if connection is closed before handshake completed.
Victor Stinner [Fri, 16 Dec 2016 09:00:53 +0000 (10:00 +0100)]
Merge 3.5
Victor Stinner [Fri, 16 Dec 2016 09:00:39 +0000 (10:00 +0100)]
python-gdb.py: catch gdb.error on gdb.selected_frame()
Ned Deily [Fri, 16 Dec 2016 06:02:17 +0000 (01:02 -0500)]
null merge 3.6.0rc1+ head
Ned Deily [Fri, 16 Dec 2016 05:13:46 +0000 (00:13 -0500)]
bump version to 3.6.0rc1+
Ned Deily [Fri, 16 Dec 2016 04:20:48 +0000 (23:20 -0500)]
Issue #28898: add Misc/NEWS entry
Yury Selivanov [Thu, 15 Dec 2016 23:58:19 +0000 (18:58 -0500)]
docs: asyncio is no longer provisional
Yury Selivanov [Thu, 15 Dec 2016 23:58:19 +0000 (18:58 -0500)]
docs: asyncio is no longer provisional
(grafted from
4cb3ea76ce68efd52271e499647abbf0f8a2941f )
Yury Selivanov [Thu, 15 Dec 2016 22:56:43 +0000 (17:56 -0500)]
Issue #28635: asyncio-related fixes and additions.
Yury Selivanov [Thu, 15 Dec 2016 22:56:43 +0000 (17:56 -0500)]
Issue #28635: asyncio-related fixes and additions.
(grafted from
418ba3a0f090ac0e17a935b7cd5a63ea8263a914 )
Yury Selivanov [Thu, 15 Dec 2016 22:36:05 +0000 (17:36 -0500)]
Issue #28091: Document PEP 525 & PEP 530.
Patch by Eric Appelt.
Yury Selivanov [Thu, 15 Dec 2016 22:36:05 +0000 (17:36 -0500)]
Issue #28091: Document PEP 525 & PEP 530.
Patch by Eric Appelt.
(grafted from
78c8f450b84ca1864123ec487d363eb151f61a4a )
Xavier de Gaye [Thu, 15 Dec 2016 19:59:58 +0000 (20:59 +0100)]
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.
Victor Stinner [Thu, 15 Dec 2016 16:21:23 +0000 (17:21 +0100)]
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 )
Victor Stinner [Thu, 15 Dec 2016 16:21:23 +0000 (17:21 +0100)]
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.
Victor Stinner [Thu, 15 Dec 2016 15:20:53 +0000 (16:20 +0100)]
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 )
Victor Stinner [Thu, 15 Dec 2016 15:20:53 +0000 (16:20 +0100)]
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.
Xiang Zhang [Thu, 15 Dec 2016 08:41:12 +0000 (16:41 +0800)]
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.
Victor Stinner [Thu, 15 Dec 2016 08:05:11 +0000 (09:05 +0100)]
_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).
Berker Peksag [Thu, 15 Dec 2016 02:38:25 +0000 (05:38 +0300)]
Issue #28944: Merge from 3.5
Berker Peksag [Thu, 15 Dec 2016 02:37:56 +0000 (05:37 +0300)]
Issue #28944: Fix footnote numbering
Xavier de Gaye [Wed, 14 Dec 2016 19:37:10 +0000 (20:37 +0100)]
Issue #28849: Skip test_sysconfig.test_triplet_in_ext_suffix on non linux platforms.
Steve Dower [Wed, 14 Dec 2016 19:22:05 +0000 (11:22 -0800)]
Fixes maximum usable length of buffer for formatting time zone in localtime().
Serhiy Storchaka [Wed, 14 Dec 2016 17:54:38 +0000 (19:54 +0200)]
Merge from 3.6.
Serhiy Storchaka [Wed, 14 Dec 2016 17:52:17 +0000 (19:52 +0200)]
Revert changeset
1f31bf3f76f5 (issue5322) except tests.
Xavier de Gaye [Wed, 14 Dec 2016 10:52:28 +0000 (11:52 +0100)]
Issue #28683: Fix the tests that bind() a unix socket and raise PermissionError
on Android for a non-root user.
Xavier de Gaye [Wed, 14 Dec 2016 10:14:33 +0000 (11:14 +0100)]
Issue #20211: Do not add the directory for installing C header files and
the directory for installing object code libraries to the cross compilation
search paths.
Steve Dower [Tue, 13 Dec 2016 17:06:42 +0000 (09:06 -0800)]
Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
Steve Dower [Tue, 13 Dec 2016 17:06:24 +0000 (09:06 -0800)]
Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
Xavier de Gaye [Tue, 13 Dec 2016 15:04:14 +0000 (16:04 +0100)]
Issue #28190: Cross compiling the _curses module does not use anymore
/usr/include/ncursesw as a headers search path.
Xavier de Gaye [Tue, 13 Dec 2016 09:00:01 +0000 (10:00 +0100)]
Issue #28759: Fix the tests that fail with PermissionError when run as
a non-root user on Android where access rights are controled by SELinux MAC.
Xavier de Gaye [Tue, 13 Dec 2016 08:11:38 +0000 (09:11 +0100)]
Issue #26856: Fix the tests assuming that the pwd module has getpwall() and
assuming some invariants about uids that are not valid for Android.
Yury Selivanov [Mon, 12 Dec 2016 21:44:58 +0000 (16:44 -0500)]
Issue #28089: Document TCP_NODELAY in asyncio
Initial patch by Mariatta Wijaya.
(grafted from
853e3f4d6cd98ac4590238bc1c60e40fd8ed3895 )
Yury Selivanov [Mon, 12 Dec 2016 21:44:58 +0000 (16:44 -0500)]
Issue #28089: Document TCP_NODELAY in asyncio
Initial patch by Mariatta Wijaya.
Steve Dower [Mon, 12 Dec 2016 19:17:59 +0000 (11:17 -0800)]
Issue #28896: Disable WindowsRegistryFinder by default.
Xavier de Gaye [Mon, 12 Dec 2016 08:55:57 +0000 (09:55 +0100)]
Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a non-root user.
Steve Dower [Sun, 11 Dec 2016 22:48:32 +0000 (14:48 -0800)]
Issue #28783: Replaces bdist_wininst in nuget packages with stub
Steve Dower [Sun, 11 Dec 2016 22:48:32 +0000 (14:48 -0800)]
Issue #28783: Replaces bdist_wininst in nuget packages with stub
Steve Dower [Sun, 11 Dec 2016 22:35:07 +0000 (14:35 -0800)]
Issue #28783: Replaces bdist_wininst in nuget packages with stub
Serhiy Storchaka [Sun, 11 Dec 2016 17:37:19 +0000 (19:37 +0200)]
Issue #28739: f-string expressions no longer accepted as docstrings and
by ast.literal_eval() even if they do not include subexpressions.
Serhiy Storchaka [Sun, 11 Dec 2016 12:43:18 +0000 (14:43 +0200)]
Issue #28512: Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
Serhiy Storchaka [Sun, 11 Dec 2016 12:39:01 +0000 (14:39 +0200)]
Issue #28512: Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
Martin Panter [Sun, 11 Dec 2016 02:31:32 +0000 (02:31 +0000)]
Issues #28916, #26483: Merge stdtypes.rst from 3.5
Martin Panter [Sun, 11 Dec 2016 01:08:25 +0000 (01:08 +0000)]
Issue #26483: Clarify str.isdecimal() and isdigit()
Patch by Julien Palard.
Martin Panter [Sun, 11 Dec 2016 01:07:29 +0000 (01:07 +0000)]
Issue #28916: Correct description of %o and %x alternative forms
* In Python 3, the specifier is 0o
* There is no special case for leading zeros
* Remove duplicate tests
* Clarify other existing tests and comments
Brett Cannon [Sat, 10 Dec 2016 22:14:47 +0000 (14:14 -0800)]
Merge for issue #28424
Brett Cannon [Sat, 10 Dec 2016 22:13:38 +0000 (14:13 -0800)]
Issue #28424: Document pkgutil.get_data() doesn't work with namespace packages.
Thanks to Douglas Greiman for the patch.
Xavier de Gaye [Sat, 10 Dec 2016 16:31:28 +0000 (17:31 +0100)]
Issue #28849: Do not define sys.implementation._multiarch on Android.
Antoine Pitrou [Sat, 10 Dec 2016 16:16:17 +0000 (17:16 +0100)]
Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.
Antoine Pitrou [Sat, 10 Dec 2016 16:13:16 +0000 (17:13 +0100)]
Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.
Xavier de Gaye [Sat, 10 Dec 2016 15:45:53 +0000 (16:45 +0100)]
Issue #28918: Fix the cross compilation of xxlimited when Python
has been built with Py_DEBUG defined.
Martin Panter [Sat, 10 Dec 2016 05:57:38 +0000 (05:57 +0000)]
Issue #28771: Merge C API doc fix from 3.5
Martin Panter [Sat, 10 Dec 2016 05:56:13 +0000 (05:56 +0000)]
Issue #28771: Update tp_get/setattr signature documentation
Martin Panter [Sat, 10 Dec 2016 05:32:55 +0000 (05:32 +0000)]
Fix typos in comment and documentation
Martin Panter [Sat, 10 Dec 2016 05:38:25 +0000 (05:38 +0000)]
Issue #28820: Merge spelling fixes from 3.5
Martin Panter [Sat, 10 Dec 2016 05:12:56 +0000 (05:12 +0000)]
Issue #28820: Fix spelling of “practice” as a noun
Martin Panter [Sat, 10 Dec 2016 04:14:02 +0000 (04:14 +0000)]
Issues #28755, #28753: Merge Arg Clinic howto from 3.5
Martin Panter [Sat, 10 Dec 2016 04:10:45 +0000 (04:10 +0000)]
Issue #28755: Improve syntax highlighting in Arg Clinic howto
Martin Panter [Sat, 10 Dec 2016 03:49:12 +0000 (03:49 +0000)]
Issue 28753: Argument Clinic howto docfix, courtesy Julien Palard.
Xavier de Gaye [Fri, 9 Dec 2016 08:33:09 +0000 (09:33 +0100)]
Issue #26937: The chown() method of the tarfile.TarFile class does not fail now
when the grp module cannot be imported, as for example on Android platforms.
Ned Deily [Thu, 8 Dec 2016 04:34:49 +0000 (23:34 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.
Steve Dower [Wed, 7 Dec 2016 21:02:27 +0000 (13:02 -0800)]
Issue #28896: Deprecate WindowsRegistryFinder
(grafted from
25df9671663b5f8b1560d58d8842f9676f6dffc2 )
Benjamin Peterson [Thu, 8 Dec 2016 07:54:28 +0000 (23:54 -0800)]
guard HAVE_LONG_LONG definition to prevent redefinition (#28898)
(grafted from
4745d801cae2d57e3432313acd0b76b8b4cc9c75 )
Ned Deily [Thu, 8 Dec 2016 04:37:12 +0000 (23:37 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.
Yury Selivanov [Thu, 8 Dec 2016 00:19:56 +0000 (16:19 -0800)]
Issue #28635: Drop the note that whatsnew is incomplete
(grafted from
d12bc674b74eee73365e38fad1f170ed3349bd59 )
Steve Dower [Wed, 7 Dec 2016 21:02:27 +0000 (13:02 -0800)]
Issue #28896: Deprecate WindowsRegistryFinder
Serhiy Storchaka [Wed, 7 Dec 2016 11:31:20 +0000 (13:31 +0200)]
Change order of io.UnsupportedOperation base classes.
This makes tests passing after changes by issue #5322.
Ned Deily [Wed, 7 Dec 2016 00:04:14 +0000 (19:04 -0500)]
Added tag v3.6.0rc1 for changeset
29a273eee9a5
Ned Deily [Wed, 7 Dec 2016 00:02:30 +0000 (19:02 -0500)]
Version bump for 3.6.0rc1
Ned Deily [Tue, 6 Dec 2016 23:53:16 +0000 (18:53 -0500)]
Update pydoc topics for 3.6.0rc1
Ned Deily [Tue, 6 Dec 2016 22:31:32 +0000 (17:31 -0500)]
Regenerate configure with autoconf 2.69.
Ned Deily [Tue, 6 Dec 2016 22:12:47 +0000 (17:12 -0500)]
Issue #28835: Tidy previous showwarning changes based on review comments.
Patch by Serhiy Storchaka.
Ned Deily [Tue, 6 Dec 2016 22:00:44 +0000 (17:00 -0500)]
Update the Mac installer README file for 3.6.0.
Serhiy Storchaka [Tue, 6 Dec 2016 17:15:29 +0000 (19:15 +0200)]
Issue #27030: Unknown escapes in re.sub() replacement template are allowed
again. But they still are deprecated and will be disabled in 3.7.
Serhiy Storchaka [Tue, 6 Dec 2016 11:45:44 +0000 (13:45 +0200)]
Fixed misplaced comment.
Serhiy Storchaka [Tue, 6 Dec 2016 11:43:46 +0000 (13:43 +0200)]
Fixed misplaced comment.
Victor Stinner [Tue, 6 Dec 2016 10:02:12 +0000 (11:02 +0100)]
warnings: Fix the issue number
The fix for catch_warnings() is the issue #28835 (not the issue #28089).
Victor Stinner [Tue, 6 Dec 2016 09:53:52 +0000 (10:53 +0100)]
catch_warnings() calls showwarning() if overriden
Issue #28089: Fix a regression introduced in warnings.catch_warnings(): call
warnings.showwarning() if it was overriden inside the context manager.
Benjamin Peterson [Tue, 6 Dec 2016 06:31:12 +0000 (22:31 -0800)]
merge 3.5
Benjamin Peterson [Tue, 6 Dec 2016 06:30:55 +0000 (22:30 -0800)]
rm unused import
Serhiy Storchaka [Mon, 5 Dec 2016 22:17:45 +0000 (00:17 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Mon, 5 Dec 2016 22:13:34 +0000 (00:13 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Nick Coghlan [Mon, 5 Dec 2016 06:47:55 +0000 (16:47 +1000)]
Issue #23722: improve __classcell__ compatibility
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.
Raymond Hettinger [Sun, 4 Dec 2016 19:00:34 +0000 (11:00 -0800)]
Neaten-up and extend the examples in the random module docs.
Serhiy Storchaka [Sun, 4 Dec 2016 13:43:37 +0000 (15:43 +0200)]
Fixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 13:42:13 +0000 (15:42 +0200)]
Fixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 08:22:09 +0000 (10:22 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
Serhiy Storchaka [Sun, 4 Dec 2016 08:20:55 +0000 (10:20 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
Steve Dower [Sat, 3 Dec 2016 23:57:00 +0000 (15:57 -0800)]
Revert unintended merge
Steve Dower [Sat, 3 Dec 2016 19:56:44 +0000 (11:56 -0800)]
Ensures intermediate directory is created before using it