]>
granicus.if.org Git - python/log
Ethan Furman [Mon, 21 Nov 2016 16:28:56 +0000 (08:28 -0800)]
closes issue23591: add NEWS entry
Victor Stinner [Mon, 21 Nov 2016 15:45:19 +0000 (16:45 +0100)]
Issue #28688: Null merge 3.5
The Python 3.5 change must not be applied to Python 3.6.
Victor Stinner [Mon, 21 Nov 2016 15:44:01 +0000 (16:44 +0100)]
Issue #28688: Remove warnings.filters check from regrtest
Reloading the warnings module duplicates filters in warnings.filters. Fixing
the issue is tricky. It was decided to simply remove the check from Python 3.5,
since the bug only impacts Python unit tests, not real applications.
The check is kept in Python 3.6 and newer.
Victor Stinner [Mon, 21 Nov 2016 15:35:08 +0000 (16:35 +0100)]
Implement rich comparison for _sre.SRE_Pattern
Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created by
re.compile(), become comparable (only x==y and x!=y operators). This change
should fix the issue #18383: don't duplicate warning filters when the warnings
module is reloaded (thing usually only done in unit tests).
Martin Panter [Mon, 21 Nov 2016 13:38:59 +0000 (13:38 +0000)]
Fix up grammar, markup, etc in 3.6 What’s New
Martin Panter [Mon, 21 Nov 2016 13:40:40 +0000 (13:40 +0000)]
Merge doc fixup from 3.5
Martin Panter [Mon, 21 Nov 2016 13:36:36 +0000 (13:36 +0000)]
Fix indentation
INADA Naoki [Mon, 21 Nov 2016 11:57:14 +0000 (20:57 +0900)]
Issue #28532: Show sys.version when -V option is supplied twice
Raymond Hettinger [Mon, 21 Nov 2016 09:59:39 +0000 (01:59 -0800)]
Extend and improve the examples for the random module
Serhiy Storchaka [Mon, 21 Nov 2016 09:46:51 +0000 (11:46 +0200)]
Issue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString().
Patch by Xiang Zhang.
Serhiy Storchaka [Mon, 21 Nov 2016 09:38:14 +0000 (11:38 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
Serhiy Storchaka [Mon, 21 Nov 2016 09:37:18 +0000 (11:37 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
Gregory P. Smith [Mon, 21 Nov 2016 08:12:40 +0000 (00:12 -0800)]
replace --with-optimizations references with --enable-optimizations in docs.
Gregory P. Smith [Mon, 21 Nov 2016 08:11:47 +0000 (00:11 -0800)]
replace --with-optimizations references with --enable-optimizations in docs.
Martin Panter [Mon, 21 Nov 2016 04:10:45 +0000 (04:10 +0000)]
Another en → em dash fix for 3.6
Martin Panter [Mon, 21 Nov 2016 04:22:22 +0000 (04:22 +0000)]
Merge doc fixups from 3.5
Guido van Rossum [Mon, 21 Nov 2016 02:01:33 +0000 (18:01 -0800)]
Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331) (3.5->3.6)
Guido van Rossum [Mon, 21 Nov 2016 02:01:29 +0000 (18:01 -0800)]
Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331)
Gregory P. Smith [Mon, 21 Nov 2016 00:25:14 +0000 (16:25 -0800)]
Issue #20572: The subprocess.Popen.wait method's undocumented endtime
parameter now raises a DeprecationWarning. It was deprecated in 3.4.
It was never documented prior to that.
Martin Panter [Mon, 21 Nov 2016 00:15:20 +0000 (00:15 +0000)]
Change double hyphens (en dashes) to em (longer) dashes
Martin Panter [Sun, 20 Nov 2016 08:37:21 +0000 (08:37 +0000)]
Fix typos in documentation
Martin Panter [Sun, 20 Nov 2016 22:07:29 +0000 (22:07 +0000)]
Issue #25659: Merge ctypes fix from 3.5
Martin Panter [Sun, 20 Nov 2016 22:06:44 +0000 (22:06 +0000)]
Issue #10656: Merge AIX build fix from 3.5
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:16:41 +0000 (21:16 +0000)]
move the enable-optimizations mention to the correct Build section.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:13:16 +0000 (21:13 +0000)]
Rename the new --with-optimiations flag to --enable-optimizations.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:07:42 +0000 (21:07 +0000)]
Rename the new --with-optimiations flag to --enable-optimizations.
Serhiy Storchaka [Sun, 20 Nov 2016 18:36:51 +0000 (20:36 +0200)]
Issue #28666: Fix removing readonly directories on Windows.
Serhiy Storchaka [Sun, 20 Nov 2016 18:04:54 +0000 (20:04 +0200)]
Issue #28666: Fix removing readonly directories on Windows.
Serhiy Storchaka [Sun, 20 Nov 2016 15:42:58 +0000 (17:42 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories on Windows too.
Serhiy Storchaka [Sun, 20 Nov 2016 15:42:32 +0000 (17:42 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories on Windows too.
Serhiy Storchaka [Sun, 20 Nov 2016 15:21:04 +0000 (17:21 +0200)]
Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Patch by Xiang Zhang.
Serhiy Storchaka [Sun, 20 Nov 2016 15:20:19 +0000 (17:20 +0200)]
Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Patch by Xiang Zhang.
Serhiy Storchaka [Sun, 20 Nov 2016 14:19:20 +0000 (16:19 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.
Serhiy Storchaka [Sun, 20 Nov 2016 14:16:06 +0000 (16:16 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.
Serhiy Storchaka [Sun, 20 Nov 2016 10:14:08 +0000 (12:14 +0200)]
Issue #19569: Suggested more appropriate replacements for deprecated Unicode
C API functions.
Serhiy Storchaka [Sun, 20 Nov 2016 10:13:44 +0000 (12:13 +0200)]
Issue #19569: Suggested more appropriate replacements for deprecated Unicode
C API functions.
Martin Panter [Sun, 20 Nov 2016 07:58:35 +0000 (07:58 +0000)]
Issue #25659: Change assert to TypeError in from_buffer/_copy()
Based on suggestion by Eryk Sun.
Martin Panter [Sun, 20 Nov 2016 07:56:37 +0000 (07:56 +0000)]
Issue #10656: Fix out-of-tree building on AIX
The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.
Serhiy Storchaka [Sun, 20 Nov 2016 07:13:07 +0000 (09:13 +0200)]
Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
Serhiy Storchaka [Sun, 20 Nov 2016 06:48:07 +0000 (08:48 +0200)]
Issue #28715: Added error checks for PyUnicode_AsUTF8().
Serhiy Storchaka [Sun, 20 Nov 2016 06:47:21 +0000 (08:47 +0200)]
Issue #28715: Added error checks for PyUnicode_AsUTF8().
Serhiy Storchaka [Sun, 20 Nov 2016 06:23:07 +0000 (08:23 +0200)]
Issue #27998: Documented bytes paths support on Windows.
Steve Dower [Sun, 20 Nov 2016 05:14:27 +0000 (21:14 -0800)]
Fixes empty tuple case.
Steve Dower [Sun, 20 Nov 2016 04:11:56 +0000 (20:11 -0800)]
Issue #28732: Adds new errors to spawnv emulation for platforms that only have fork and execv
Steve Dower [Sun, 20 Nov 2016 03:17:26 +0000 (19:17 -0800)]
Issue #28732: Raise ValueError when argv[0] is empty
Steve Dower [Sun, 20 Nov 2016 03:03:54 +0000 (19:03 -0800)]
Issue #28732: Raise ValueError when argv[0] is empty.
Steve Dower [Sun, 20 Nov 2016 02:53:19 +0000 (18:53 -0800)]
Issue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of arguments
Steve Dower [Sun, 20 Nov 2016 02:41:16 +0000 (18:41 -0800)]
Merge from 3.5 and fix a few other functions missing IPH handling.
Steve Dower [Sun, 20 Nov 2016 02:33:39 +0000 (18:33 -0800)]
Issue #28732: Fix crash in os.spawnv() with no elements in args
Prevents crashes in some other posixmodule.c functions
Guido van Rossum [Sat, 19 Nov 2016 18:32:43 +0000 (10:32 -0800)]
Issue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330) (3.5->3.6)
Guido van Rossum [Sat, 19 Nov 2016 18:32:41 +0000 (10:32 -0800)]
Issue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330)
Xavier de Gaye [Sat, 19 Nov 2016 15:19:29 +0000 (16:19 +0100)]
Issue #28746: Fix the set_inheritable() file descriptor method on platforms
that do not have the ioctl FIOCLEX and FIONCLEX commands
Brett Cannon [Fri, 18 Nov 2016 18:41:28 +0000 (10:41 -0800)]
Issue #28705: greatly simplify the FAQ entry on transpiling.
This also eliminats a dead link to Weave in the process.
Zachary Ware [Fri, 18 Nov 2016 05:30:27 +0000 (23:30 -0600)]
Ignore newly added suspicious line
Raymond Hettinger [Thu, 17 Nov 2016 09:49:54 +0000 (01:49 -0800)]
Small edits to the docs for sample() and shuffle().
Raymond Hettinger [Thu, 17 Nov 2016 08:45:35 +0000 (00:45 -0800)]
Further refinements to the examples and recipes for the random module
Xavier de Gaye [Thu, 17 Nov 2016 08:20:28 +0000 (09:20 +0100)]
Issue #26926: Skip some test_io tests on platforms without large file support
Xavier de Gaye [Thu, 17 Nov 2016 08:00:19 +0000 (09:00 +0100)]
Issue 26931: Skip the test_distutils tests using a compiler executable
that is not found
Raymond Hettinger [Thu, 17 Nov 2016 06:56:11 +0000 (22:56 -0800)]
Add another example to the recipes section of the random docs
Raymond Hettinger [Thu, 17 Nov 2016 05:34:17 +0000 (21:34 -0800)]
Minor touch-ups to the random module examples
Steve Dower [Thu, 17 Nov 2016 00:35:40 +0000 (16:35 -0800)]
Merge from 3.5
Steve Dower [Thu, 17 Nov 2016 00:32:22 +0000 (16:32 -0800)]
Fixes incorrect path in nuget package build.
Yury Selivanov [Wed, 16 Nov 2016 23:25:04 +0000 (18:25 -0500)]
Issue #28720: Add collections.abc.AsyncGenerator.
Yury Selivanov [Wed, 16 Nov 2016 23:16:17 +0000 (18:16 -0500)]
Issue #28721: Fix asynchronous generators aclose() and athrow()
Serhiy Storchaka [Wed, 16 Nov 2016 18:02:44 +0000 (20:02 +0200)]
Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now
require ASCII right argument and assert this condition in debug build.
Kushal Das [Wed, 16 Nov 2016 15:43:43 +0000 (21:13 +0530)]
Closes #28713 uses OSError in the tutorial
Serhiy Storchaka [Wed, 16 Nov 2016 14:12:56 +0000 (16:12 +0200)]
Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).
Serhiy Storchaka [Wed, 16 Nov 2016 14:12:34 +0000 (16:12 +0200)]
Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).
Serhiy Storchaka [Wed, 16 Nov 2016 13:56:27 +0000 (15:56 +0200)]
Issue #21449: Removed private function _PyUnicode_CompareWithId.
Serhiy Storchaka [Wed, 16 Nov 2016 13:41:11 +0000 (15:41 +0200)]
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
The latter function is more readable, faster and doesn't raise exceptions.
Based on patch by Xiang Zhang.
Serhiy Storchaka [Wed, 16 Nov 2016 13:40:39 +0000 (15:40 +0200)]
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
The latter function is more readable, faster and doesn't raise exceptions.
Based on patch by Xiang Zhang.
Serhiy Storchaka [Wed, 16 Nov 2016 08:19:20 +0000 (10:19 +0200)]
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
Serhiy Storchaka [Wed, 16 Nov 2016 08:17:58 +0000 (10:17 +0200)]
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
Xavier de Gaye [Wed, 16 Nov 2016 07:05:27 +0000 (08:05 +0100)]
Issue #26935: Fix broken Android dup2() in test_os
Xavier de Gaye [Wed, 16 Nov 2016 06:24:20 +0000 (07:24 +0100)]
Issue #26920: Fix not getting the locale's charset upon initializing the interpreter,
on platforms that do not have langinfo
Donald Stufft [Wed, 16 Nov 2016 02:18:40 +0000 (21:18 -0500)]
Merge - upgrade pip/setuptools
Donald Stufft [Wed, 16 Nov 2016 02:18:20 +0000 (21:18 -0500)]
Merge - upgrade pip/setuptools
Donald Stufft [Wed, 16 Nov 2016 02:17:43 +0000 (21:17 -0500)]
Upgrade pip to 9.0.1 and setuptools to 28.8.0
Yury Selivanov [Tue, 15 Nov 2016 20:27:23 +0000 (15:27 -0500)]
Merge 3.5 (issue #28704)
Yury Selivanov [Tue, 15 Nov 2016 20:26:34 +0000 (15:26 -0500)]
Issue #28704: Fix create_unix_server to support Path-like objects
Yury Selivanov [Tue, 15 Nov 2016 20:21:07 +0000 (15:21 -0500)]
Merge 3.5 (issue #28703)
Yury Selivanov [Tue, 15 Nov 2016 20:20:34 +0000 (15:20 -0500)]
Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects.
Guido van Rossum [Tue, 15 Nov 2016 17:48:09 +0000 (09:48 -0800)]
Issue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321) (3.5->3.6)
Guido van Rossum [Tue, 15 Nov 2016 17:48:06 +0000 (09:48 -0800)]
Issue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321)
Xavier de Gaye [Tue, 15 Nov 2016 16:24:42 +0000 (17:24 +0100)]
Issue #26929: Skip some test_strptime tests failing on Android that
incorrectly formats %V or %G for the last or the first
incomplete week in a year
Xavier de Gaye [Tue, 15 Nov 2016 16:03:12 +0000 (17:03 +0100)]
Issue 28668: Merge 3.5
Xavier de Gaye [Tue, 15 Nov 2016 15:57:52 +0000 (16:57 +0100)]
Issue 28668: Skip tests where instanciation of multiprocessing.Queue
would raise ImportError
Victor Stinner [Tue, 15 Nov 2016 08:12:10 +0000 (09:12 +0100)]
Fix warn_invalid_escape_sequence()
Issue #28691: Fix warn_invalid_escape_sequence(): handle correctly
DeprecationWarning raised as an exception. First clear the current exception to
replace the DeprecationWarning exception with a SyntaxError exception.
Unit test written by Serhiy Storchaka.
Steve Dower [Tue, 15 Nov 2016 01:51:42 +0000 (17:51 -0800)]
Issue #28573: Fixes issue with nested if blocks
Steve Dower [Tue, 15 Nov 2016 00:13:56 +0000 (16:13 -0800)]
Issue #28573: Avoid setting up env too many times during build
Yury Selivanov [Mon, 14 Nov 2016 19:49:18 +0000 (14:49 -0500)]
Issue #28635: what's new in 3.6: add a few more notes on typing
Per suggestions by Ivan Levkivskyi.
Patch by Elvis Pranskevichus.
Serhiy Storchaka [Mon, 14 Nov 2016 17:30:36 +0000 (19:30 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Serhiy Storchaka [Mon, 14 Nov 2016 17:29:59 +0000 (19:29 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Serhiy Storchaka [Mon, 14 Nov 2016 17:25:56 +0000 (19:25 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Serhiy Storchaka [Mon, 14 Nov 2016 17:22:12 +0000 (19:22 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Xavier de Gaye [Mon, 14 Nov 2016 16:14:42 +0000 (17:14 +0100)]
Issue #28662: Catch PermissionError in tests when spawning a non existent program
Victor Stinner [Mon, 14 Nov 2016 11:38:43 +0000 (12:38 +0100)]
Issue #28082: Add basic unit tests on re enums
Victor Stinner [Mon, 14 Nov 2016 11:35:55 +0000 (12:35 +0100)]
Issue #28637: Reapply changeset
223731925d06
"issue28082: use IntFlag for re constants" by Ethan Furman.
The re module is not more used in the site module and so adding "import enum"
to re.py doesn't impact python_startup benchmark anymore.
Benjamin Peterson [Mon, 14 Nov 2016 08:15:44 +0000 (00:15 -0800)]
correctly emulate error semantics of gen.throw in FutureIter_throw
Martin Panter [Mon, 14 Nov 2016 05:04:12 +0000 (05:04 +0000)]
Merge AIX fixes from 3.5 into 3.6