summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34193: Fix pluralization in getargs.c and test cases. (GH-8438)Xtreak2018-12-211-0/+2
|
* bpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x03060000`. (GH-10620)Arthur Neufeld2018-12-201-0/+2
|
* bpo-35424: emit ResourceWarning at multiprocessing.Pool destruction (GH-10974)Victor Stinner2018-12-201-0/+2
| | | | multiprocessing.Pool destructor now emits ResourceWarning if the pool is still running.
* bpo-35521: IDLE: Add code context section to docs (#11205)Cheryl Sabella2018-12-201-0/+2
| | | Also add some internal cross-references.
* bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900)stratakis2018-12-191-0/+2
| | | | | | 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.
* bpo-35526: make __future__.barry_as_FLUFL mandatory for Python 4.0 (#11218)Chris Rands2018-12-191-0/+1
| | | | | | * extending the joke! * 📜🤖 Added by blurb_it.
* bpo-35424: Fix test_multiprocessing_main_handling (GH-11223)Victor Stinner2018-12-181-0/+2
| | | | Fix test_multiprocessing_main_handling: use multiprocessing.Pool with a context manager and then explicitly join the pool.
* bpo-31731: Fix test_io.check_interrupted_write() (GH-11225)Victor Stinner2018-12-181-0/+4
| | | | | | | 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.
* bpo-23057: add loop self socket as wakeup fd for signals (#11135)Vladimir Matveev2018-12-181-0/+1
|
* bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. (GH-11170)Serhiy Storchaka2018-12-181-0/+3
|
* bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931)Victor Stinner2018-12-181-0/+3
| | | | | check_environ() of distutils.utils now catchs KeyError on calling pwd.getpwuid(): don't create the HOME environment variable in this case.
* bpo-35523: Remove ctypes callback workaround (GH-11211)Victor Stinner2018-12-181-0/+2
| | | | Remove ctypes callback workaround: no longer create a callback at startup. Avoid SELinux alert on "import ctypes" and "import uuid".
* bpo-31784: Use time.time_ns() in uuid.uuid1() (GH-11189)Victor Stinner2018-12-181-0/+2
| | | | | 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.
* bpo-35519: Rename test.bisect to test.bisect_cmd (GH-11200)Victor Stinner2018-12-171-0/+3
| | | | | 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".
* bpo-35348: Fix platform.architecture() (GH-11159)Victor Stinner2018-12-171-0/+3
| | | | | | | | | | 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>
* bpo-33306: Improve SyntaxError messages for unbalanced parentheses. (GH-6516)Serhiy Storchaka2018-12-171-0/+1
|
* bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵Zackery Spytz2018-12-171-0/+2
| | | | (GH-11175)
* bpo-35504: Fix a SystemError when delete the characters_written attribute of ↵Serhiy Storchaka2018-12-171-0/+1
| | | | an OSError. (GH-11172)
* bpo-35415: validate fileno argument to socket.socket (GH-10917)Dima Tisnek2018-12-171-0/+1
| | | https://bugs.python.org/issue35415
* bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)Victor Stinner2018-12-171-0/+4
| | | | | | | 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.
* bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182)Victor Stinner2018-12-171-0/+2
| | | | | | | 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).
* bpo-35186: Remove "built with" comment in setup.py upload (GH-10414)Paul Ganssle2018-12-171-0/+2
| | | | | | 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.
* bpo-35511: Trivial docs updates for profile and resource library modules. ↵Beomsoo Kim2018-12-161-0/+3
| | | | | (GH-11124) polish documentation for profile and resource modules
* bpo-35499: make profile-opt don't override CFLAGS_NODIST (GH-11164)Victor Stinner2018-12-161-0/+3
| | | | | "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.
* bpo-35402: Update Windows build to use Tcl and Tk 8.6.9 (GH-11146)Steve Dower2018-12-141-0/+1
|
* bpo-35471: Remove the macpath module (GH-11129)Victor Stinner2018-12-141-0/+2
| | | | Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it.
* bpo-34279: regrtest consider that skipped tests are ran (GH-11132)Victor Stinner2018-12-141-0/+3
| | | | | | 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.
* bpo-35491: Enhance multiprocessing.BaseProcess.__repr__() (GH-11138)Victor Stinner2018-12-141-0/+4
| | | | | | | | | | | | | | | | * 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>
* bpo-31446: Copy command line that should be passed to CreateProcessW(). ↵Vladimir Matveev2018-12-141-0/+2
| | | | (GH-11141)
* bpo-35477: multiprocessing.Pool.__enter__() fails if called twice (GH-11134)Victor Stinner2018-12-131-0/+2
| | | | multiprocessing.Pool.__enter__() now fails if the pool is not running: "with pool:" fails if used more than once.
* bpo-35412: Add testcase to test_future4 (GH-11131)Victor Stinner2018-12-121-0/+1
| | | Add testcase to test_future4: check unicode literal.
* bpo-35346: Drop Mac OS 9 support from platform (GH-10959)Victor Stinner2018-12-121-0/+2
| | | | | | Drop Mac OS 9 and Rhapsody support from the platform module: * Rhapsody: last release in 2000 * Mac OS 9: last release in 2001
* bpo-33106: change dbm key deletion error for readonly file from KeyError to ↵Xiang Zhang2018-12-121-0/+2
| | | | | | dbm.error (#6295)
* Add test for double patching instance methods (#11085)Anthony Sottile2018-12-121-0/+2
|
* bpo-17185: Add __signature__ to mock that can be used by inspect for ↵Xtreak2018-12-121-0/+2
| | | | | | | | | | | | | | | | 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
* bpo-35394: Add empty slots to abstract asyncio protocols (#10889)Andrew Svetlov2018-12-111-0/+1
| | | | | | * bpo-35394: Add empty slots to abstract asyncio protocols * Add missing test file
* bpo-35444: Unify and optimize the helper for getting a builtin object. ↵Serhiy Storchaka2018-12-111-0/+2
| | | | | | | | (GH-11047) This speeds up pickling of some iterators. This fixes also error handling in pickling methods when fail to look up builtin "getattr".
* bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)Ned Deily2018-12-111-0/+1
|
* bpo-35401: Update macOS installer to OpenSSL 1.1.0j (GH-11094)Ned Deily2018-12-111-0/+1
| | | https://bugs.python.org/issue35401
* bpo-35401: Update Windows build to OpenSSL 1.1.0j (GH-11088)Steve Dower2018-12-111-0/+1
|
* bpo-34977: Add Windows App Store package (GH-11027)Steve Dower2018-12-111-0/+1
| | | Also adds the PC/layout script for generating layouts on Windows.
* bpo-34977: Use venv redirector instead of original python.exe on Windows ↵Steve Dower2018-12-101-0/+2
| | | | (GH-11029)
* bpo-32788: Better error handling in sqlite3. (GH-3723)Serhiy Storchaka2018-12-101-0/+3
| | | Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user.
* bpo-35050: AF_ALG length check off-by-one error (GH-10058)Christian Heimes2018-12-101-0/+1
| | | | | | | | 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>
* bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061)Victor Stinner2018-12-101-0/+2
| | | | | | | | | | | 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>
* bpo-35445: Do not ignore memory errors when create posix.environ. (GH-11049)Serhiy Storchaka2018-12-101-0/+1
|
* bpo-34245: install Python shared library with more standard 0755 mode (GH-8492)jdemeyer2018-12-091-0/+2
|
* bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043)Ned Deily2018-12-091-0/+2
|
* bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero2018-12-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019)Victor Stinner2018-12-071-1/+0
| | | This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad.