]>
granicus.if.org Git - python/log
Ned Deily [Tue, 21 Mar 2017 03:41:52 +0000 (23:41 -0400)]
bpo-27593: Revise git SCM build info. (#744)
Use --short form of git hash. Use output from "git describe" for tag.
Expected outputs:
1. previous hg
2. previous git
3. updated git
Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:
4def2a2901a5 , ...
2. Python 3.7.0a0 (v3.7.0a0^0:
05f53735c8912f8df1077e897f052571e13c3496 , ...
3. Python 3.7.0a0 (v3.7.0a0:
05f53735c8 , ...
Development build:
1. Python 3.7.0a0 (default:
41df79263a11 , ...
2. Python 3.7.0a0 (master:
05f53735c8912f8df1077e897f052571e13c3496 , ...
3. Python 3.7.0a0 (heads/master-dirty:
05f53735c8 , ...
"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
Xiang Zhang [Tue, 21 Mar 2017 03:13:42 +0000 (11:13 +0800)]
bpo-29849: fix a memory leak in import_from (GH-712)
zertrin [Mon, 20 Mar 2017 12:24:39 +0000 (20:24 +0800)]
Fix "NotImplentedError" typo in constants documentation (#692)
`NotImplentedError` --> `NotImplementedError`
Benjamin Peterson [Mon, 20 Mar 2017 06:49:43 +0000 (23:49 -0700)]
bpo-20087: Revert "make the glibc alias table take precedence over the X11 one (#422)" (#713)
This reverts commit
02371e0ed1ee82ec73e7d363bcf2ed40cde1397a .
4kir4 [Mon, 20 Mar 2017 06:44:46 +0000 (09:44 +0300)]
bpo-28876: bool of large range raises OverflowError (#699)
Mariatta [Mon, 20 Mar 2017 03:48:04 +0000 (20:48 -0700)]
bpo-29856: Fix typo in curses documentation (GH-730)
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
Serhiy Storchaka [Sun, 19 Mar 2017 18:20:10 +0000 (20:20 +0200)]
bpo-29845: Mark tests that use _testcapi as CPython-only (#711)
Serhiy Storchaka [Sun, 19 Mar 2017 17:47:02 +0000 (19:47 +0200)]
bpo-29116: Fix error messages for concatenating bytes and bytearray with unsupported type. (#709)
Serhiy Storchaka [Sun, 19 Mar 2017 17:38:42 +0000 (19:38 +0200)]
bpo-29116: Improve error message for concatenating str with non-str. (#710)
Serhiy Storchaka [Sun, 19 Mar 2017 17:37:40 +0000 (19:37 +0200)]
bpo-29748: Added the slice index converter in Argument Clinic. (#549)
Serhiy Storchaka [Sun, 19 Mar 2017 17:25:29 +0000 (19:25 +0200)]
bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514)
Brett Cannon [Sun, 19 Mar 2017 16:49:55 +0000 (09:49 -0700)]
Drop C++ header compatibility test (#718)
The $CXX environment variable is not exported under the 'c' language on Travis.
Serhiy Storchaka [Sun, 19 Mar 2017 06:51:07 +0000 (08:51 +0200)]
bpo-29793: Convert some builtin types constructors to Argument Clinic. (#615)
Serhiy Storchaka [Sun, 19 Mar 2017 06:47:58 +0000 (08:47 +0200)]
bpo-20186: Convert tuple object implementation to Argument Clinic. (#614)
Serhiy Storchaka [Sun, 19 Mar 2017 06:46:44 +0000 (08:46 +0200)]
bpo-20185: Convert typeobject.c to Argument Clinic. (#544)
Based on patch by Vajrasky Kok.
Serhiy Storchaka [Sun, 19 Mar 2017 06:40:32 +0000 (08:40 +0200)]
bpo-29776: Use decorator syntax for properties. (#585)
Serhiy Storchaka [Sun, 19 Mar 2017 06:15:17 +0000 (08:15 +0200)]
bpo-28749: Fixed the documentation of the mapping codec APIs. (#487)
Added the documentation for PyUnicode_Translate().
Marco Buttu [Sat, 18 Mar 2017 16:59:33 +0000 (17:59 +0100)]
bpo-27200: Fix doctests in programming.rst and datetime.rst (#401)
Brett Cannon [Fri, 17 Mar 2017 22:29:27 +0000 (15:29 -0700)]
Combine the C++ header CI build into the main C build (GH-697)
This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
Jim Fasarakis-Hilliard [Fri, 17 Mar 2017 18:16:20 +0000 (20:16 +0200)]
bpo-29836: Remove nturl2path from test_sundry and amend the module docstring (GH-694)
The module is implicitly tested through test_urllib.
Коренберг Марк [Fri, 17 Mar 2017 15:25:05 +0000 (20:25 +0500)]
bpo-29808: SysLogHandler: Do not fail if initial connect to syslog failed (#663) (#663)
Marco Buttu [Fri, 17 Mar 2017 08:50:23 +0000 (09:50 +0100)]
bpo-16355: Clarify when inspect.getcomments() returns None (#428)
Initial patch by Vajrasky Kok.
Marco Buttu [Fri, 17 Mar 2017 02:50:40 +0000 (03:50 +0100)]
bpo-29820: othergui.rst: Remove outdated information (GH-685)
Steve Dower [Thu, 16 Mar 2017 17:19:18 +0000 (10:19 -0700)]
Takes vcruntime140.dll from the correct source. (#679)
Nate [Wed, 15 Mar 2017 18:39:22 +0000 (11:39 -0700)]
bpo-29581: Make ABCMeta.__new__ pass **kwargs to type.__new__ (#527)
Many metaclasses in the standard library don't play nice with
__init_subclass__. This bug makes ABCMeta in particular with
__init_subclass__, which is an 80/20 solution for me personally.
AFAICT, a general solution to this problem requires updating all
metaclasses in the standard library to make sure they pass **kwargs to
type.__new__, whereas this PR only fixes ABCMeta. For context, see
https://bugs.python.org/issue29581.
* added a test combining ABCMeta and __init_subclass__
* Added NEWS item
Daniel Himmelstein [Wed, 15 Mar 2017 14:31:06 +0000 (10:31 -0400)]
Fix stderr bug in json.tool test (#346)
See https://github.com/python/cpython/pull/201#discussion_r103229425.
Michael Seifert [Wed, 15 Mar 2017 05:26:33 +0000 (06:26 +0100)]
bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings (#649)
Donald Stufft [Tue, 14 Mar 2017 22:20:55 +0000 (18:20 -0400)]
Use the default number of reviewers (3) for mention-bot (#667)
Victor Stinner [Tue, 14 Mar 2017 20:37:20 +0000 (21:37 +0100)]
bpo-29735: Optimize partial_call(): avoid tuple (#516)
* Add _PyObject_HasFastCall()
* partial_call() now avoids temporary tuple to pass positional
arguments if the callable supports the FASTCALL calling convention
for positional arguments.
* Fix also a performance regression in partial_call() if the callable
doesn't support FASTCALL.
Jim Fasarakis-Hilliard [Tue, 14 Mar 2017 20:16:15 +0000 (22:16 +0200)]
Add ELLIPSIS and RARROW. Add tests (#666)
Ivan Levkivskyi [Tue, 14 Mar 2017 19:42:09 +0000 (20:42 +0100)]
bpo-28810: Update lnotab_notes.txt (#665)
INADA Naoki [Tue, 14 Mar 2017 15:52:19 +0000 (00:52 +0900)]
bpo-29592: site: skip abs_paths() when it's redundant (GH-167)
Call abs_paths() only if removeduppaths() changed sys.path
INADA Naoki [Tue, 14 Mar 2017 09:00:59 +0000 (18:00 +0900)]
bpo-29548: Recommend PyObject_Call APIs over PyEval_Call APIs. (GH-75)
PyEval_Call* APIs are not documented and they doesn't respect PY_SSIZE_T_CLEAN.
So add comment block which recommends PyObject_Call* APIs to ceval.h.
This commit also changes PyEval_CallMethod and PyEval_CallFunction
implementation same to PyObject_CallMethod and PyObject_CallFunction
to reduce future maintenance cost. Optimization to avoid temporary
tuple are copied too.
PyEval_CallFunction(callable, "i", (int)i) now calls callable(i) instead of
raising TypeError. But accepting this edge case is backward compatible.
Xiang Zhang [Tue, 14 Mar 2017 07:07:15 +0000 (15:07 +0800)]
bpo-28856: Let %b format for bytes support objects that follow the buffer protocol (GH-546)
Jelle Zijlstra [Mon, 13 Mar 2017 02:51:27 +0000 (19:51 -0700)]
ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652)
Jelle Zijlstra [Mon, 13 Mar 2017 02:19:00 +0000 (19:19 -0700)]
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653)
Xiang Zhang [Mon, 13 Mar 2017 02:09:16 +0000 (10:09 +0800)]
bpo-29756: Improve documentation for list methods that compare items by equality (GH-572)
Oren Milman [Sun, 12 Mar 2017 22:37:05 +0000 (00:37 +0200)]
bpo-29730: replace some calls to PyNumber_Check and improve some error messages (#650)
Yury Selivanov [Sun, 12 Mar 2017 19:53:07 +0000 (15:53 -0400)]
Fix wrapping into StopIteration of return values in generators and coroutines (#644)
Nikolay Kim [Sun, 12 Mar 2017 19:23:30 +0000 (12:23 -0700)]
bpo-29742: asyncio get_extra_info() throws exception (#525)
Serhiy Storchaka [Sun, 12 Mar 2017 12:43:12 +0000 (14:43 +0200)]
bpo-28667: Fix a compile warning on FreeBSD when compare with FD_SETSIZE. (#501)
FreeBSD is the only platforms with unsigned FD_SETSIZE.
Serhiy Storchaka [Sun, 12 Mar 2017 12:15:54 +0000 (14:15 +0200)]
bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639)
Serhiy Storchaka [Sun, 12 Mar 2017 12:08:06 +0000 (14:08 +0200)]
bpo-26121: Revert to using the own implementations of lgamma and gamma on all platforms. (#637)
Serhiy Storchaka [Sun, 12 Mar 2017 11:50:36 +0000 (13:50 +0200)]
bpo-8256: Fixed possible failing or crashing input() (#517)
if attributes "encoding" or "errors" of sys.stdin or sys.stdout
are not set or are not strings.
Serhiy Storchaka [Sun, 12 Mar 2017 11:39:22 +0000 (13:39 +0200)]
bpo-26121: Use C library implementation for math functions erf() and erfc() on Windows. (#632)
Nick Coghlan [Sun, 12 Mar 2017 11:34:32 +0000 (21:34 +1000)]
bpo-29723: Add missing NEWS entry (#638)
Serhiy Storchaka [Sun, 12 Mar 2017 11:15:01 +0000 (13:15 +0200)]
bpo-28692: Deprecate using non-integer value for selecting a plural form in gettext. (#507)
Serhiy Storchaka [Sun, 12 Mar 2017 11:08:30 +0000 (13:08 +0200)]
bpo-20185: Convert the resource moduel to Argument Clinic. (#545)
Based on patch by Vajrasky Kok.
Nick Coghlan [Sun, 12 Mar 2017 10:38:32 +0000 (20:38 +1000)]
bpo-29723: Consistently configure sys.path[0] (#575)
Directory and zipfile execution previously added
the parent directory of the directory or zipfile
as sys.path[0] and then subsequently overwrote
it with the directory or zipfile itself.
This caused problems in isolated mode, as it
overwrote the "stdlib as a zip archive" entry
in sys.path, as the parent directory was
never added.
The attempted fix to that issue in bpo-29319
created the opposite problem in *non*-isolated
mode, by potentially leaving the parent
directory on sys.path instead of overwriting it.
This change fixes the root cause of the problem
by removing the whole "add-and-overwrite" dance
for sys.path[0], and instead simply never adds
the parent directory to sys.path in the first
place.
Nick Coghlan [Sun, 12 Mar 2017 09:37:09 +0000 (19:37 +1000)]
bpo-29798: Handle git worktree in `make patchcheck` (#629)
In git worktree directories, `.git` is a configuration
file rather than a subdirectory
Serhiy Storchaka [Sun, 12 Mar 2017 09:12:30 +0000 (11:12 +0200)]
bpo-15695: Implemented StgDict.__sizeof__(). (#509)
Serhiy Storchaka [Sun, 12 Mar 2017 08:10:47 +0000 (10:10 +0200)]
bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485)
Serhiy Storchaka [Sun, 12 Mar 2017 07:20:15 +0000 (09:20 +0200)]
bpo-20185: Convert the marshal module to Argument Clinic. (#541)
Based on patch by Vajrasky Kok.
Serhiy Storchaka [Sun, 12 Mar 2017 06:53:22 +0000 (08:53 +0200)]
bpo-29746: Update marshal docs to Python 3. (#547)
Zachary Ware [Sun, 12 Mar 2017 04:10:07 +0000 (22:10 -0600)]
bpo-29763: Use support.unlink instead of os.unlink (GH-624)
support.unlink waits for the files to be removed before returning
Nick Coghlan [Sun, 12 Mar 2017 03:19:08 +0000 (13:19 +1000)]
bpo-29656: Handle PR branches in 'make patchcheck' (#302)
Serhiy Storchaka [Sat, 11 Mar 2017 21:37:16 +0000 (23:37 +0200)]
bpo-26121: Use C library implementation for math functions: (#515)
* bpo-26121: Use C library implementation for math functions:
tgamma(), lgamma(), erf() and erfc().
* Don't use tgamma() and lgamma() from libc on OS X.
Zachary Ware [Sat, 11 Mar 2017 20:55:35 +0000 (14:55 -0600)]
Only trigger AppVeyor on code or config changes (GH-611)
Jelle Zijlstra [Sat, 11 Mar 2017 17:34:55 +0000 (09:34 -0800)]
tempfile.rst: Fix some typos (GH-610)
Serhiy Storchaka [Sat, 11 Mar 2017 07:21:05 +0000 (09:21 +0200)]
bpo-20185: Convert float object implementation to Argument Clinic. (#543)
Based on patch by Vajrasky Kok.
Serhiy Storchaka [Sat, 11 Mar 2017 07:19:20 +0000 (09:19 +0200)]
bpo-20185: Convert list object implementation to Argument Clinic. (#542)
Xiang Zhang [Sat, 11 Mar 2017 05:02:52 +0000 (13:02 +0800)]
bpo-29770: remove outdated PYO related info (GH-590)
Mariatta [Sat, 11 Mar 2017 02:17:21 +0000 (18:17 -0800)]
bpo-29784: Fix the reference to shutil.copy in the docs (GH-602)
Ivan Levkivskyi [Fri, 10 Mar 2017 22:52:35 +0000 (23:52 +0100)]
bpo-28810: Document changes to CALL_FUNCTION opcodes (GH-250)
orenmn [Fri, 10 Mar 2017 22:52:01 +0000 (00:52 +0200)]
bpo-29741: Clean up C implementations of BytesIO and StringIO. (#606)
Some BytesIO methods now accept not just int subclasses but other int-like types.
Ivan Levkivskyi [Fri, 10 Mar 2017 22:16:44 +0000 (23:16 +0100)]
bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode added in 3.6 (GH-239)
Mariatta [Fri, 10 Mar 2017 16:58:40 +0000 (08:58 -0800)]
bpo-28739: Document that f-strings cannot be used as docstring (GH-592)
Łukasz Langa [Fri, 10 Mar 2017 13:29:43 +0000 (05:29 -0800)]
Ignore Include/pydtrace_probes.h (#597)
This is a generated file when --with-dtrace is passed. This entry is
present in .hgignore.
Serhiy Storchaka [Thu, 9 Mar 2017 18:07:58 +0000 (20:07 +0200)]
bpo-29773: Add more cases for testing string to float conversion errors. (#580)
Victor Stinner [Thu, 9 Mar 2017 16:34:28 +0000 (17:34 +0100)]
bpo-29619: Convert st_ino using unsigned integer (#557)
bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode
(st_ino) using unsigned integers.
Serhiy Storchaka [Thu, 9 Mar 2017 16:34:03 +0000 (18:34 +0200)]
bpo-29774: Improve error reporting for corrupted extra field in ZIP file. (#583)
orenmn [Thu, 9 Mar 2017 09:35:28 +0000 (11:35 +0200)]
bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570)
Serhiy Storchaka [Thu, 9 Mar 2017 07:47:52 +0000 (09:47 +0200)]
bpo-29768: Fixed compile-time check for expat version. (#574)
svelankar [Thu, 9 Mar 2017 00:29:01 +0000 (19:29 -0500)]
bpo-29749: Update int() docstring (GH-565)
The docstring did not properly represent the fact that the argument to int() was positional-only.
Serhiy Storchaka [Wed, 8 Mar 2017 18:47:48 +0000 (20:47 +0200)]
Use Py_RETURN_FALSE/Py_RETURN_TRUE rather than PyBool_FromLong(0)/PyBool_FromLong(1). (#567)
n.d. parker [Wed, 8 Mar 2017 18:24:22 +0000 (19:24 +0100)]
Fix the only non-C90 comment to be C90 compatible. (#566)
Serhiy Storchaka [Wed, 8 Mar 2017 18:22:16 +0000 (20:22 +0200)]
Exit Travis when only Misc/* is changed. (#564)
No need to wait passing tests after resolving Misc/NEWS conflicts.
Serhiy Storchaka [Wed, 8 Mar 2017 15:15:54 +0000 (17:15 +0200)]
bpo-29645: Speed up importing the webbrowser module. (#484)
Serhiy Storchaka [Wed, 8 Mar 2017 12:37:51 +0000 (14:37 +0200)]
bpo-28231: The zipfile module now accepts path-like objects for external paths. (#511)
INADA Naoki [Wed, 8 Mar 2017 10:07:13 +0000 (19:07 +0900)]
bpo-28331: fix impl-detail label is removed when content is translated. (GH-195)
Serhiy Storchaka [Wed, 8 Mar 2017 08:32:44 +0000 (10:32 +0200)]
bpo-28230: Document the pathlib support in tarfile and add tests. (#512)
Benjamin Peterson [Wed, 8 Mar 2017 06:48:09 +0000 (22:48 -0800)]
Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554)
This reverts commit
ace5c0fdd9b962e6e886c29dbcea72c53f051dc4 .
Benjamin Peterson [Wed, 8 Mar 2017 06:24:44 +0000 (22:24 -0800)]
allow the first call to wcsxfrm to return ERANGE (#536)
If the output buffer provided to wcsxfrm is too small, errno is set to ERANGE. We should not error out in that case.
Benjamin Peterson [Wed, 8 Mar 2017 06:03:13 +0000 (22:03 -0800)]
make the glibc alias table take precedence over the X11 one (#422)
bpo-20087
Serhiy Storchaka [Wed, 8 Mar 2017 03:51:19 +0000 (05:51 +0200)]
bpo-29568: Disable any characters between two percents for escaped percent "%%" in the format string for classic string formatting. (GH-513)
Xiang Zhang [Wed, 8 Mar 2017 03:18:49 +0000 (11:18 +0800)]
bpo-24329: allow __qualname__ and __classcell__ in __slots__ (GH-495)
Xiang Zhang [Wed, 8 Mar 2017 03:04:24 +0000 (11:04 +0800)]
bpo-26915: Test identity first in membership operation in index() and count() methods of collections.abc.Sequence (GH-503)
Serhiy Storchaka [Tue, 7 Mar 2017 12:33:21 +0000 (14:33 +0200)]
bpo-28682: Added support for bytes paths in os.fwalk(). (#489)
INADA Naoki [Tue, 7 Mar 2017 06:34:38 +0000 (15:34 +0900)]
PCbuild: Add -q option to svn export (GH-535)
Without this option, AppVeyor log is too unreadable.
INADA Naoki [Tue, 7 Mar 2017 05:24:37 +0000 (14:24 +0900)]
bpo-29676: fix lsprof can't profile C method call. (GH523)
When LOAD_METHOD is used for calling C mehtod, PyMethodDescrObject
was passed to profilefunc from
5566bbb .
But lsprof traces only PyCFunctionObject. Additionally, there can be
some third party extension which assumes passed arg is
PyCFunctionObject without calling PyCFunction_Check().
So make PyCFunctionObject from PyMethodDescrObject when
tstate->c_profilefunc is set.
Xiang Zhang [Tue, 7 Mar 2017 03:06:09 +0000 (11:06 +0800)]
bpo-28728: clarify possible test failure due to ISP (GH-412)
Victor Stinner [Tue, 7 Mar 2017 01:51:47 +0000 (02:51 +0100)]
Exclude myself from mention-bot (#529)
I made changes in almost all CPython files last 5 years, so
mention-bot asks me to review basically all pull requests. I simply
don't have the bandwidth to review everything, sorry! I prefer to
select myself which PR I want to follow.
Serhiy Storchaka [Mon, 6 Mar 2017 21:39:35 +0000 (23:39 +0200)]
bpo-29737: Optimize concatenating with empty tuple. (#524)
Serhiy Storchaka [Mon, 6 Mar 2017 19:21:41 +0000 (21:21 +0200)]
bpo-15954: Check return code of wcsxfrm(). (#508)
Serhiy Storchaka [Mon, 6 Mar 2017 19:08:59 +0000 (21:08 +0200)]
bpo-29695: Fixed tests after removing keyword args support in some basic type constructors. (GH-520)
Matthias Bussonnier [Mon, 6 Mar 2017 18:56:58 +0000 (10:56 -0800)]
Ignore What's New for MentionBot (GH-521)
Stefan Krah [Mon, 6 Mar 2017 17:28:29 +0000 (18:28 +0100)]
The mention-bot is too exuberant for my taste. (#522)
Serhiy Storchaka [Mon, 6 Mar 2017 15:01:06 +0000 (17:01 +0200)]
bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518)
Xiang Zhang [Mon, 6 Mar 2017 09:17:05 +0000 (17:17 +0800)]
bpo-29714: Fix a regression that bytes format may fail when containing zero bytes inside. (GH-499)
orenmn [Mon, 6 Mar 2017 08:42:47 +0000 (10:42 +0200)]
remove 3 redundant casts in Objects/longobject.c (#445)