]>
granicus.if.org Git - python/log
Terry Jan Reedy [Thu, 20 Dec 2018 11:06:29 +0000 (06:06 -0500)]
bpo-35521: Add more cross-refs to IDLE docs (#11257)
Format menu and preferences.
Zackery Spytz [Thu, 20 Dec 2018 08:29:38 +0000 (01:29 -0700)]
bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229)
"dll" would leak if an error occurred in _validate_paramflags() or
GenericPyCData_new().
Serhiy Storchaka [Thu, 20 Dec 2018 07:34:51 +0000 (09:34 +0200)]
bpo-5438: Update memory requirements and optimize test_bigmem.py. (GH-11123)
Serhiy Storchaka [Thu, 20 Dec 2018 07:33:58 +0000 (09:33 +0200)]
bpo-18085: Update refcounts.dat. (GH-11247)
Fixed some errors in refcounts.dat, remove functions removed in
Python 3, and add more entries for documented functions. This will
add several automatically generated notes about return values.
Terry Jan Reedy [Thu, 20 Dec 2018 06:07:10 +0000 (01:07 -0500)]
bpo-34162: Update idlelib/NEWS.txt to 2018-12-20. (#11255)
Cheryl Sabella [Thu, 20 Dec 2018 05:38:54 +0000 (00:38 -0500)]
bpo-35521: IDLE: Add code context section to docs (#11205)
Also add some internal cross-references.
Steve Dower [Thu, 20 Dec 2018 02:20:06 +0000 (18:20 -0800)]
bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file (GH-11224)
Mat M [Wed, 19 Dec 2018 19:13:15 +0000 (14:13 -0500)]
bpo-32077: Update refcounts.dat for Unicode object functions. (GH-11243)
Makes the documentation more comprehensive in terms of indicating
whether or not a function returns a new reference.
Also fixes some errors and adds missing functions.
stratakis [Wed, 19 Dec 2018 17:19:01 +0000 (18:19 +0100)]
bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900)
When compiling 3rd party C extensions, the linker flags used by the
compiler for the interpreter and the stdlib modules, will get
leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS
and PY_LDFLAGS_NODIST are introduced to keep those flags separated.
Chris Rands [Wed, 19 Dec 2018 16:19:39 +0000 (17:19 +0100)]
bpo-35526: make __future__.barry_as_FLUFL mandatory for Python 4.0 (#11218)
* extending the joke!
* 📜🤖 Added by blurb_it.
Serhiy Storchaka [Wed, 19 Dec 2018 13:31:40 +0000 (15:31 +0200)]
Fix documented signatures for C API functions. (GH-11236)
Serhiy Storchaka [Wed, 19 Dec 2018 13:29:04 +0000 (15:29 +0200)]
Fix Python version since which external enities are not resolved by default. (GH-11237)
Manjusaka [Wed, 19 Dec 2018 11:59:52 +0000 (19:59 +0800)]
bpo-35497: add versionadded tag for EPOLLEXCLUSIVE (GH-11162)
Serhiy Storchaka [Wed, 19 Dec 2018 06:09:46 +0000 (08:09 +0200)]
bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)
Jules Lasne (jlasne) [Wed, 19 Dec 2018 06:05:14 +0000 (07:05 +0100)]
Removed dangling `since Python` at the end of library/xml.rst. (GH-11201)
Victor Stinner [Tue, 18 Dec 2018 22:54:33 +0000 (23:54 +0100)]
bpo-35424: Fix test_multiprocessing_main_handling (GH-11223)
Fix test_multiprocessing_main_handling: use multiprocessing.Pool with
a context manager and then explicitly join the pool.
Victor Stinner [Tue, 18 Dec 2018 22:52:39 +0000 (23:52 +0100)]
bpo-31731: Fix test_io.check_interrupted_write() (GH-11225)
Fix a race condition in check_interrupted_write() of test_io:
create directly the thread with SIGALRM signal blocked,
rather than blocking the signal later from the thread. Previously, it
was possible that the thread gets the signal before the signal is
blocked.
Vladimir Matveev [Tue, 18 Dec 2018 21:56:17 +0000 (13:56 -0800)]
bpo-23057: add loop self socket as wakeup fd for signals (#11135)
Hrvoje Nikšić [Tue, 18 Dec 2018 21:31:29 +0000 (22:31 +0100)]
bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145)
Serhiy Storchaka [Tue, 18 Dec 2018 20:29:14 +0000 (22:29 +0200)]
bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. (GH-11170)
Victor Stinner [Tue, 18 Dec 2018 18:51:35 +0000 (19:51 +0100)]
bpo-35516: platform.system_alias() don't replace Darwin (GH-11207)
Add a comment explaining why system_alias() doesn't alias Darwin to
macOS.
Victor Stinner [Tue, 18 Dec 2018 15:17:56 +0000 (16:17 +0100)]
bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931)
check_environ() of distutils.utils now catchs KeyError on calling
pwd.getpwuid(): don't create the HOME environment variable in this
case.
Victor Stinner [Tue, 18 Dec 2018 13:47:21 +0000 (14:47 +0100)]
bpo-35523: Remove ctypes callback workaround (GH-11211)
Remove ctypes callback workaround: no longer create a callback at startup.
Avoid SELinux alert on "import ctypes" and "import uuid".
Serhiy Storchaka [Tue, 18 Dec 2018 11:57:17 +0000 (13:57 +0200)]
bpo-35461: Document C API functions which suppress exceptions. (GH-11119)
Victor Stinner [Tue, 18 Dec 2018 10:45:13 +0000 (11:45 +0100)]
bpo-31784: Use time.time_ns() in uuid.uuid1() (GH-11189)
uuid.uuid1() now calls time.time_ns() rather than
int(time.time() * 1e9). Replace also int(nanoseconds/100)
with nanoseconds // 100. Add an unit test.
Victor Stinner [Mon, 17 Dec 2018 21:06:10 +0000 (22:06 +0100)]
bpo-35519: Rename test.bisect to test.bisect_cmd (GH-11200)
Rename test.bisect module to test.bisect_cmd to avoid conflict with
bisect module when running directly a test like
"./python Lib/test/test_xmlrpc.py".
Victor Stinner [Mon, 17 Dec 2018 17:47:24 +0000 (18:47 +0100)]
bpo-35348: Fix platform.architecture() (GH-11159)
Make platform.architecture() parsing of "file" command output more
reliable:
* Add the "-b" option to the "file" command to omit the filename;
* Force the usage of the C locale;
* Search also the "shared object" pattern.
Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
Serhiy Storchaka [Mon, 17 Dec 2018 15:34:14 +0000 (17:34 +0200)]
bpo-33306: Improve SyntaxError messages for unbalanced parentheses. (GH-6516)
Serhiy Storchaka [Mon, 17 Dec 2018 15:30:03 +0000 (17:30 +0200)]
bpo-35475: Add more PyImport* functions in refcounts.dat. (GH-11142)
Zackery Spytz [Mon, 17 Dec 2018 14:52:45 +0000 (07:52 -0700)]
bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175)
Serhiy Storchaka [Mon, 17 Dec 2018 14:47:45 +0000 (16:47 +0200)]
bpo-35490: Remove the DecodeFSDefault return converter in AC. (#11152)
Serhiy Storchaka [Mon, 17 Dec 2018 14:43:14 +0000 (16:43 +0200)]
bpo-35504: Fix a SystemError when delete the characters_written attribute of an OSError. (GH-11172)
Vajrasky Kok [Mon, 17 Dec 2018 14:16:24 +0000 (21:16 +0700)]
bpo-18799: Resurrect test_404 in test_xmlrpc. (GH-11196)
Dima Tisnek [Mon, 17 Dec 2018 13:07:55 +0000 (22:07 +0900)]
bpo-35415: validate fileno argument to socket.socket (GH-10917)
https://bugs.python.org/issue35415
Beomsoo Kim [Mon, 17 Dec 2018 12:57:03 +0000 (21:57 +0900)]
Fixed a few obvious mistakes in c-api docs (GH-11184)
I thought these simple changes doesn't need bpo number(Am I right..?).
Please refer to the commit message for detail.
Victor Stinner [Mon, 17 Dec 2018 11:12:34 +0000 (12:12 +0100)]
bpo-23451: Update time.monotonic() documentation (GH-11190)
bpo-23451, bpo-22117: Python 3.5 requires Windows Vista or newer,
time.monotonic() is now always system-wide.
Victor Stinner [Mon, 17 Dec 2018 10:30:34 +0000 (11:30 +0100)]
bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)
TextTestRunner of unittest.runner now uses time.perf_counter() rather
than time.time() to measure the execution time of a test: time.time()
can go backwards, whereas time.perf_counter() is monotonic.
Similar change made in libregrtest, pprint and random.
Victor Stinner [Mon, 17 Dec 2018 08:36:36 +0000 (09:36 +0100)]
bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182)
Replace time.time() with time.monotonic() in tests to measure time
delta.
test_zipfile64: display progress every minute (60 secs) rather than
every 5 minutes (5*60 seconds).
Paul Ganssle [Mon, 17 Dec 2018 07:59:02 +0000 (02:59 -0500)]
bpo-35186: Remove "built with" comment in setup.py upload (GH-10414)
platform.dist() is deprecated and slated for removal in Python 3.8. The
upload command itself should also not be used to upload to PyPI, but
while it continues to exist it should not use deprecated functions.
Victor Stinner [Sun, 16 Dec 2018 22:40:49 +0000 (23:40 +0100)]
bpo-35491, multiprocessing: replace "RUN" with RUN (GH-11178)
Beomsoo Kim [Sun, 16 Dec 2018 19:34:08 +0000 (04:34 +0900)]
bpo-35511: Trivial docs updates for profile and resource library modules. (GH-11124)
polish documentation for profile and resource modules
Victor Stinner [Sun, 16 Dec 2018 17:00:42 +0000 (18:00 +0100)]
bpo-35499: make profile-opt don't override CFLAGS_NODIST (GH-11164)
"make profile-opt" no longer replaces CFLAGS_NODIST with CFLAGS. It
now adds profile-guided optimization (PGO) flags to CFLAGS_NODIST,
existing CFLAGS_NODIST flags are kept.
mkkot [Fri, 14 Dec 2018 20:28:52 +0000 (21:28 +0100)]
bpo-35450: reflect in docs that venv module is not always creating a … (GH-11144)
…copy of python binary
https://bugs.python.org/issue35450
Steve Dower [Fri, 14 Dec 2018 17:13:15 +0000 (09:13 -0800)]
bpo-35402: Update Windows build to use Tcl and Tk 8.6.9 (GH-11146)
Victor Stinner [Fri, 14 Dec 2018 12:37:26 +0000 (13:37 +0100)]
bpo-35471: Remove the macpath module (GH-11129)
Python 2.4 dropped MacOS 9 support. The macpath module was deprecated
in Python 3.7. This change removes it.
Victor Stinner [Fri, 14 Dec 2018 12:14:10 +0000 (13:14 +0100)]
bpo-35346: Cleanup platform.architecture() (GH-11130)
struct.calcsize('P') now always works.
Victor Stinner [Fri, 14 Dec 2018 12:06:50 +0000 (13:06 +0100)]
bpo-34279: regrtest consider that skipped tests are ran (GH-11132)
bpo-34279, bpo-35412: support.run_unittest() no longer raises
TestDidNotRun if a test result contains skipped tests. The
exception is now only raised if no test have been run and no test
have been skipped.
Victor Stinner [Fri, 14 Dec 2018 11:58:52 +0000 (12:58 +0100)]
bpo-35491: Enhance multiprocessing.BaseProcess.__repr__() (GH-11138)
* Add the pid and parent pid to multiprocessing.BaseProcess.__repr__().
* Add negative sign (ex: "-SIGTERM") to exitcode (process killed
by a signal)
* Only call _popen.poll() once.
Example:
<ForkProcess(ForkPoolWorker-1, started daemon)>
becomes:
<ForkProcess name='ForkPoolWorker-1' pid=12449 parent=12448 started daemon>
Example:
<ForkProcess(ForkPoolWorker-1, stopped[SIGTERM] daemon)>
becomes:
<ForkProcess name='ForkPoolWorker-1' pid=12960 parent=12959 stopped exitcode=-SIGTERM daemon>
Jules Lasne (jlasne) [Fri, 14 Dec 2018 11:28:44 +0000 (12:28 +0100)]
Fixed missing colun in library/sys.po (GH-11153)
# Fixed missing colun in library/sys.po
[bpo-35492](https://bugs.python.org/issue35492): Fixed missing colun in library/sys.po
Victor Stinner [Fri, 14 Dec 2018 10:13:18 +0000 (11:13 +0100)]
Add multiprocessing.Pool.__repr__() (GH-11137)
* Add multiprocessing.Pool.__repr__() to ease debug
* RUN, CLOSE and TERMINATE constants values are now strings rather
than integer to ease debug
Serhiy Storchaka [Fri, 14 Dec 2018 09:19:51 +0000 (11:19 +0200)]
bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150)
Vladimir Matveev [Fri, 14 Dec 2018 08:30:51 +0000 (00:30 -0800)]
bpo-31446: Copy command line that should be passed to CreateProcessW(). (GH-11141)
Victor Stinner [Thu, 13 Dec 2018 01:15:30 +0000 (02:15 +0100)]
bpo-35477: multiprocessing.Pool.__enter__() fails if called twice (GH-11134)
multiprocessing.Pool.__enter__() now fails if the pool is not
running: "with pool:" fails if used more than once.
Victor Stinner [Wed, 12 Dec 2018 17:38:34 +0000 (18:38 +0100)]
bpo-35412: Add testcase to test_future4 (GH-11131)
Add testcase to test_future4: check unicode literal.
Victor Stinner [Wed, 12 Dec 2018 16:48:08 +0000 (17:48 +0100)]
bpo-35346: Drop Mac OS 9 support from platform (GH-10959)
Drop Mac OS 9 and Rhapsody support from the platform module:
* Rhapsody: last release in 2000
* Mac OS 9: last release in 2001
Xiang Zhang [Wed, 12 Dec 2018 12:46:55 +0000 (20:46 +0800)]
bpo-33106: change dbm key deletion error for readonly file from KeyError to dbm.error (#6295)
Anthony Sottile [Wed, 12 Dec 2018 07:56:35 +0000 (23:56 -0800)]
Add test for double patching instance methods (#11085)
Xtreak [Wed, 12 Dec 2018 07:54:54 +0000 (13:24 +0530)]
bpo-17185: Add __signature__ to mock that can be used by inspect for signature (GH11048)
* Fix partial and partial method signatures in mock
* Add more calls
* Add NEWS entry
* Use assertEquals and fix markup in NEWS
* Refactor branching and add markup reference for functools
* Revert partial object related changes and fix pr comments
Andrew Svetlov [Tue, 11 Dec 2018 17:07:05 +0000 (19:07 +0200)]
bpo-35394: Add empty slots to abstract asyncio protocols (#10889)
* bpo-35394: Add empty slots to abstract asyncio protocols
* Add missing test file
Serhiy Storchaka [Tue, 11 Dec 2018 13:14:12 +0000 (15:14 +0200)]
Remove an unused variable after bpo-35444. (GH-11117)
Pablo Galindo [Tue, 11 Dec 2018 11:32:12 +0000 (11:32 +0000)]
bpo-35426: Eliminate race condition in test_interprocess_signal (GH-11087)
The test only except SIGUSR1Exception inside wait_signal(), but the signal can be sent during subprocess_send_signal() call.
Pablo Galindo [Tue, 11 Dec 2018 11:31:16 +0000 (11:31 +0000)]
bpo-35412: Skip test_multiprocessing_fork and test_multiprocessing_forkserver on Windows (GH-11086)
Forkserver and fork are not available on Windows and therefore these test must be skipped.
Victor Stinner [Tue, 11 Dec 2018 11:05:21 +0000 (12:05 +0100)]
bpo-35458: Fix test_shutil.test_disk_usage() (GH-11111)
The following test fails if a different process creates or removes
a file on the same disk partition between the two lines:
usage = shutil.disk_usage(os.path.dirname(__file__))
self.assertEqual(usage, shutil.disk_usage(__file__))
Only test that disk_usage() succeed on a filename, but don't check
the result. Add also tests on the fields type (must be int).
Serhiy Storchaka [Tue, 11 Dec 2018 06:38:03 +0000 (08:38 +0200)]
bpo-35454: Fix miscellaneous minor issues in error handling. (#11077)
* bpo-35454: Fix miscellaneous minor issues in error handling.
* Fix a null pointer dereference.
Serhiy Storchaka [Tue, 11 Dec 2018 06:28:18 +0000 (08:28 +0200)]
bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047)
This speeds up pickling of some iterators.
This fixes also error handling in pickling methods when fail to
look up builtin "getattr".
Ned Deily [Tue, 11 Dec 2018 06:06:57 +0000 (01:06 -0500)]
bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)
Ned Deily [Tue, 11 Dec 2018 05:24:06 +0000 (00:24 -0500)]
bpo-35401: Update macOS installer to OpenSSL 1.1.0j (GH-11094)
https://bugs.python.org/issue35401
Steve Dower [Tue, 11 Dec 2018 04:56:09 +0000 (20:56 -0800)]
bpo-34977: Remove unused preprocessor definition (GH-11092)
Steve Dower [Tue, 11 Dec 2018 03:52:36 +0000 (19:52 -0800)]
bpo-35401: Update Windows build to OpenSSL 1.1.0j (GH-11088)
Steve Dower [Tue, 11 Dec 2018 02:52:57 +0000 (18:52 -0800)]
bpo-34977: Add Windows App Store package (GH-11027)
Also adds the PC/layout script for generating layouts on Windows.
Steve Dower [Mon, 10 Dec 2018 16:11:21 +0000 (08:11 -0800)]
bpo-34977: Use venv redirector instead of original python.exe on Windows (GH-11029)
Victor Stinner [Mon, 10 Dec 2018 15:06:18 +0000 (16:06 +0100)]
bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079)
Serhiy Storchaka [Mon, 10 Dec 2018 14:06:08 +0000 (16:06 +0200)]
bpo-32788: Better error handling in sqlite3. (GH-3723)
Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user.
Serhiy Storchaka [Mon, 10 Dec 2018 11:50:22 +0000 (13:50 +0200)]
bpo-35452: Make PySys_HasWarnOptions() never raising an exception. (GH-11075)
Victor Stinner [Mon, 10 Dec 2018 10:30:21 +0000 (11:30 +0100)]
bpo-31374: Include pyconfig.h earlier in expat (GH-11064)
Include <pyconfig.h> ealier in Modules/expat/xmltok.c to define
properly _POSIX_C_SOURCE. Python defines _POSIX_C_SOURCE as 200809L,
whereas <features.h> (included indirectly by <string.h>) defines
_POSIX_C_SOURCE as 199506L.
Christian Heimes [Mon, 10 Dec 2018 10:22:37 +0000 (11:22 +0100)]
bpo-35050: AF_ALG length check off-by-one error (GH-10058)
The length check for AF_ALG salg_name and salg_type had a off-by-one
error. The code assumed that both values are not necessarily NULL
terminated. However the Kernel code for alg_bind() ensures that the last
byte of both strings are NULL terminated.
Signed-off-by: Christian Heimes <christian@python.org>
Victor Stinner [Mon, 10 Dec 2018 10:12:53 +0000 (11:12 +0100)]
bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061)
Fix xml.dom.minidom cloneNode() on a document with an entity: pass
the correct arguments to the user data handler of an entity (fix an
old copy/paste mistake).
Bug spotted and fix proposed by Charalampos Stratakis, initial
reproducer written by Petr Viktorin.
Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
Co-Authored-By: Petr Viktorin <encukou@gmail.com>
Serhiy Storchaka [Mon, 10 Dec 2018 10:10:56 +0000 (12:10 +0200)]
bpo-35445: Do not ignore memory errors when create posix.environ. (GH-11049)
Serhiy Storchaka [Mon, 10 Dec 2018 10:08:54 +0000 (12:08 +0200)]
bpo-35451: Fix reference counting for sys.warnoptions and sys._xoptions. (GH-11063)
Jeremy Kloth [Mon, 10 Dec 2018 03:59:32 +0000 (20:59 -0700)]
bpo-35433: Properly detect installed SDK versions (GH-11009)
Serhiy Storchaka [Sun, 9 Dec 2018 20:15:29 +0000 (22:15 +0200)]
Remove a duplicate descriptor in gdbm. (GH-11053)
Gregory P. Smith [Sun, 9 Dec 2018 19:42:58 +0000 (11:42 -0800)]
bpo-22005: Document the reality of pickle compatibility. (GH-11054)
jdemeyer [Sun, 9 Dec 2018 07:46:50 +0000 (08:46 +0100)]
bpo-34245: install Python shared library with more standard 0755 mode (GH-8492)
Andre Delfino [Sun, 9 Dec 2018 07:00:20 +0000 (04:00 -0300)]
Fix numbered lists in stdtypes.rst. (GH-10989)
Ned Deily [Sun, 9 Dec 2018 06:50:15 +0000 (01:50 -0500)]
bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043)
Zackery Spytz [Sat, 8 Dec 2018 14:16:55 +0000 (07:16 -0700)]
bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033)
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.
In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.
In addition, check if the list changed size in the loop in array_array_fromlist().
Mario Corchero [Sat, 8 Dec 2018 11:25:02 +0000 (11:25 +0000)]
bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)
* tests: Further validate `wraps` functionality in `unittest.mock.Mock`
Add more tests to validate how `wraps` interacts with other features of
mocks.
* Don't call the wrapped object if `side_effect` is set
When a object is wrapped using `Mock(wraps=...)`, if an user sets a
`side_effect` in one of their methods, return the value of `side_effect`
and don't call the original object.
* Refactor what to be called on `mock_call`
When a `Mock` is called, it should return looking up in the following
order: `side_effect`, `return_value`, `wraps`. If any of the first two
return `mock.DEFAULT`, lookup in the next option.
It makes no sense to check for `wraps` returning default, as it is
supposed to be the original implementation and there is nothing to
fallback to.
Anirudha Bose [Fri, 7 Dec 2018 23:30:42 +0000 (00:30 +0100)]
bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520)
Victor Stinner [Fri, 7 Dec 2018 16:54:18 +0000 (17:54 +0100)]
bpo-9566: Fix compiler warnings in peephole.c (GH-10652)
Serhiy Storchaka [Fri, 7 Dec 2018 14:48:21 +0000 (16:48 +0200)]
bpo-22005: Fix condition for unpickling a date object. (GH-11025)
Victor Stinner [Fri, 7 Dec 2018 11:57:43 +0000 (12:57 +0100)]
Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019)
This reverts commit
468a15aaf9206448a744fc5eab3fc21f51966aad .
Serhiy Storchaka [Fri, 7 Dec 2018 11:42:10 +0000 (13:42 +0200)]
bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017)
encoding='latin1' should be used for successful decoding.
Zackery Spytz [Fri, 7 Dec 2018 10:11:30 +0000 (03:11 -0700)]
bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015)
Set MemoryError when appropriate, add missing failure checks,
and fix some potential leaks.
Victor Stinner [Fri, 7 Dec 2018 10:10:33 +0000 (11:10 +0100)]
bpo-35346, platform: replace os.popen() with subprocess (GH-10786)
Replace os.popen() with subprocess.check_output() in the platform module:
* platform.uname() (its _syscmd_ver() helper function) now redirects
stderr to DEVNULL.
* Remove platform.DEV_NULL.
* _syscmd_uname() and _syscmd_file() no longer catch AttributeError.
The "except AttributeError:" was only needed in Python 2, when
os.popen() was not always available. In Python 3,
subprocess.check_output() is always available.
Tal Einat [Fri, 7 Dec 2018 06:32:21 +0000 (08:32 +0200)]
bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" (#10464)
* bpo-34864: warn if "Prefer tabs when opening documents" set to "Always"
* add NEWS entry
* address code review comments
* address second code review comments
* Add entry for idlelib/NEWS.txt.
Mariatta [Fri, 7 Dec 2018 05:59:42 +0000 (21:59 -0800)]
bpo-35434 Fix wrong issue number in what's new in 3.8 (GH-11012)
https://bugs.python.org/issue35434
Steve Dower [Fri, 7 Dec 2018 05:09:20 +0000 (21:09 -0800)]
bpo-34977: Add Windows App Store package (GH-10245)
Andre Delfino [Thu, 6 Dec 2018 21:06:55 +0000 (18:06 -0300)]
Add missing period in distutils.dep_util.newer_group doc (GH-11003)
Gregory P. Smith [Thu, 6 Dec 2018 20:56:24 +0000 (12:56 -0800)]
Clarify expectedFailure in the unittest docs. (#10953)
Serhiy Storchaka [Thu, 6 Dec 2018 20:36:55 +0000 (22:36 +0200)]
bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934)