[Python-checkins] [python/cpython] add98e: bpo-30177: pathlib: include the full path in resol...
GitHub
noreply at github.com
Fri Jun 9 12:42:30 EDT 2017
Branch: refs/heads/bpo-30014-selectors-modify-speedup
Home: https://github.com/python/cpython
Commit: add98eb4fe41baeaa70fbd4ccc020833740609a4
https://github.com/python/cpython/commit/add98eb4fe41baeaa70fbd4ccc020833740609a4
Author: Antoine Pietri <seirl at users.noreply.github.com>
Date: 2017-06-07 (Wed, 07 Jun 2017)
Changed paths:
M Lib/pathlib.py
M Lib/test/test_pathlib.py
M Misc/ACKS
Log Message:
-----------
bpo-30177: pathlib: include the full path in resolve(strict=False) (#1893)
Commit: 897bba75632dfce87c355e3cd4700468357715a7
https://github.com/python/cpython/commit/897bba75632dfce87c355e3cd4700468357715a7
Author: Denis Osipov <osipov_d at list.ru>
Date: 2017-06-07 (Wed, 07 Jun 2017)
Changed paths:
M Lib/test/test_os.py
M Misc/ACKS
Log Message:
-----------
bpo-30584: Fix test_os fails on non-English Windows (#1980)
* Fix bpo-30584
* Adding a comment mentionning the bpo and explaining what is the identifier
* Add Denis Osipov to Misc/ACKS
Commit: 9ba3aa4d02a110d1a1ea464a8aff3be7dd9c63c3
https://github.com/python/cpython/commit/9ba3aa4d02a110d1a1ea464a8aff3be7dd9c63c3
Author: Erik Bray <erik.m.bray at gmail.com>
Date: 2017-06-07 (Wed, 07 Jun 2017)
Changed paths:
M Lib/ctypes/test/test_as_parameter.py
M Lib/ctypes/test/test_structures.py
M Modules/_ctypes/_ctypes_test.c
M Modules/_ctypes/callproc.c
Log Message:
-----------
bpo-30353: Fix pass by value for structs on 64-bit Cygwin/MinGW (GH-1559)
Commit: 6f46683a6257f22f25d136ed080d58d0c060a43b
https://github.com/python/cpython/commit/6f46683a6257f22f25d136ed080d58d0c060a43b
Author: Matthias Klose <doko42 at users.noreply.github.com>
Date: 2017-06-07 (Wed, 07 Jun 2017)
Changed paths:
M config.guess
M config.sub
Log Message:
-----------
trivial: update config.{guess,sub} from gnu.org. (GH-1987)
* Update config.{guess,sub} from gnu.org.
Commit: 5edf827c8052958b9d293f75ce8d93b66c1d58da
https://github.com/python/cpython/commit/5edf827c8052958b9d293f75ce8d93b66c1d58da
Author: Jonathan Eunice <jonathan.eunice at gmail.com>
Date: 2017-06-07 (Wed, 07 Jun 2017)
Changed paths:
M Lib/test/test_textwrap.py
Log Message:
-----------
bpo-30591: Added test for textwrap backtracking. (#1988)
Commit: 0ecdc525146ecec9d1549ebf59404c769637a512
https://github.com/python/cpython/commit/0ecdc525146ecec9d1549ebf59404c769637a512
Author: Will Roberts <wildwilhelm at gmail.com>
Date: 2017-06-07 (Wed, 07 Jun 2017)
Changed paths:
M Lib/test/test_itertools.py
M Misc/NEWS
M Modules/itertoolsmodule.c
Log Message:
-----------
bpo-30537: use PyNumber in itertools.islice instead of PyLong (#1918)
* bpo-30537: use PyNumber in itertools instead of PyLong
* bpo-30537: revert changes except to islice_new
* bpo-30537: test itertools.islice and add entry to Misc/NEWS
Commit: 65ece7ca2366308fa91a39a8dfa255e6bdce3cca
https://github.com/python/cpython/commit/65ece7ca2366308fa91a39a8dfa255e6bdce3cca
Author: Nathaniel J. Smith <njs at pobox.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M Modules/_ssl.c
Log Message:
-----------
bpo-30594: Fixed refcounting in newPySSLSocket (#1992)
If pass a server_hostname= that fails IDNA decoding to SSLContext.wrap_socket or SSLContext.wrap_bio, then the SSLContext object had a spurious Py_DECREF called on it, eventually leading to segfaults.
Commit: ab1cb80b435a34e4f908c97cd2f3a7fe8add6505
https://github.com/python/cpython/commit/ab1cb80b435a34e4f908c97cd2f3a7fe8add6505
Author: Stéphane Wirtel <stephane at wirtel.be>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M Python/pylifecycle.c
Log Message:
-----------
bpo-30547: Fix multiple reference leaks (#1995)
Fix regressions introduced by:
- bpo-22257: commits 1abcf6700b4da6207fe859de40c6c1bada6b4fec and 6b4be195cd8868b76eb6fbe166acc39beee8ce36
Co-Authored-By: Victor Stinner <victor.stinner at gmail.com>
Co-Authored-By: Louie Lu <git at louie.lu>
Commit: 865de27dd79571a4a5c7a7d22a07fb909c4a9f8e
https://github.com/python/cpython/commit/865de27dd79571a4a5c7a7d22a07fb909c4a9f8e
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M Python/sysmodule.c
Log Message:
-----------
bpo-30598: _PySys_EndInit() now duplicates warnoptions (#1998)
Fix a reference in subinterpreters, like test_callbacks_leak() of
test_atexit.
warnoptions is a list used to pass options from the command line to
the sys module constructor. Before this change, the list was shared
by multiple interpreter which is not the expected behaviour. Each
interpreter should have their own independent mutable world.
This change duplicates the list in each interpreter. So each
interpreter owns its own list, so each interpreter can clear its own
list.
Commit: 6cca5c8459cc439cb050010ffa762a03859d3051
https://github.com/python/cpython/commit/6cca5c8459cc439cb050010ffa762a03859d3051
Author: Serhiy Storchaka <storchaka at gmail.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M Modules/_operator.c
M Modules/_randommodule.c
M Modules/_sqlite/connection.c
M Modules/_sqlite/row.c
M Modules/arraymodule.c
M Modules/itertoolsmodule.c
M Modules/zipimport.c
M Objects/boolobject.c
M Objects/rangeobject.c
M Objects/setobject.c
M Objects/sliceobject.c
M Objects/weakrefobject.c
M Python/bltinmodule.c
Log Message:
-----------
bpo-30592: Fixed error messages for some builtins. (#1996)
Error messages when pass keyword arguments to some builtins that
don't support keyword arguments contained double parenthesis: "()()".
The regression was introduced by bpo-30534.
Commit: 64505a1f6c0af4574e17e823b27ffe24eca44df5
https://github.com/python/cpython/commit/64505a1f6c0af4574e17e823b27ffe24eca44df5
Author: Lisa Roach <lisaroach14 at gmail.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M Doc/reference/datamodel.rst
M Lib/test/test_funcattrs.py
M Misc/NEWS
M Objects/cellobject.c
Log Message:
-----------
bpo-30486: Allow setting cell value (#1840)
The cell_contents attribute of the cell object is now writable.
Commit: d52aa31378ae43e044a300edfe8285954c167216
https://github.com/python/cpython/commit/d52aa31378ae43e044a300edfe8285954c167216
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M Lib/subprocess.py
M Misc/NEWS
Log Message:
-----------
bpo-30418: Popen.communicate() always ignore EINVAL (#2002)
On Windows, subprocess.Popen.communicate() now also ignore EINVAL
on stdin.write() if the child process is still running but closed the
pipe.
Commit: 29adc13bd797d9c9e7fcb893a7c49ce7f7ad388c
https://github.com/python/cpython/commit/29adc13bd797d9c9e7fcb893a7c49ce7f7ad388c
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M Modules/_io/winconsoleio.c
Log Message:
-----------
bpo-30601: Fix a refleak in WindowsConsoleIO (#2003)
Fix a reference leak in _io._WindowsConsoleIO: PyUnicode_FSDecoder()
always initialize decodedname when it succeed and it doesn't clear
input decodedname object.
Commit: 2e9cd5825c5ccdbb6f65a57c0c7941078e003c14
https://github.com/python/cpython/commit/2e9cd5825c5ccdbb6f65a57c0c7941078e003c14
Author: Serhiy Storchaka <storchaka at gmail.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M Lib/test/test_fstring.py
M Python/ast.c
Log Message:
-----------
bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. (#1888)
'invalid character in identifier' now is raised instead of
'f-string: empty expression not allowed' if a subexpression contains
only whitespaces and they are not accepted by Python parser.
Commit: 824f6879121413e09439fffef54580413e44bf46
https://github.com/python/cpython/commit/824f6879121413e09439fffef54580413e44bf46
Author: adisbladis <adis at blad.is>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M Doc/library/asyncio-task.rst
Log Message:
-----------
bpo-24755: Document asyncio.wrap_future (GH-603)
Commit: ef8320cf6f09b659c63bfb188bf45dbcae556762
https://github.com/python/cpython/commit/ef8320cf6f09b659c63bfb188bf45dbcae556762
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M Lib/test/libregrtest/cmdline.py
M Lib/test/support/__init__.py
M Lib/test/test_regrtest.py
Log Message:
-----------
bpo-30540: regrtest: add --matchfile option (#1909)
* Add a new option taking a filename to get a list of test names to
filter tests.
* support.match_tests becomes a list.
* Modify run_unittest() to accept to match the whole test identifier,
not just a part of a test identifier.
For example, the following command only runs test_default_timeout()
of the BarrierTests class of test_threading:
$ ./python -m test -v test_threading -m test.test_threading.BarrierTests.test_default_timeout
Remove also some empty lines from test_regrtest.py to make flake8
tool happy.
Commit: 59fdf0f3ba0469f5ee45eee59cc166411fbe0b75
https://github.com/python/cpython/commit/59fdf0f3ba0469f5ee45eee59cc166411fbe0b75
Author: Nathaniel J. Smith <njs at pobox.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M Lib/test/test_ssl.py
Log Message:
-----------
Add a test for bad IDNA in ssl server_hostname (#1997)
See discussion:
https://github.com/python/cpython/pull/1992#issuecomment-307024778
Commit: 63c2c8ac17750ba2be2cfc4e339cae1f4edee54f
https://github.com/python/cpython/commit/63c2c8ac17750ba2be2cfc4e339cae1f4edee54f
Author: Chandan Kumar <chkumar246 at users.noreply.github.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M Doc/library/ssl.rst
M Modules/_ssl.c
M Modules/clinic/_ssl.c.h
Log Message:
-----------
bpo-19180: Updated references for RFC 1750, RFC 3280 & RFC 4366 (GH-148)
* RFC 1750 has been been obsoleted by RFC 4086.
* RFC 3280 has been obsoleted by RFC 5280.
* RFC 4366 has been obsoleted by RFC 6066.
Commit: 5eb7075915f0509c5027376bda0e6d9c1e505a2c
https://github.com/python/cpython/commit/5eb7075915f0509c5027376bda0e6d9c1e505a2c
Author: Marco Buttu <marco.buttu at gmail.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M Doc/library/stdtypes.rst
Log Message:
-----------
bpo-30217: Add the operators ~ and | to the index (#1502)
Commit: 3b5cf85edc188345668f987c824a2acb338a7816
https://github.com/python/cpython/commit/3b5cf85edc188345668f987c824a2acb338a7816
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M Lib/test/test_call.py
M Modules/_testcapimodule.c
Log Message:
-----------
bpo-30524: Write unit tests for FASTCALL (#2022)
Test C functions:
* _PyObject_FastCall()
* _PyObject_FastCallDict()
* _PyObject_FastCallKeywords()
Commit: 57161aac5eb9bcb0b43e551a1937ff0a84c1ec52
https://github.com/python/cpython/commit/57161aac5eb9bcb0b43e551a1937ff0a84c1ec52
Author: Jelle Zijlstra <jelle.zijlstra at gmail.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M Lib/contextlib.py
M Lib/test/test_contextlib.py
M Misc/NEWS
Log Message:
-----------
bpo-30266: support "= None" pattern in AbstractContextManager (#1448)
contextlib.AbstractContextManager now supports anti-registration
by setting __enter__ = None or __exit__ = None, following the pattern
introduced in bpo-25958.
Commit: f9f1ccace395a8f65b60dc12567a237b4002fd18
https://github.com/python/cpython/commit/f9f1ccace395a8f65b60dc12567a237b4002fd18
Author: Serhiy Storchaka <storchaka at gmail.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M Lib/test/test_call.py
M Python/getargs.c
Log Message:
-----------
Fix regression in error message introduced in bpo-29951. (#2028)
* Fix regression in error message introduced in bpo-29951.
* Add test.
* Make the test more strong.
Commit: 70fae778877c23f0977e1cc0d159086d110f3e59
https://github.com/python/cpython/commit/70fae778877c23f0977e1cc0d159086d110f3e59
Author: Giampaolo Rodola <g.rodola at gmail.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M Doc/library/asyncio-task.rst
M Doc/library/ssl.rst
M Doc/library/stdtypes.rst
M Doc/reference/datamodel.rst
M Lib/contextlib.py
M Lib/ctypes/test/test_as_parameter.py
M Lib/ctypes/test/test_structures.py
M Lib/pathlib.py
M Lib/selectors.py
M Lib/subprocess.py
M Lib/test/libregrtest/cmdline.py
M Lib/test/support/__init__.py
M Lib/test/test_call.py
M Lib/test/test_contextlib.py
M Lib/test/test_fstring.py
M Lib/test/test_funcattrs.py
M Lib/test/test_itertools.py
M Lib/test/test_os.py
M Lib/test/test_pathlib.py
M Lib/test/test_regrtest.py
M Lib/test/test_ssl.py
M Lib/test/test_textwrap.py
M Misc/ACKS
M Misc/NEWS
M Modules/_ctypes/_ctypes_test.c
M Modules/_ctypes/callproc.c
M Modules/_io/winconsoleio.c
M Modules/_operator.c
M Modules/_randommodule.c
M Modules/_sqlite/connection.c
M Modules/_sqlite/row.c
M Modules/_ssl.c
M Modules/_testcapimodule.c
M Modules/arraymodule.c
M Modules/clinic/_ssl.c.h
M Modules/itertoolsmodule.c
M Modules/zipimport.c
M Objects/boolobject.c
M Objects/cellobject.c
M Objects/rangeobject.c
M Objects/setobject.c
M Objects/sliceobject.c
M Objects/weakrefobject.c
M Python/ast.c
M Python/bltinmodule.c
M Python/getargs.c
M Python/pylifecycle.c
M Python/sysmodule.c
M config.guess
M config.sub
Log Message:
-----------
compare data by using 'is not' instead of '!=' (faster)
Compare: https://github.com/python/cpython/compare/d9a21b94627d...70fae778877c
More information about the Python-checkins
mailing list