Staging
v0.5.1

sort by:
Revision Author Date Message Commit Date
69af439 bpo-35692: pathlib no longer raises when checking file and directory existence on drives that are not ready (GH-11746) (cherry picked from commit 2f6fae6e510dba653391cb510a2aca8322eec03b) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 04 February 2019, 07:27:37 UTC
cba16b7 bpo-35642: Remove asynciomodule.c from pythoncore.vcxproj (GH-11410) This module is built by _asyncio.vcxproj and does not need to be included in pythoncore. (cherry picked from commit fbf50683b3a2301097d5cd48bc68b530c1e1720f) Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com> 03 February 2019, 00:46:12 UTC
81eda28 bpo-34691: Compile _contextvars module into main Python library (GH-11741) (cherry picked from commit 4c70d9f79c9b371990c8e054ccde53f7ff15946b) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 02 February 2019, 22:54:42 UTC
63a69ef bpo-29734: nt._getfinalpathname handle leak (GH-740) Make sure that failure paths call CloseHandle outside of the function that failed (cherry picked from commit b82bfac4369c0429e562a834b3752e66c4821eab) Co-authored-by: Mark Becwar <mark@thebecwar.com> 02 February 2019, 21:29:07 UTC
04b2a5e bpo-32560: inherit the py launcher's STARTUPINFO (GH-9000) https://bugs.python.org/issue32560 (cherry picked from commit cb0904762681031edc50f9d7d7ef48cffcf96d9a) Co-authored-by: Shiva Saxena <shivasaxena911@gmail.com> 02 February 2019, 19:38:16 UTC
56f8411 bpo-1104: msilib.SummaryInfo.GetProperty() truncates the string by one character (GH-4517) Add one char to MsiSummaryInfoGetProperty() output Based on the patch in bpo-1104 by Anthony Tuininga (atuining) and Mark McMahon (markm). (cherry picked from commit 2de576e16d42ce43698d384d0dd46ba6cf165424) Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com> 02 February 2019, 17:36:48 UTC
c851dfc bpo-33316: PyThread_release_lock always fails (GH-6541) Use correct interpretation of return value from APIs. (cherry picked from commit 05e922136a3286893bd489a8f2ecfa0dba4da368) Co-authored-by: native-api <ivan_pozdeev@mail.ru> 02 February 2019, 16:45:50 UTC
a2f4c40 bpo-26256: Document algorithm speed for the Decimal module. (GH-4808) (#11736) (cherry picked from commit 00e9c55d27aff3e445ab4c8629cf4d59f46ff945) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 02 February 2019, 14:46:09 UTC
533a9b4 Consistently move the misses update to just before the user function call (GH-11715) (GH-11716) 31 January 2019, 23:35:00 UTC
09b66e0 doc: http: Fix enum name for status code 416 (GH-11689) (cherry picked from commit d97daebfa69b4df95231bcae4123eacad6a48d14) Co-authored-by: Phil Jones <philip.graham.jones@googlemail.com> 31 January 2019, 10:15:29 UTC
5901444 bpo-35865: doc: Remove wrong note and directives (GH-11711) * note about random dict order * Remove wrong versionchanged directive 31 January 2019, 08:54:55 UTC
03082a8 bpo-35854: Fix EnvBuilder and --symlinks in venv on Windows (GH-11700) (cherry picked from commit a1f9a3332bd4767e47013ea787022f06b6dbcbbd) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 30 January 2019, 22:14:35 UTC
e31f860 Document differences between random.choices() and random.choice(). (GH-11703) (GH-11706) 30 January 2019, 21:49:23 UTC
7516f26 bpo-35835: Add reference to Python 3.7 new breakpoint() function in pdb documentation. (GH-11691) (cherry picked from commit cf991e653ac550a9f011631447c61ce583404a57) Co-authored-by: João Matos <jcrmatos@gmail.com> 30 January 2019, 17:41:51 UTC
1c79891 bpo-35717: Fix KeyError exception raised when using enums and compile (GH-11523) (GH-11669) https://bugs.python.org/issue17467 (cherry picked from commit 1fd06f1eca80dcbf3a916133919482a8327f3da4) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> 30 January 2019, 17:36:51 UTC
ebae1ce bpo-25592: Improve documentation of distutils data_files (GH-9767) (GH-11701) (cherry picked from commit 598e15d4feaee3849a91d92c9ca51f17baafe19c) Co-authored-by: jdemeyer <J.Demeyer@UGent.be> 30 January 2019, 15:56:51 UTC
10354cb bpo-35847: RISC-V needs CTYPES_PASS_BY_REF_HACK (GH-11694) This fixes the ctypes.test.test_structures.StructureTestCase test. https://bugs.python.org/issue35847 (cherry picked from commit 742d768656512a469ce9571b1cbd777def7bc5ea) Co-authored-by: Andreas Schwab <schwab@linux-m68k.org> 29 January 2019, 21:11:36 UTC
ff27f81 Fix typo: class declaration (GH-11678) (cherry picked from commit dfc8bb987d1fcba9225a19542c0fb9132b846b5b) Co-authored-by: nu_no <nuno.an@gmail.com> 27 January 2019, 22:25:49 UTC
658ff84 Clarify U-mode deprecation in open() (GH-11646) The previous wording could be read as saying that universal newlines mode itself was deprecated, when it's only the 'U' character in the mode field that should be avoided. The update also moves the description of the 'U' mode character out of the mode table, as the longer explanation was overly intrusive as a table entry and overshadowed the actually useful mode characters. (cherry picked from commit 3171df34141c1f26ec16dccb4357184c0cf6c58f) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 27 January 2019, 16:27:58 UTC
b2b023c bpo-35780: Fix errors in lru_cache() C code (GH-11623) (GH-11682) 26 January 2019, 08:23:40 UTC
a6a8524 bpo-35811: Avoid propagating venv settings when launching via py.exe (GH-11677) (cherry picked from commit adad9e68013aac166c84ffe4e23f3a5464f41840) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 25 January 2019, 23:31:18 UTC
6a9c0fc bpo-35797: Fix default executable used by the multiprocessing module (GH-11676) (cherry picked from commit 4e02f8f8b4baab63f927cfd87b401200ba2969e9) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 25 January 2019, 23:14:41 UTC
c2674bf bpo-34134: Advise to use imap or imap_unordered when handling long iterables. (gh-8324) (gh-11673) (cherry picked from commit 3bab40db96efda2e127ef84e6501fda0cdc4f5b8) Co-authored-by: Windson yang <wiwindson@outlook.com> 25 January 2019, 12:08:14 UTC
841387d bpo-35767: Fix unittest.loader to allow partials as test_functions (GH-11600) (#11662) (cherry picked from commit fd628cf5adaeee73eab579393cdff71c8f70cdf2) Co-authored-by: Jason Fried <me@jasonfried.info> 24 January 2019, 17:30:59 UTC
3be19c0 bpo-35781: Changed references to deprecated 'warn' method in logging documentation in favour of 'warning' (GH-11654) (GH-11657) (cherry picked from commit cda73a5af2ff064ca82140342b3158851d43868f) Co-authored-by: yuji38kwmt <yuji38kwmt@yahoo.co.jp> 23 January 2019, 07:43:37 UTC
552478b bpo-35722: Updated the documentation for the 'disable_existing_loggers' parameter (GH-11525) (GH-11655) (cherry picked from commit f0c743604fc841d35a48822b936ef2e5919e43c1) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 23 January 2019, 07:21:32 UTC
128efca bpo-35683: Improve Azure Pipelines steps (GH-11493) 22 January 2019, 20:31:30 UTC
f71e743 bpo-35720: Fixing a memory leak in pymain_parse_cmdline_impl() (GH-11528) When the loop in the pymain_read_conf function in this same file calls pymain_init_cmdline_argv() a 2nd time, the pymain->command buffer of wchar_t is overriden and the previously allocated memory is never freed. (cherry picked from commit 35ca1820e19f81f69073f294503cdcd708fe490f) Co-authored-by: Lucas Cimon <lucas.cimon@gmail.com> 22 January 2019, 16:42:13 UTC
d1dd6be bpo-35772: Fix test_tarfile on ppc64 (GH-11606) Fix sparse file tests of test_tarfile on ppc64le with the tmpfs filesystem. Fix the function testing if the filesystem supports sparse files: create a file which contains data and "holes", instead of creating a file which contains no data. tmpfs effective block size is a page size (tmpfs lives in the page cache). RHEL uses 64 KiB pages on aarch64, ppc64 and ppc64le, only s390x and x86_64 use 4 KiB pages, whereas the test punch holes of 4 KiB. test.pythoninfo: Add resource.getpagesize(). (cherry picked from commit b2385458ceddaf3d0d91456923716259d3915023) Co-authored-by: Victor Stinner <vstinner@redhat.com> 21 January 2019, 09:44:30 UTC
d358a8c bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (GH-11629) * Allow repeated deletion of unittest.mock.Mock attributes * fixup! Allow repeated deletion of unittest.mock.Mock attributes * fixup! fixup! Allow repeated deletion of unittest.mock.Mock attributes (cherry picked from commit 222d303ade8aadf0adcae5190fac603bdcafe3f0) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 21 January 2019, 09:37:54 UTC
2fa53cf bpo-35699: fix distuils cannot detect Build Tools 2017 anymore (GH-11495) (cherry picked from commit b2dc4a3313c236fedbd6df664722cd47f3d91a72) Co-authored-by: Marc Schlaich <marc.schlaich@googlemail.com> 20 January 2019, 19:06:08 UTC
47290e7 bpo-35770: Fix off-by-1 error. (GH-11618) (cherry picked from commit 2cf1ddaff4c869780d9e796b21ef3e506f8ad321) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 18 January 2019, 22:23:51 UTC
a01e235 bpo-35770: IDLE macosx deletes Options => Configure IDLE. (GH-11614) It previously deleted Window => Zoom Height by mistake. (Zoom Height is now on the Options menu). On Mac, the settings dialog is accessed via Preferences on the IDLE menu. (cherry picked from commit 39ed289a3511d2e9bf0950a9d5dc53c8194f61b9) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 18 January 2019, 19:16:01 UTC
6ca7183 bpo-35045: Accept TLSv1 default in min max test (GH-11510) Make ssl tests less strict and also accept TLSv1 as system default. The changes unbreaks test_min_max_version on Fedora 29. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 34de2d312b3687994ddbc29adb66e88f672034c7) Co-authored-by: Christian Heimes <christian@python.org> 18 January 2019, 15:29:08 UTC
c2647f2 bpo-35283: Add pending deprecation warning for Thread.isAlive (GH-11604) Add a pending deprecated warning for the threading.Thread.isAlive() method. 18 January 2019, 14:09:43 UTC
5f9a168 bpo-35769: Change IDLE's name for new files from 'Untitled' to 'untitled' (GH-11602) 'Untitled' violates the PEP 8 standard for .py files (cherry picked from commit a902239f22c322d8988c514dd1c724aade3e4ef3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 18 January 2019, 07:24:09 UTC
237f864 bpo-35730: IDLE - test squeezer reload() by checking load_font() (GH-11585) (cherry picked from commit e55cf024cae203f63b4f78f1b21c1375fe424441) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 18 January 2019, 02:44:09 UTC
59d7bdb bpo-34162: Update idlelib/NEWS.txt to 2019 Jan 17 (GH-11597) (GH-11598) (cherry picked from commit 56c16057c639acc2fb89c6b783425320f23a5f6c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 18 January 2019, 00:49:04 UTC
ebb08be bpo-23156: Remove obsolete tix install directions (GH-11595) Tix was deprecated in 3.6 and the doc is wrong. New users should use ttk. (cherry picked from commit cf27c06229eb4b8280bb5f2b93a57e33163411f4) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 18 January 2019, 00:07:10 UTC
a261b73 bpo-33687: Fix call to os.chmod() in uu.decode() (GH-7282) (cherry picked from commit 17f05bbc78dbcd1db308266c31370da9ec1b1d47) Co-authored-by: Timo Furrer <tuxtimo@gmail.com> 17 January 2019, 14:32:59 UTC
6d84071 Fixes typo in asyncio.queue doc (GH-11581) Typo fix for method doc, I'm pretty sure coro is meant, because there's no consumer threads for thread-unsafe queue. Most probably this piece of doc was copied from `queue.Queue` There's not BPO bug for this, afaik. (cherry picked from commit 97e12996f31f6ada4173e2cd4b6807c98ba379a4) Co-authored-by: Slam <3lnc.slam@gmail.com> 17 January 2019, 11:58:37 UTC
422db37 bpo-35486: Note Py3.6 import system API requirement change (GH-11540) While the introduction of ModuleNotFoundError was fully backwards compatible on the import API consumer side, folks providing alternative implementations of `__import__` need to make an update to be forward compatible with clients that start relying on the new subclass. https://bugs.python.org/issue35486 (cherry picked from commit cee29b46a19116261b083dc803217aa754c7df40) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 17 January 2019, 10:48:15 UTC
be5de95 bpo-35746: Fix segfault in ssl's cert parser (GH-11569) Fix a NULL pointer deref in ssl module. The cert parser did not handle CRL distribution points with empty DP or URI correctly. A malicious or buggy certificate can result into segfault. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue35746 (cherry picked from commit a37f52436f9aa4b9292878b72f3ff1480e2606c3) Co-authored-by: Christian Heimes <christian@python.org> 15 January 2019, 23:03:36 UTC
c9f2671 bpo-23846: Fix ProactorEventLoop._write_to_self() (GH-11566) asyncio.ProactorEventLoop now catchs and logs send errors when the self-pipe is full: BaseProactorEventLoop._write_to_self() now catchs and logs OSError exceptions, as done by BaseSelectorEventLoop._write_to_self(). (cherry picked from commit c9f872b0bdce5888f1879fa74e098bf4a05430c5) Co-authored-by: Victor Stinner <vstinner@redhat.com> 15 January 2019, 13:17:05 UTC
d5a6adf [3.7] bpo-34323: Enhance IocpProactor.close() log (GH-11565) * IocpProactor: prevent modification if closed (GH-11494) * _wait_for_handle(), _register() and _unregister() methods of IocpProactor now raise an exception if closed * Add "closed" to IocpProactor.__repr__() * Simplify IocpProactor.close() (cherry picked from commit 9b07681c09182d4b9d23cd52566a4992b8afecbb) * bpo-34323: Enhance IocpProactor.close() log (GH-11555) IocpProactor.close() now uses time to decide when to log: wait 1 second before the first log, then log every second. Log also the number of seconds since close() was called. (cherry picked from commit b1e45739d832e1e402a563c6727defda92e193b7) * bpo-34323: Enhance IocpProactor.close() log again (GH-11563) Add repr(self) to the log to display the number of pending overlapped in the log. (cherry picked from commit b91140fdb17472d03a7b7971f143c08a40fde923) 15 January 2019, 12:05:28 UTC
97d6a56 bpo-35742: Fix test_envar_unimportable in test_builtin. (GH-11561) Handle the case of an empty module name in PYTHONBREAKPOINT. Fixes a regression introduced in bpo-34756. (cherry picked from commit 3607ef43c4a1a24d44f39ff54a77fc0af5bfa09a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 15 January 2019, 11:45:57 UTC
0bb6b89 bpo-35738: Update the example for timer.Timer.repeat(). (GH-11559) Show correct number of repeats. (cherry picked from commit 06f8b57212b2e2cd2e63af36cecdfa3075b324a2) Co-authored-by: Henry Chen <tahafut@gmail.com> 15 January 2019, 10:49:16 UTC
a4aade2 bpo-29707: Document that os.path.ismount() is not able to reliable detect bind mounts. (GH-11238) (cherry picked from commit 32ebd8508d4807a7c85d2ed8e9c3b44ecd6de591) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 15 January 2019, 09:01:15 UTC
6d0254b bpo-34756: Silence only ImportError and AttributeError in sys.breakpointhook(). (GH-9457) (cherry picked from commit 6fe9c446f8302553952f63fc6d96be4dfa48ceba) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 14 January 2019, 11:17:06 UTC
26122de bpo-35066: _dateime.datetime.strftime copies trailing '%' (GH-10692) Previously, calling the strftime() method on a datetime object with a trailing '%' in the format string would result in an exception. However, this only occured when the datetime C module was being used; the python implementation did not match this behavior. Datetime is now PEP-399 compliant, and will not throw an exception on a trailing '%'. (cherry picked from commit 454b3d4ea246e8751534e105548d141ed7b0b032) Co-authored-by: MichaelSaah <mike.saah@gmail.com> 14 January 2019, 10:41:33 UTC
890d3fa bpo-35730: Disable IDLE test_reload assertion. (GH-11543) IDLE's test_squeezer.SqueezerTest.test_reload, added for issue 35196, failed on both Gentoo buildbots. (cherry picked from commit 5bb146aaea1484bcc117ab6cb38dda39ceb5df0f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 13 January 2019, 18:05:50 UTC
47bd777 bpo-35196: Optimize Squeezer's write() interception (GH-10454) The new functionality of Squeezer.reload() is also tested, along with some general re-working of the tests in test_squeezer.py. (cherry picked from commit 39a33e99270848d34628cdbb1fdb727f9ede502a) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 13 January 2019, 16:43:08 UTC
678c5c0 bpo-34512: Document platform-specific strftime() behavior for non-ASCII format strings (GH-8948) (cherry picked from commit 1cffd0eed313011c0c2bb071c8affeb4a7ed05c7) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 12 January 2019, 17:27:30 UTC
cbc7c2c bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat(). (GH-11276) Format characters "%s" and "%V" in PyUnicode_FromFormat() and "%s" in PyBytes_FromFormat() no longer read memory past the limit if precision is specified. (cherry picked from commit d586ccb04f79863c819b212ec5b9d873964078e4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 12 January 2019, 08:52:55 UTC
d39c192 bpo-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516) Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat() with empty result. (cherry picked from commit 44cc4822bb3799858201e61294c5863f93ec12e2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 12 January 2019, 07:40:09 UTC
059997d bpo-32710: Fix _overlapped.Overlapped memory leaks (GH-11489) Fix memory leaks in asyncio ProactorEventLoop on overlapped operation failures. Changes: * Implement the tp_traverse slot in the _overlapped.Overlapped type to help to break reference cycles and identify referrers in the garbage collector. * Always clear overlapped on failure: not only set type to TYPE_NOT_STARTED, but release also resources. (cherry picked from commit 5485085b324a45307c1ff4ec7d85b5998d7d5e0d) Co-authored-by: Victor Stinner <vstinner@redhat.com> 11 January 2019, 14:01:50 UTC
8a5b1aa bpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517) Document that the time.CLOCK_MONOTONIC_RAW constant is now also available on macOS 10.12. Co-authored-by: Ricardo Fraile <rfraile@rfraile.eu> (cherry picked from commit fd7d539be3ce1cc098a4f104b7a7816ca00add16) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 11 January 2019, 13:32:11 UTC
b9cd38f bpo-32146: Add documentation about frozen executables on Unix (GH-5850) (cherry picked from commit bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d) Co-authored-by: Bo Bayles <bbayles@gmail.com> 10 January 2019, 18:13:21 UTC
3e3d57d bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128) (cherry picked from commit 89c4f90df97f6039325e354167e8f507bf199fd9) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 10 January 2019, 16:36:50 UTC
1cbd17c bpo-24746: Fix doctest failures when running the testsuite with -R (GH-11501) (cherry picked from commit c5dc60ea858b8ccf78e8d26db81c307a8f9b2314) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 10 January 2019, 16:02:26 UTC
2bd5f7e bpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177) (cherry picked from commit 6aedfa6b9ac324587f64133c23757a66a8f355bb) Co-authored-by: antektek <45912913+antektek@users.noreply.github.com> 10 January 2019, 00:46:40 UTC
1419000 Update bugs.rst (GH-11485) (cherry picked from commit 91c6158dbc5d70fcd91993b4e62c7bae926c2ea2) Co-authored-by: Andre Delfino <adelfino@gmail.com> 09 January 2019, 23:00:12 UTC
2b3db49 Add example to the documentation for calling unittest.mock.patch with create=True (GH-11056) (cherry picked from commit d6acf17c05315cd34124d678057d9543adbad404) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 09 January 2019, 21:50:02 UTC
6f76ef8 bpo-35641: Move IDLE blurb to IDLE directory (GH-11479) (cherry picked from commit ee6559436797032b816dfb8c6376c9a451014962) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 January 2019, 15:49:38 UTC
53cf5f0 bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (GH-10639) (cherry picked from commit cbb16459934eaf29c7c7d362939cd05550b2f21f) Co-authored-by: Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com> 09 January 2019, 13:56:40 UTC
88ad48b bpo-32710: Fix leak in Overlapped_WSASend() (GH-11469) Fix a memory leak in asyncio in the ProactorEventLoop when ReadFile() or WSASend() overlapped operation fail immediately: release the internal buffer. (cherry picked from commit a234e148394c2c7419372ab65b773d53a57f3625) Co-authored-by: Victor Stinner <vstinner@redhat.com> 08 January 2019, 13:40:50 UTC
69f64b6 bpo-35596: Use unchecked PYCs for the embeddable distro to avoid zipimport restrictions (GH-11465) Also adds extra steps to the CI build for Windows on Azure Pipelines to validate that the various layouts at least execute. (cherry picked from commit 872bd2b57ce8e4ea7a54acb3934222c0e4e7276b) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 08 January 2019, 10:56:14 UTC
5d1e012 bpo-35374: Avoid trailing space in hhc file name if found on PATH. (GH-10849) (cherry picked from commit e61cc481e02b758c8d8289163102c236d0658a55) Co-authored-by: chrullrich <chris@chrullrich.net> 08 January 2019, 03:04:14 UTC
88bd26a bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462) bpo-32622, bpo-35682: Fix asyncio.ProactorEventLoop.sendfile(): don't attempt to set the result of an internal future if it's already done. Fix asyncio _ProactorBasePipeTransport._force_close(): don't set the result of _empty_waiter if it's already done. (cherry picked from commit 80fda712c83f5dd9560d42bf2aa65a72b18b7759) Co-authored-by: Victor Stinner <vstinner@redhat.com> 08 January 2019, 02:15:25 UTC
9a413fa bpo-35560: Remove assertion from format(float, "n") (GH-11288) Fix an assertion error in format() in debug build for floating point formatting with "n" format, zero padding and small width. Release build is not impacted. Patch by Karthikeyan Singaravelan. (cherry picked from commit 3f7983a25a3d19779283c707fbdd5bc91b1587ef) Co-authored-by: Xtreak <tir.karthi@gmail.com> 07 January 2019, 15:26:20 UTC
65ed9f3 test_threading_local: add missing "import sys" (GH-8049) (cherry picked from commit a0bb51e44cd43a7d2836a96a3804162203e44514) Co-authored-by: cclauss <cclauss@me.com> 06 January 2019, 22:32:52 UTC
be37dbf bpo-35660: Fix imports in idlelib.window (GH-11434) * bpo-35660: IDLE: Remove * import from window.py * sys was being imported through the *, so also added an import sys. * Update 2019-01-04-19-14-29.bpo-35660.hMxI7N.rst Anyone who wants details can check the issue, where I added the point about the sys import bug. (cherry picked from commit 11303dd6035a7d7f78025ce5a3e3b9bdf7380c9a) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 06 January 2019, 21:13:30 UTC
902196d bpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396) https://bugs.python.org/issue35631 (cherry picked from commit 31ec52a9afedd77e36a3ddc31c4c45664b8ac410) Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> 04 January 2019, 14:20:19 UTC
47c035f bpo-31450: Remove documentation mentioning that subprocess's child_traceback is available with the parent process (GH-11422) (cherry picked from commit 47a2fced84605a32b79aa3ebc543533ad1a976a1) Co-authored-by: Harmandeep Singh <harmandeep3091@gmail.com> 03 January 2019, 20:01:44 UTC
3c83cb7 bpo-35641: IDLE - format calltip properly when no docstring (GH-11415) (cherry picked from commit ab54b9a130c88f708077c2ef6c4963b632c132b3) Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com> 03 January 2019, 09:44:47 UTC
b364caa bpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395) (cherry picked from commit aff0adabf3ace62073076f4ce875ff568f2d3180) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 03 January 2019, 03:22:10 UTC
d7cb203 bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310) (cherry picked from commit e9a044ec16989bd4b39763c0588c17200a925350) Co-authored-by: Harmandeep Singh <harmandeep3091@gmail.com> 02 January 2019, 21:11:00 UTC
6d04bc9 closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411) (cherry picked from commit d466c43e55cd32af84e353f0e9a48b09b7534f61) Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr> 02 January 2019, 19:58:58 UTC
d634abd [3.7] Bump copyright years to 2019. (GH-11406) (cherry picked from commit 9a69ae8a78785105ded02b083b2e5cd2dd939307) 02 January 2019, 16:15:53 UTC
a5955b0 closes bpo-35623: Fix integer overflow when sorting large lists (GH-11380) There is already a `Py_ssize_t i` defined at function scope that is used for similar loops. By removing the local `int i` declaration that `i` is used, which has the appropriate type. (cherry picked from commit f8b534477a2a51d85ea1663530f685f805f2b247) Co-authored-by: sth <sth.dev@tejp.de> 02 January 2019, 02:25:23 UTC
513fab2 closes bpo-35630: Use code tag for 'python3' in 'README.rst' (GH-11394) (cherry picked from commit 7e3fb40b923cb09ecc67816d3191197868593737) Co-authored-by: Suriyaa ✌️️ <isc.suriyaa@gmail.com> 02 January 2019, 02:03:53 UTC
74e4648 bpo-35598: IDLE - Globalize some config_key objects (GH-11392) Move translate_key() and constant tuples to module level. Inline the remnant one-line function. (cherry picked from commit b4ea8bb080f63ef27682f3f9bbaa4d12a83030b1) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 31 December 2018, 20:19:53 UTC
efcf08d [3.7] bpo-35214: Annotate posix calls for clang MSan. (GH-11389) (GH-11391) It doesn't know the details of a few less common libc functions.. (cherry picked from commit 1d300ce1d8238136595c8fea76266a4755cd73a2) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google] 31 December 2018, 06:14:33 UTC
75bf2b1 Fix typo in test module usage message (GH-11374) A minor typo in the output of `python -m test -h`. A space was missing in between two words. howmuch -> how much (cherry picked from commit 7108aab49c2b6d6d81766c354f9a809278e03d4c) Co-authored-by: sth <sth.dev@tejp.de> 31 December 2018, 05:59:08 UTC
5d2e4b1 bpo-35214: Skip test_io tests that'd cause a huge malloc under msan (GH-11385) * skip test_constructor under msan. * fix the others as well. * reuse existing related news entry. * typo fix (cherry picked from commit e5796c42c687e1454e84dcc50e6f67db48ff69a0) Co-authored-by: Gregory P. Smith <greg@krypto.org> 31 December 2018, 04:39:28 UTC
89e7979 Fix typos in test_faulthandler skipIfs for ubsan. (GH-11386) (cherry picked from commit d6f45b23a59de5782ba38d3c698da9c08aaca11b) Co-authored-by: Gregory P. Smith <greg@krypto.org> 31 December 2018, 04:34:03 UTC
d823443 bpo-35550: Fix incorrect Solaris define guards (GH-11275) Python source code uses on several places ifdef sun or defined(sun) without the underscores, which is not standard compliant and shouldn't be used. Defines should check for __sun instead. Reference: http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_systemGH-Solaris https://bugs.python.org/issue35550 (cherry picked from commit 6f9bc72c79c3262e5d0f2c0e96b016477399cfb1) Co-authored-by: Jakub Kulík <Kulikjak@gmail.com> 31 December 2018, 02:39:00 UTC
e404299 Cleanup test_faulthandler sanitizer skip logic. (GH-11381) Also skip the same tests when using the undefined behavior sanitizer as they much with the output. Updates a regex in another test to use multi-line mode so that the ubsan buildbot should pass again rather than also adding a skip to that one. (cherry picked from commit 30e023256aa1b00d4c783553752fc6f2cc0b9b27) Co-authored-by: Gregory P. Smith <greg@krypto.org> 31 December 2018, 02:28:11 UTC
a144fee bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373) (GH-11376) Use crypt_r() when available instead of crypt() in the crypt module. As a nice side effect: This also avoids a memory sanitizer flake as clang msan doesn't know about crypt's internal libc allocated buffer. (cherry picked from commit 387512c7ecde6446f2e29408af2e16b9fc043807) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google] 31 December 2018, 01:59:52 UTC
01b9664 bpo-35214: MSan workarounds for socket, time, and test_faulthandler. (GH-11375) (GH-11378) Add Clang Memory Sanitizer build instrumentation to work around false positives from the socket and time modules as well as skipping a couple test_faulthandler tests. (cherry picked from commit b474e6774d60fa67d5373e361a0ed53c18b24f53) Co-authored-by: Gregory P. Smith <greg@krypto.org> 31 December 2018, 01:59:19 UTC
c74061d Fix typo in documentation of AbstractEventLoopPolicy.set_child_watcher() (GH-11369) `set_child_watcher()` *sets* the watcher. (cherry picked from commit 1b29c03c95dbffa05f2bac0f8f1a36b21606a504) Co-authored-by: sth <sth.dev@tejp.de> 30 December 2018, 22:07:05 UTC
d2694d4 bpo-35598: IDLE: Switch config_key dialog to ttk widgets (GH-11365) (cherry picked from commit 4bd79c38efe3cc0a3c724605cf9474e2d1b6b6e2) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 30 December 2018, 20:30:09 UTC
34aadec bpo-35598: IDLE: Increase test coverage for config_key.py (GH-11360) (cherry picked from commit b0a6196ffd58ff91462191f426706897dc920eee) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 30 December 2018, 04:39:27 UTC
fe06646 bpo-35602: Make sure the transport is always closed in SelectorEventLoopUnixSockSendfileTests (GH-11338) There is a race condition in SelectorEventLoopUnixSockSendfileTests that causes the prepare() method return a non connected server protocol, making the cleanup() method skips the correct handling of the transport. This commit makes prepare() always return a connected server protocol that can always be cleaned up correctly. (cherry picked from commit d51324a2f5d172665f8824b25456c9822797fc84) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 29 December 2018, 19:38:24 UTC
0f756f7 Make sure file object is close if socket.create_connection fails (GH-11334) The problem affects _testWithTimeoutTriggeredSend in test_socket.py. (cherry picked from commit 1f511e1af060e98fb789319a96076c06e7f98135) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 29 December 2018, 02:12:39 UTC
8f9228d bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH-11337) There is a race condition regarding signal delivery in test_signal_handling_args for test_asyncio.test_events.KqueueEventLoopTests. The signal can be received at any moment outside the time window provided in the test. The fix is to wait for the signal to be received instead with a bigger timeout. (cherry picked from commit 5471420faa84519530f29b08f2b042b2288e3e96) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 29 December 2018, 02:01:00 UTC
95dc457 bpo-34055: Revert deletion of line in IDLE's PyShell (GH-11346) The attribute is still used in other modules. (cherry picked from commit 4bc246786f003cdf1fffb3403b4cd92fc42ba9ef) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 29 December 2018, 01:19:32 UTC
b716c71 bpo-28097: IDLE - Add Previous/Next History to Shell menu (GH-11325) (cherry picked from commit c0381aaea4ad3e866bde70393c4f7efe9bcf3568) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 28 December 2018, 20:29:44 UTC
61775c3 IDLE: Create function to update menu item state. (GH-11343) This will be needed for other menu items. Change outwin to call the function instead of updating the menu item directly. (cherry picked from commit 804a5d94b6b7f8cb8546112aee2bc3af362f28f5) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 28 December 2018, 18:29:06 UTC
098bb24 bpo-35591: IDLE Find Selection now works when selection not found (GH-11339) (cherry picked from commit c465682718f15cd3deb6b37db5fb607718ac64ed) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 December 2018, 10:31:34 UTC
back to top