]>
granicus.if.org Git - python/log
Victor Stinner [Wed, 1 Feb 2017 16:42:18 +0000 (17:42 +0100)]
Issue #29286: Rename private PyArg_UnpackStack_impl() to unpack_stack()
Rename also "l" argument to "nargs".
Victor Stinner [Wed, 1 Feb 2017 16:04:52 +0000 (17:04 +0100)]
Document that _PyFunction_FastCallDict() must copy kwargs
Issue #29318: Caller and callee functions must not share the dictionary:
kwargs must be copied.
Victor Stinner [Wed, 1 Feb 2017 16:00:32 +0000 (17:00 +0100)]
Make test_gdb.test_wrapper_call() make reliable
Issue #29367. Use two break points to prevent breakpoint during Python
initialization.
Victor Stinner [Wed, 1 Feb 2017 15:29:54 +0000 (16:29 +0100)]
python-gdb.py supports method-wrapper
Issue #29367: python-gdb.py now supports also method-wrapper (wrapperobject)
objects.
doko@ubuntu.com [Wed, 1 Feb 2017 12:02:16 +0000 (13:02 +0100)]
Merge 3.6
doko@ubuntu.com [Wed, 1 Feb 2017 12:01:54 +0000 (13:01 +0100)]
Merge 3.5
doko@ubuntu.com [Wed, 1 Feb 2017 12:01:17 +0000 (13:01 +0100)]
Issue #29169: Fix NEWS entry.
Benjamin Peterson [Wed, 1 Feb 2017 07:31:20 +0000 (23:31 -0800)]
merge 3.6 (#29398)
Benjamin Peterson [Wed, 1 Feb 2017 07:31:10 +0000 (23:31 -0800)]
merge 3.5 (#29398)
Benjamin Peterson [Wed, 1 Feb 2017 07:31:02 +0000 (23:31 -0800)]
gc types needs to be allocated as such (closes #29398)
Berker Peksag [Wed, 1 Feb 2017 01:42:48 +0000 (04:42 +0300)]
Issue #29218: Remove unused install_misc command
It has been documented as unused since
6c6844a2fa30 (2000-05-25)
Patch by Eric N. Vander Weele.
doko@ubuntu.com [Tue, 31 Jan 2017 12:53:39 +0000 (13:53 +0100)]
merge 3.6
doko@ubuntu.com [Tue, 31 Jan 2017 12:51:21 +0000 (13:51 +0100)]
merge 3.5
doko@ubuntu.com [Tue, 31 Jan 2017 12:49:48 +0000 (13:49 +0100)]
- Issue #29169: Update zlib to 1.2.10.
doko@ubuntu.com [Tue, 31 Jan 2017 12:35:56 +0000 (13:35 +0100)]
merge 3.6
doko@ubuntu.com [Tue, 31 Jan 2017 12:35:26 +0000 (13:35 +0100)]
merge 3.5
doko@ubuntu.com [Tue, 31 Jan 2017 12:34:58 +0000 (13:34 +0100)]
add Modules/zlib/zlib.map to .hgeol
Berker Peksag [Mon, 30 Jan 2017 10:56:20 +0000 (13:56 +0300)]
Issue #29283: Merge from 3.6
Berker Peksag [Mon, 30 Jan 2017 10:55:49 +0000 (13:55 +0300)]
Issue #29283: Delete accidentally added Lib/site-packages/README
It was renamed to README.txt in
d90a65014c42 and it was
back by a merge commit accidentally.
Martin Panter [Sun, 29 Jan 2017 23:37:56 +0000 (23:37 +0000)]
Issue #28822: Add susp-ignored entry for NEWS; fix grammar
Martin Panter [Sun, 29 Jan 2017 23:37:50 +0000 (23:37 +0000)]
Issues #11670: Merge configparser doc from 3.6
Martin Panter [Sun, 29 Jan 2017 23:37:24 +0000 (23:37 +0000)]
Issues #29349: Merge Py 2.6+ compatibility from 3.6
Martin Panter [Sun, 29 Jan 2017 23:36:39 +0000 (23:36 +0000)]
Issues #11670: Merge configparser doc from 3.5
Martin Panter [Sun, 29 Jan 2017 23:34:52 +0000 (23:34 +0000)]
Issues #29349: Merge Py 2.6+ compatibility from 3.5
Martin Panter [Sun, 29 Jan 2017 23:33:27 +0000 (23:33 +0000)]
Issue #11670: readfp(fp) parameter name is different to read_file(f)
Martin Panter [Sun, 29 Jan 2017 23:33:13 +0000 (23:33 +0000)]
Issue #29349: Use __future__ print_function; Sphinx may use Python 2.6+
Martin Panter [Sun, 29 Jan 2017 10:21:57 +0000 (10:21 +0000)]
Issue #29384: Remove Be OS scripts from Modules/, unused in 3.0+
Martin Panter [Sun, 29 Jan 2017 10:17:17 +0000 (10:17 +0000)]
Issues #29349: Add NEWS for 3.7; use “with” statement
Martin Panter [Sun, 29 Jan 2017 10:16:28 +0000 (10:16 +0000)]
Issues #29349: Merge Py 2 fix 3.6
Martin Panter [Sun, 29 Jan 2017 10:10:30 +0000 (10:10 +0000)]
Issues #12067: Merge hash recommendation from 3.6
Martin Panter [Sun, 29 Jan 2017 10:09:43 +0000 (10:09 +0000)]
Issues #29349: Merge Py 2 fix 3.5
Martin Panter [Sun, 29 Jan 2017 10:07:26 +0000 (10:07 +0000)]
Issues #12067: Merge hash recommendation from 3.5
Martin Panter [Sun, 29 Jan 2017 10:05:02 +0000 (10:05 +0000)]
Issue #29349: Fix Python 2 syntax in documentation build code
Martin Panter [Sun, 29 Jan 2017 10:00:23 +0000 (10:00 +0000)]
Issue #12067: Recommend that hash and equality be consistent
Raymond Hettinger [Sun, 29 Jan 2017 04:17:07 +0000 (20:17 -0800)]
merge
Raymond Hettinger [Sun, 29 Jan 2017 04:16:40 +0000 (20:16 -0800)]
Issue 29310: Document typing.NamedTuple default argument syntax
INADA Naoki [Sat, 28 Jan 2017 07:35:44 +0000 (16:35 +0900)]
Issue #29383: reduce temporary interned unicode
add_methods(), add_members(), and add_getset() used PyDict_SetItemString()
to register descriptor to the type's dict.
So descr_new() and PyDict_SetItemString() creates interned unicode from same
C string.
This patch takes interned unicode from descriptor, and use PyDict_SetItem()
instead of PyDict_SetItemString().
python_startup_no_site:
default: Median +- std dev: 12.7 ms +- 0.1 ms
patched: Median +- std dev: 12.5 ms +- 0.1 ms
Vinay Sajip [Fri, 27 Jan 2017 13:05:09 +0000 (13:05 +0000)]
Closes #28784: Merged update from 3.6.
Vinay Sajip [Fri, 27 Jan 2017 13:04:33 +0000 (13:04 +0000)]
Fixes #28784: Clarified use of shlex.shlex with punctuation_chars.
Vinay Sajip [Fri, 27 Jan 2017 12:43:41 +0000 (12:43 +0000)]
Closes #29308: Merged fix from 3.6.
Vinay Sajip [Fri, 27 Jan 2017 12:42:45 +0000 (12:42 +0000)]
Fixes #29308: Merged fix from 3.5.
Vinay Sajip [Fri, 27 Jan 2017 12:41:27 +0000 (12:41 +0000)]
Fixes #29308: Respect VIRTUAL_ENV_DISABLE_PROMPT in Activate.ps1.
Benjamin Peterson [Thu, 26 Jan 2017 07:35:46 +0000 (23:35 -0800)]
merge 3.6
Benjamin Peterson [Thu, 26 Jan 2017 07:35:40 +0000 (23:35 -0800)]
remove comment about updating the parser module; we do not need to do that anymore (#26526)
Victor Stinner [Wed, 25 Jan 2017 22:33:27 +0000 (23:33 +0100)]
Issue #29358: Add postcondition checks on types
INADA Naoki [Wed, 25 Jan 2017 13:33:43 +0000 (22:33 +0900)]
Issue #29369: Use Py_IDENTIFIER in Python-ast.c
Serhiy Storchaka [Wed, 25 Jan 2017 11:27:44 +0000 (13:27 +0200)]
Issue #27867: Function PySlice_GetIndicesEx() is deprecated and replaced with
a macro if Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher. Added functions
PySlice_Unpack() and PySlice_AdjustIndices().
Serhiy Storchaka [Wed, 25 Jan 2017 11:25:52 +0000 (13:25 +0200)]
Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if
Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.
Serhiy Storchaka [Wed, 25 Jan 2017 11:23:05 +0000 (13:23 +0200)]
Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if
Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.
Senthil Kumaran [Wed, 25 Jan 2017 09:48:41 +0000 (01:48 -0800)]
[merge 3.6] - issue26149 - Point to Wiki for Editors and Python IDEs on Unix.
Patch contributed by Mariatta Wijaya.
Senthil Kumaran [Wed, 25 Jan 2017 09:47:49 +0000 (01:47 -0800)]
issue26149 - Point to Wiki for Editors and Python IDEs on Unix.
Patch contributed by Mariatta Wijaya.
Serhiy Storchaka [Tue, 24 Jan 2017 22:30:04 +0000 (00:30 +0200)]
Issues #29311, #29289: Fixed and improved docstrings for dict and OrderedDict
methods.
Ethan Furman [Tue, 24 Jan 2017 20:13:34 +0000 (12:13 -0800)]
issue29167: fix race condition in (Int)Flag
Ethan Furman [Tue, 24 Jan 2017 20:12:06 +0000 (12:12 -0800)]
closes issue29167: fix race condition in (Int)Flag
Serhiy Storchaka [Tue, 24 Jan 2017 19:39:42 +0000 (21:39 +0200)]
Issue #29083: Fixed the declaration of some public API functions.
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
Serhiy Storchaka [Tue, 24 Jan 2017 19:34:44 +0000 (21:34 +0200)]
Issue #29083: Fixed the declaration of some public API functions.
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
Serhiy Storchaka [Tue, 24 Jan 2017 19:27:12 +0000 (21:27 +0200)]
Issue #29083: Fixed the declaration of some public API functions.
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
Serhiy Storchaka [Tue, 24 Jan 2017 18:54:07 +0000 (20:54 +0200)]
Issue #29337: Fixed possible BytesWarning when compare the code objects.
Warnings could be emitted at compile time.
Serhiy Storchaka [Tue, 24 Jan 2017 18:52:43 +0000 (20:52 +0200)]
Issue #29337: Fixed possible BytesWarning when compare the code objects.
Warnings could be emitted at compile time.
Serhiy Storchaka [Tue, 24 Jan 2017 18:49:26 +0000 (20:49 +0200)]
Issue #29337: Fixed possible BytesWarning when compare the code objects.
Warnings could be emitted at compile time.
Victor Stinner [Tue, 24 Jan 2017 14:05:30 +0000 (15:05 +0100)]
Issue #29360: _PyStack_AsDict() doesn't check kwnames
Remove two assertions which can fail on legit code. Keyword arguments are
checked later with better tests and raise a regular (TypeError) exception.
Serhiy Storchaka [Tue, 24 Jan 2017 07:06:22 +0000 (09:06 +0200)]
Issue #29338: Fix test_enum.
Martin Panter [Tue, 24 Jan 2017 00:30:06 +0000 (00:30 +0000)]
Fix grammar in doc string, RST markup
Martin Panter [Tue, 24 Jan 2017 00:30:00 +0000 (00:30 +0000)]
Issues #29189: Merge indentation fixes from 3.6
Martin Panter [Tue, 24 Jan 2017 00:29:11 +0000 (00:29 +0000)]
Issues #29189: Merge indentation fixes from 3.5
Martin Panter [Tue, 24 Jan 2017 00:26:56 +0000 (00:26 +0000)]
Issue #29189: Fix indentation in RST markup
Martin Panter [Mon, 23 Jan 2017 23:15:19 +0000 (23:15 +0000)]
Issues #29273: Merge test___all__ from 3.6
Martin Panter [Mon, 23 Jan 2017 22:59:03 +0000 (22:59 +0000)]
Issues #29273: Merge test___all__ from 3.5
Martin Panter [Mon, 23 Jan 2017 22:11:09 +0000 (22:11 +0000)]
Issue #29273: Remove unneeded workaround to restore locale
The “readline” module already has a workaround using setlocale(LC_CTYPE,
NULL). The code in test___all__ calls getlocale(), which can subtly alter
the locale string and cause the test framework to complain.
Serhiy Storchaka [Mon, 23 Jan 2017 12:02:35 +0000 (14:02 +0200)]
Issue #29338: Don't output an empty signature for class constructor.
Victor Stinner [Mon, 23 Jan 2017 11:34:00 +0000 (12:34 +0100)]
Merge 3.6
Victor Stinner [Mon, 23 Jan 2017 11:30:00 +0000 (12:30 +0100)]
Issue #26273: Document TCP_USER_TIMEOUT and TCP_CONGESTION
Serhiy Storchaka [Mon, 23 Jan 2017 10:37:00 +0000 (12:37 +0200)]
Issue #29338: The help of a builtin or extension class now includes the
constructor signature if __text_signature__ is provided for the class.
Serhiy Storchaka [Mon, 23 Jan 2017 10:30:59 +0000 (12:30 +0200)]
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
Serhiy Storchaka [Mon, 23 Jan 2017 10:30:35 +0000 (12:30 +0200)]
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
Serhiy Storchaka [Mon, 23 Jan 2017 10:29:47 +0000 (12:29 +0200)]
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
Serhiy Storchaka [Mon, 23 Jan 2017 08:23:58 +0000 (10:23 +0200)]
Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever
possible but Coccinelle couldn't find opportunity.
Serhiy Storchaka [Mon, 23 Jan 2017 07:47:21 +0000 (09:47 +0200)]
Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever
possible. Patch is writen with Coccinelle.
Gregory P. Smith [Mon, 23 Jan 2017 06:20:04 +0000 (22:20 -0800)]
Skip the test requiring ctypes if ctypes is unavailable.
prevents http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/240/steps/test/logs/stdio
Gregory P. Smith [Mon, 23 Jan 2017 06:19:51 +0000 (22:19 -0800)]
Skip the test requiring ctypes if ctypes is unavailable.
prevents http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/240/steps/test/logs/stdio
Gregory P. Smith [Mon, 23 Jan 2017 06:19:38 +0000 (22:19 -0800)]
Skip the test requiring ctypes if ctypes is unavailable.
prevents http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/240/steps/test/logs/stdio
Gregory P. Smith [Mon, 23 Jan 2017 04:55:20 +0000 (20:55 -0800)]
typo fix, extra '.' on MacOS :)
Gregory P. Smith [Mon, 23 Jan 2017 04:55:02 +0000 (20:55 -0800)]
typo fix, extra '.' on MacOS :)
Gregory P. Smith [Mon, 23 Jan 2017 04:54:42 +0000 (20:54 -0800)]
typo fix, extra '.' :)
Guido van Rossum [Mon, 23 Jan 2017 01:47:22 +0000 (17:47 -0800)]
Issue #28556: Allow defining methods in NamedTuple class syntax (#362) (3.6->3.7)
Guido van Rossum [Mon, 23 Jan 2017 01:47:21 +0000 (17:47 -0800)]
Issue #28556: Allow defining methods in NamedTuple class syntax (#362) (3.5->3.6)
Guido van Rossum [Mon, 23 Jan 2017 01:47:20 +0000 (17:47 -0800)]
Issue #28556: Allow defining methods in NamedTuple class syntax (#362)
Guido van Rossum [Mon, 23 Jan 2017 01:43:57 +0000 (17:43 -0800)]
Issue #28556: various style fixes for typing.py (3.6->3.7)
Guido van Rossum [Mon, 23 Jan 2017 01:43:56 +0000 (17:43 -0800)]
Issue #28556: various style fixes for typing.py (3.5->3.6)
Guido van Rossum [Mon, 23 Jan 2017 01:43:53 +0000 (17:43 -0800)]
Issue #28556: various style fixes for typing.py
Gregory P. Smith [Mon, 23 Jan 2017 01:30:28 +0000 (17:30 -0800)]
Issue #29335: Fix subprocess.Popen.wait() when the child process has
exited to a stopped instead of terminated state (ex: when under ptrace).
Gregory P. Smith [Mon, 23 Jan 2017 01:29:44 +0000 (17:29 -0800)]
Issue #29335: Fix subprocess.Popen.wait() when the child process has
exited to a stopped instead of terminated state (ex: when under ptrace).
Gregory P. Smith [Mon, 23 Jan 2017 01:28:38 +0000 (17:28 -0800)]
Issue #29335: Fix subprocess.Popen.wait() when the child process has
exited to a stopped instead of terminated state (ex: when under ptrace).
Serhiy Storchaka [Sun, 22 Jan 2017 21:07:07 +0000 (23:07 +0200)]
Issue #28769: The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8()
is now of type "const char *" rather of "char *".
Xiang Zhang [Sun, 22 Jan 2017 06:41:42 +0000 (14:41 +0800)]
Issue #29290: Merge 3.6.
Xiang Zhang [Sun, 22 Jan 2017 06:39:20 +0000 (14:39 +0800)]
Issue #29290: Merge 3.5.
Xiang Zhang [Sun, 22 Jan 2017 06:37:22 +0000 (14:37 +0800)]
Issue #29290: argparse help messages won't wrap at non-breaking spaces.
Xiang Zhang [Sun, 22 Jan 2017 05:10:12 +0000 (13:10 +0800)]
Issue #29092: Merge 3.6.
Xiang Zhang [Sun, 22 Jan 2017 05:04:17 +0000 (13:04 +0800)]
Issue #29092: Sync os.stat's doc and docstring on path type.
Xiang Zhang [Sun, 22 Jan 2017 04:54:44 +0000 (12:54 +0800)]
Issue #29092: Sync os.stat's doc and docstring on path type.