]>
granicus.if.org Git - python/log
Xavier de Gaye [Wed, 21 Dec 2016 11:46:36 +0000 (12:46 +0100)]
Issue #28538: Fix the compilation error that occurs because if_nameindex() is
available on Android API level 24, but the if_nameindex structure is not defined.
Serhiy Storchaka [Wed, 21 Dec 2016 10:35:11 +0000 (12:35 +0200)]
Merge from 3.5.
Serhiy Storchaka [Wed, 21 Dec 2016 10:32:56 +0000 (12:32 +0200)]
Issue #28871: Fixed a crash when deallocate deep ElementTree.
Benjamin Peterson [Tue, 20 Dec 2016 07:54:57 +0000 (23:54 -0800)]
merge 3.5 (#28932)
Benjamin Peterson [Tue, 20 Dec 2016 07:54:25 +0000 (23:54 -0800)]
add a specific configure check for sys/random.h (closes #28932)
INADA Naoki [Tue, 20 Dec 2016 00:58:25 +0000 (09:58 +0900)]
null merge
INADA Naoki [Tue, 20 Dec 2016 00:54:24 +0000 (09:54 +0900)]
Issue #28147: Fix a memory leak in split-table dictionaries
setattr() must not convert combined table into split table.
Xiang Zhang [Mon, 19 Dec 2016 14:00:22 +0000 (22:00 +0800)]
Issue #28950: Disallow -j0 combined with -T/-l in regrtest.
Xiang Zhang [Mon, 19 Dec 2016 13:01:33 +0000 (21:01 +0800)]
Issue #28950: Disallow -j0 combined with -T/-l/-M in regrtest.
Victor Stinner [Mon, 19 Dec 2016 12:09:55 +0000 (13:09 +0100)]
Merge 3.5
Victor Stinner [Mon, 19 Dec 2016 12:09:28 +0000 (13:09 +0100)]
doc: Suggest to hash(tuple of attr) rather than XOR
Issue #28383: __hash__ documentation recommends naive XOR to combine but this
is suboptimal. Update the doc to suggest to reuse the hash() method using a
tuple, with an example.
Xiang Zhang [Mon, 19 Dec 2016 10:39:02 +0000 (18:39 +0800)]
Issue #29009: Merge 3.5.
Xiang Zhang [Mon, 19 Dec 2016 10:35:14 +0000 (18:35 +0800)]
Issue #29009: Remove outdated doc of PyUnicode_RichCompare.
Antoine Pitrou [Mon, 19 Dec 2016 09:58:14 +0000 (10:58 +0100)]
Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
when a GC collection happens in another thread.
Original patch and report by Armin Rigo.
Antoine Pitrou [Mon, 19 Dec 2016 09:56:40 +0000 (10:56 +0100)]
Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
when a GC collection happens in another thread.
Original patch and report by Armin Rigo.
Xavier de Gaye [Mon, 19 Dec 2016 09:46:14 +0000 (10:46 +0100)]
Issue #28996: Skip two tests that fail on Android with the locale strcoll() and
strxfrm() functions.
Martin Panter [Mon, 19 Dec 2016 06:46:01 +0000 (06:46 +0000)]
Issue #25677: Merge SyntaxError caret positioning from 3.5
Serhiy Storchaka [Mon, 19 Dec 2016 06:05:39 +0000 (08:05 +0200)]
Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that
doesn't own its elements as limits.
Serhiy Storchaka [Mon, 19 Dec 2016 06:04:15 +0000 (08:04 +0200)]
Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that
doesn't own its elements as limits.
R David Murray [Sun, 18 Dec 2016 20:00:23 +0000 (15:00 -0500)]
Merge: #29005: clarify terminology in tutorial 'method' discussion.
R David Murray [Sun, 18 Dec 2016 19:59:58 +0000 (14:59 -0500)]
#29005: clarify terminology in tutorial 'method' discussion.
Patch by Jim Fasarakis-Hilliard.
Martin Panter [Sun, 18 Dec 2016 01:26:53 +0000 (01:26 +0000)]
Issue #28987: Typos, grammar, spelling in documentation
Martin Panter [Sun, 18 Dec 2016 05:37:21 +0000 (05:37 +0000)]
Merge spelling and grammar from 3.5
R David Murray [Sun, 18 Dec 2016 03:04:20 +0000 (22:04 -0500)]
Merge #28407 Improve test coverage of make_msgid.
R David Murray [Sun, 18 Dec 2016 03:03:44 +0000 (22:03 -0500)]
#28407 Improve test coverage of make_msgid.
Patch by Dillon Brock.
Martin Panter [Sun, 18 Dec 2016 01:23:09 +0000 (01:23 +0000)]
Fix spelling and grammar in code comments and documentation
Steve Dower [Sat, 17 Dec 2016 21:30:27 +0000 (13:30 -0800)]
Issue #25778: winreg does not truncase string correctly (Patch by Eryk Sun)
Brett Cannon [Sat, 17 Dec 2016 20:37:41 +0000 (12:37 -0800)]
Merge for porting HOWTO update
Brett Cannon [Sat, 17 Dec 2016 20:37:20 +0000 (12:37 -0800)]
Update porting HOWTO to drop unicode_literals and mention static type checking
Serhiy Storchaka [Sat, 17 Dec 2016 20:13:05 +0000 (22:13 +0200)]
Issue #29000: Fixed bytes formatting of octals with zero padding in alternate
form.
Serhiy Storchaka [Sat, 17 Dec 2016 19:48:03 +0000 (21:48 +0200)]
Issue #29000: Fixed bytes formatting of octals with zero padding in alternate
form.
Ned Deily [Sat, 17 Dec 2016 04:16:36 +0000 (23:16 -0500)]
Merge 3.6.0rc2 Misc/NEWS entries into 3.6.1
Ned Deily [Sat, 17 Dec 2016 03:54:22 +0000 (22:54 -0500)]
Null merge v3.6.0rc2 release into mainline 3.6
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().
Ned Deily [Fri, 16 Dec 2016 21:52:37 +0000 (16:52 -0500)]
Null merge v3.6.0rc2 tag into mainline 3.6
Ned Deily [Fri, 16 Dec 2016 21:42:30 +0000 (16:42 -0500)]
Added tag v3.6.0rc2 for changeset
800a67f7806d
Ned Deily [Fri, 16 Dec 2016 21:40:10 +0000 (16:40 -0500)]
Version bump for 3.6.0rc2
Ned Deily [Fri, 16 Dec 2016 21:33:41 +0000 (16:33 -0500)]
Update pydoc topics for 3.6.0rc2
Ned Deily [Fri, 16 Dec 2016 21:04:25 +0000 (16:04 -0500)]
null merge additional 3.6.0rc1+ cherrypicks
Ned Deily [Fri, 16 Dec 2016 20:29:12 +0000 (15:29 -0500)]
Tidy Misc/NEWS for 3.6.0rc1+ cherrypicks.
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: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
Martin Panter [Sun, 11 Dec 2016 00:18:36 +0000 (00:18 +0000)]
Issue #25677: Correct syntax error caret for indented blocks.
Based on patch by Michael Layzell.
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.