Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
9b46586 Doc: recursive glob ** follows symlinks to directories (GH-12918) (cherry picked from commit e24594bfe75aff3e654665cb940ddc4d4acffd2f) Co-authored-by: Marc <Marc.Herbert+github@gmail.com> 11 September 2019, 17:28:16 UTC
c112faf bpo-37750: Add doc of PyBuffer_FromContiguous (GH-15988) (GH-15991) https://bugs.python.org/issue37750 Automerge-Triggered-By: @matrixise (cherry picked from commit 5a56ce4a0e820fefcd598b94715a7ff7e199858d) Co-authored-by: Hai Shi <shihai1992@gmail.com> 11 September 2019, 17:10:23 UTC
d126fbd bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15974) Before, running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) would produce a warning: ``` $ python3 -m venv test $ source test/bin/activate (test) $ deactivate -bash: $1: unbound variable ``` (cherry picked from commit 5209e586b7cac9a43b2c44349a26b1b0af06ead3) Co-authored-by: Daniel Abrahamsson <hamsson@gmail.com> 11 September 2019, 15:56:27 UTC
195dc14 bpo-33187: Document ElementInclude (XInclude) support in ElementTree (GH-8861) (GH-15972) (cherry picked from commit 97b817eae34b77be1ced382e15098a112f547848) Co-authored-by: Anjali Bansal <anjali.mca17.du@gmail.com> 11 September 2019, 15:36:41 UTC
8a19a91 bpo-36634: Fixes activate.bat when existing values contain double quotes (GH-15924) (cherry picked from commit 574b324bdc9a126b5a4488c3613f11ad2555415e) Co-authored-by: Steve Dower <steve.dower@python.org> 11 September 2019, 15:23:07 UTC
e58e18d [3.7] Turn off AppVeyor CI (GH-15929) (GH-15943) (cherry picked from commit 6f55b0394bce8e64a59c61f465fec8079a00e55c) 11 September 2019, 14:39:52 UTC
c211939 bpo-36919: make test_source_encoding.test_issue2301 implementation-independent (GH-13639) (GH-15953) * bpo-36919: make test_issue2301 implementation-independent (cherry picked from commit b6643dcfc26859f935e4b3a6a2a203e8ef5320e2) Co-authored-by: Pavel Koneski <pavel.koneski@gmail.com> 11 September 2019, 14:36:36 UTC
4c2fa5c bpo-33459: Fix "tuple displays" term in Expressions.rst (GH-6760) (GH-15939) https://bugs.python.org/issue33459 Automerge-Triggered-By: @matrixise (cherry picked from commit dc269971091710563a0d730a0d4b084901826c15) Co-authored-by: Andre Delfino <adelfino@gmail.com> 11 September 2019, 13:37:49 UTC
0fd8c05 bpo-35649: update http client example (GH-11441) (GH-15931) (cherry picked from commit 62cf6981425c6a6b136c5e2abef853364f535e9d) Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com> 11 September 2019, 13:13:55 UTC
f3480ad [3.8] bpo-37409: fix relative import with no parent (GH-14956) (GH-15913) Relative imports use resolve_name to get the absolute target name, which first seeks the current module's absolute package name from the globals: If __package__ (and __spec__.parent) are missing then import uses __name__, truncating the last segment if the module is a submodule rather than a package __init__.py (which it guesses from whether __path__ is defined). The __name__ attempt should fail if there is no parent package (top level modules), if __name__ is '__main__' (-m entry points), or both (scripts). That is, if both __name__ has no subcomponents and the module does not seem to be a package __init__ module then import should fail.. (cherry picked from commit 92420b3e679959a7d0ce875875601a4cee45231e) Co-authored-by: Ben Lewis <benjimin@users.noreply.github.com> (cherry picked from commit 0a6693a469cfb1dd5c8048d8cb4231a7b5883251) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> 11 September 2019, 12:50:14 UTC
aca878e [3.7] bpo-35168: Make shlex.punctuation_chars read-only (GH-11631) (GH-15926) (cherry picked from commit 972cf5c06a5ba16ad243a442dbb9c15307fbed95) Co-authored-by: Alex <a.v.shkop@gmail.com> 11 September 2019, 12:39:08 UTC
99f0e81 bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (GH-10638) * bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has no content-length header * Add Misc/NEWS.d/next file. * Add rst formatting for NEWS.d/next file * Reaplce assert by self.assertEqual (cherry picked from commit 2d7cacacc310b65b43e7e2de89e7722291dea6a4) Co-authored-by: Pierre Quentel <pierre.quentel@gmail.com> 11 September 2019, 12:22:38 UTC
0553369 bpo-35066: Make trailing percent test more portable. (GH-15907) Different libc implementations have different behavior when presented with trailing % in strftime strings. To make test_strftime_trailing_percent more portable, compare the output of datetime.strftime directly to that of time.strftime rather than hardcoding. (cherry picked from commit f2173ae38fa49235c3cdc28ae2ca2e19a375a596) Co-authored-by: Benjamin Peterson <benjamin@python.org> 11 September 2019, 11:51:01 UTC
d378fdb bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) (cherry picked from commit 7a0023e8d17566eb32c836b65c33663303a2224f) Co-authored-by: smokephil <smokephil@gmail.com> 11 September 2019, 10:55:29 UTC
3cd147b bpo-37585: Add clarification regarding comparing dict.values() (GH-14954) (cherry picked from commit 6472ece5a0fe82809d3aa0ffb281796fcd252d76) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 11 September 2019, 10:45:54 UTC
9210b58 bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521) (cherry picked from commit 4576b5431bd597df7581fe3c852b315e47e4b230) Co-authored-by: Anjali <anjali30malik@gmail.com> 11 September 2019, 10:41:28 UTC
5fe153c bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-14490) Fixes a possible hang when using a timeout on subprocess.run() while capturing output. If the child process spawned its own children or otherwise connected its stdout or stderr handles with another process, we could hang after the timeout was reached and our child was killed when attempting to read final output from the pipes. (cherry picked from commit 580d2782f70f8e0bed7ec20abb03d740cb83b5da) Co-authored-by: Gregory P. Smith <greg@krypto.org> 11 September 2019, 10:05:58 UTC
2a8560a bpo-38034: Fix typo in logging.handlers.rst (GH-15708) (GH-15894) (cherry picked from commit efd5741ae953e50a6654e04cf731da86a1307296) Co-authored-by: wwuck <301402+wwuck@users.noreply.github.com> 11 September 2019, 06:56:50 UTC
e0a1561 bpo-37574: Mention helper functions for find_spec documentation (GH-14739) (cherry picked from commit 9cbb97b29eac4b23e916a3233f26b60ac69e335b) Co-authored-by: jdkandersson <51036209+jdkandersson@users.noreply.github.com> 10 September 2019, 17:16:03 UTC
6a494e7 bpo-38089: Move Azure Pipelines to latest VM versions and make macOS tests optional (GH-15851) 10 September 2019, 17:06:38 UTC
14514b6 Docs: Small tweaks to c-api/introGH-Include_Files (GH-14698) (cherry picked from commit b6dafe51399f5c6313a00529118a6052b466942f) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 10 September 2019, 16:40:32 UTC
075a441 Correct info about "f.read(size)". (GH13852) In text mode, the "size" parameter indicates the number of characters, not bytes. (cherry picked from commit faff81c05f838b0b7a64bbc8c53c02a9b04bb79d) Co-authored-by: William Andrea <william.j.andrea@gmail.com> 10 September 2019, 16:02:40 UTC
494b61a [3.7] bpo-37531: Enhance regrtest multiprocess timeout (GH-15345) (GH-15874) bpo-37531: Enhance regrtest multiprocess timeout (GH-15345) * Write a message when killing a worker process * Put a timeout on the second popen.communicate() call (after killing the process) * Put a timeout on popen.wait() call * Catch popen.kill() and popen.wait() exceptions (cherry picked from commit de2d9eed8bc628533e1628b843cc4c7a5010f6e5) 10 September 2019, 15:54:40 UTC
816825e bpo-33602: Doc: Remove set and queue references from Data Types (GH-7055) (GH-15876) (cherry picked from commit 912108891db52c2067889be1f4ce5713839807cd) Co-authored-by: Andre Delfino <adelfino@gmail.com> 10 September 2019, 15:43:11 UTC
756eb84 bpo-37913: document that __length_hint__ can return NotImplemented (GH-15383) (cherry picked from commit ed99bb9ca68b37cfaec3629afa67d70289f3ffc7) Co-authored-by: Steve Dower <steve.dower@python.org> 10 September 2019, 14:57:16 UTC
9f54fea Fix subprocess docstring typo (GH-15812) (cherry picked from commit 182e1d1f849757439f2031504f142fa4e1251611) Co-authored-by: Matthias <xmatthias@outlook.com> 10 September 2019, 14:48:22 UTC
aa3b629 bpo-37913: document that __length_hint__ can return NotImplemented (GH-15383) 10 September 2019, 14:41:58 UTC
4fbe0ee Fix calling order of PyEval_InitThreads. (GH-5833) As described in Doc/c-api/init.rst, PyEval_InitThreads() cannot be called before Py_Initialize() function. (cherry picked from commit 9e61066355b4b55c873d56f5f106a22463b56862) Co-authored-by: Kenta Murata <mrkn@users.noreply.github.com> 10 September 2019, 14:37:34 UTC
0fccd4a bpo-38088: Fixes distutils not finding vcruntime140.dll with only v142 toolset installed (GH-15849) 10 September 2019, 14:18:02 UTC
0d7e6a6 bpo-38087: Fix case sensitivity in test_pathlib and test_ntpath (GH-15850) 10 September 2019, 14:17:42 UTC
d94b762 closes bpo-25461: Update os.walk() docstring to match the online docs. (GH-11836) (cherry picked from commit 734f1202a50641eb2c4bfbcd5b75247c1dc99a8f) Co-authored-by: Bernt Røskar Brenna <bernt.brenna@gmail.com> 10 September 2019, 13:34:03 UTC
122bbf7 bpo-21018: added missing documentation about escaping characters for configparser (GH-6137) (GH-15845) Document how $ and % can be escaped in configparser. (cherry picked from commit 9a94093189417adddd6b59d6c80cc5544630c8aa) Co-authored-by: Arun Persaud <arun@nubati.net> 10 September 2019, 13:32:42 UTC
61f34f9 bpo-34720: Fix test_importlib.test_bad_traverse for AIX (GH-14238) 10 September 2019, 13:30:18 UTC
9cbf43a Fix typo in dict object comment (GH-15814) (cherry picked from commit 359143c68659d165f52320d368667e0eff279dc5) Co-authored-by: dalgarno <32097481+dalgarno@users.noreply.github.com> 10 September 2019, 10:15:43 UTC
b4fb2c2 bpo-35941: Fix performance regression in SSL certificate code (GH-12610) Accumulate certificates in a set instead of doing a costly list contain operation. A Windows cert store can easily contain over hundred certificates. The old code would result in way over 5,000 comparison operations Signed-off-by: Christian Heimes <christian@python.org> 10 September 2019, 08:46:40 UTC
64947dc bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818) This only happened when initializing the subprocess to run a module. This recent bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4. (cherry picked from commit c59295a1ca304f37ca136dd7efca9e560db27d28) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 10 September 2019, 03:33:24 UTC
2366933 bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) (GH-15789) weakref.WeakValueDictionary defines a local remove() function used as callback for weak references. This function was created with a closure. Modify the implementation to avoid the closure. (cherry picked from commit a2af05a0d3f0da06b8d432f52efa3ecf29038532) 09 September 2019, 22:31:20 UTC
12228ce [3.7] bpo-34293: Fix PDF documentation paper size (GH-8585) (GH-15817) The "A4" pdfs were previously the wrong size due to a change in the options in Sphinx 1.5. See also sphinx-doc/sphinxGH-5235. (cherry picked from commit b5381f669718aa19690f42f3b8bd88f03045b9d2) Authored-by: Jean-François B <jfbu@free.fr> 09 September 2019, 22:11:34 UTC
0a86da8 bpo-36502: Update link to UAX GH-44, the Unicode doc on the UCD. (GH-15301) The link we have points to the version from Unicode 6.0.0, dated 2010. There have been numerous updates to it since then: https://www.unicode.org/reports/tr44/GH-Modifications Change the link to one that points to the current version. Also, use HTTPS. (cherry picked from commit 64c6ac74e254d31f93fcc74bf02b3daa7d3e3f25) Co-authored-by: Greg Price <gnprice@gmail.com> 09 September 2019, 18:40:03 UTC
328cfde bpo-37649: Fix exec_prefix check (GH-14897) (cherry picked from commit 09090d04ef8d2f4c94157b852d3d530a51e13d22) Co-authored-by: Orivej Desh <orivej@gmx.fr> 09 September 2019, 18:12:00 UTC
15d263e Fix punctuation in `os.execvpe` docstring. (GH-15051) (cherry picked from commit fb6807b043ab586428225920373e551b0432bc40) Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com> 09 September 2019, 17:46:13 UTC
b4591ad bpo-35803: Document and test dir=PathLike for tempfile (GH-11644) Co-Authored-By: Ammar Askar <ammar_askar@hotmail.com> (cherry picked from commit 370138ba9c29595df773cc057d17ea26fb6f21bd) Co-authored-by: Anthony Sottile <asottile@umich.edu> 09 September 2019, 17:33:18 UTC
b7bf632 bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666) Constants added by the site module like exit() "should not be used in programs" (cherry picked from commit e3c59a75279b0df4e7553d6f0031e202de434e43) Co-authored-by: Alan Yee <alanyee@users.noreply.github.com> 09 September 2019, 15:19:13 UTC
55a6f73 bpo-32587: Fixes unsafe downcast in PC/winreg.c (GH-15766) (cherry picked from commit ef66f31ce21cd759cc0c618c5c42ba6da0a06834) Co-authored-by: Steve Dower <steve.dower@python.org> 09 September 2019, 14:25:20 UTC
472f37a bpo-37702: Fix SSL's certificate-store leak on Windows (GH-15632) ssl_collect_certificates function in _ssl.c has a memory leak. Calling CertOpenStore() and CertAddStoreToCollection(), a store's refcnt gets incremented by 2. But CertCloseStore() is called only once and the refcnt leaves 1. (cherry picked from commit ed70129e15ea028469145111044a4349960a4e6f) Co-authored-by: neonene <53406459+neonene@users.noreply.github.com> 09 September 2019, 13:40:42 UTC
64f7f6e [3.7] bpo-37589: Add a few missing dependencies on .h files in the Makefile. (GH-15757) (GH-15769) The missing dependencies prevented incremental builds from working when you touched any of these files. Based on GH-14758 by @vemakereporter.. (cherry picked from commit b4612f5d54aced5bc37f1b85bf50b4cafa2480f0) https://bugs.python.org/issue37589 Automerge-Triggered-By: @gpshead 09 September 2019, 13:38:37 UTC
d3b8a6b bpo-37283: Ensure command-line and unattend.xml setting override previously detected states in Windows installer (GH-15759) (cherry picked from commit 3a0ddbcdfcbc0f4372905fabf81e093f1b043e99) Co-authored-by: Steve Dower <steve.dower@python.org> 09 September 2019, 13:15:27 UTC
9ae9ac1 bpo-37936: Avoid ignoring files that we actually do track. (GH-15451) (GH-15748) There were about 14 files that are actually in the repo but that are covered by the rules in .gitignore. Git itself takes no notice of what .gitignore says about files that it's already tracking... but the discrepancy can be confusing to a human that adds a new file unexpectedly covered by these rules, as well as to non-Git software that looks at .gitignore but doesn't implement this wrinkle in its semantics. (E.g., `rg`.) Several of these are from rules that apply more broadly than intended: for example, `Makefile` applies to `Doc/Makefile` and `Tools/freeze/test/Makefile`, whereas `/Makefile` means only the `Makefile` at the repo's root. https://bugs.python.org/issue37936 (cherry picked from commit 5e5e9515029f70836003a8cfb30433166fcc8db7) Authored-by: Greg Price <gnprice@gmail.com> 09 September 2019, 13:10:19 UTC
58a7f80 bpo-37841: Remove python_uwp dependency on msvcp140.dll (GH-15253) (cherry picked from commit b0dace3e979381426385c551b116d0f1434096ee) Co-authored-by: Steve Dower <steve.dower@python.org> 09 September 2019, 11:41:28 UTC
c257591 bpo-37705: Improve the implementation of winerror_to_errno() (GH-15623) winerror_to_errno() is no longer automatically generated. Do not rely on the old _dosmapperr() function. Add ERROR_NO_UNICODE_TRANSLATION (1113) -> EILSEQ. (cherry picked from commit 19052a11314e7be7ba003fd6cdbb5400a5d77d96) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 09 September 2019, 10:39:19 UTC
bbf02da bpo-32587: Make winreg.REG_MULTI_SZ support zero-length strings (GH-13239) * bpo-32587: Make winreg.REG_MULTI_SZ support PendingFileRenameOperations * Address review comments. (cherry picked from commit e223ba13d8d871ee58570dfca4e82a591189cc2f) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 09 September 2019, 10:04:54 UTC
1af2c0e bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls (GH-14462) If FormatMessageW() is passed the FORMAT_MESSAGE_FROM_SYSTEM flag without FORMAT_MESSAGE_IGNORE_INSERTS, it will fail if there are insert sequences in the message definition. (cherry picked from commit a6563650c835d50f7302971a5b145e94f9d0dc68) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 09 September 2019, 09:56:03 UTC
5190b71 bpo-34410: Fix a crash in the tee iterator when re-enter it. (GH-15625) RuntimeError is now raised in this case. (cherry picked from commit 526a01467b3277f9fcf7f91e66c23321caa1245d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 September 2019, 09:11:22 UTC
021e5db bpo-36946:Fix possible signed integer overflow when handling slices. (GH-15639) This is a complement to PR 13375. (cherry picked from commit 3c87a667bb367ace1de6bd1577fdb4f66947da52) Co-authored-by: HongWeipeng <hongweichen8888@sina.com> 08 September 2019, 10:36:38 UTC
30933d5 [3.8] Correct Roman-numeral example in Unicode HOWTO. (GH-15541). (GH-15728) (cherry picked from commit 32a960f8e1015b64b4b955b3d62920c5903d4c6f) Co-authored-by: Greg Price <gnprice@gmail.com> (cherry picked from commit 3be4b107490be27470cb9a101a8dfecf446fd992) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 08 September 2019, 10:28:40 UTC
a6eac83 bpo-20806: Reference both times(2) and times(3) and link to MSDN. (GH-15479) (cherry picked from commit 3ccdbc33385a849c60a268def578cb06b8d41be6) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 07 September 2019, 07:16:27 UTC
084ba33 bpo-38041: Refine IDLE Shell restart lines. (GH-15709) Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user. (cherry picked from commit 38da805d563422cf1bb9cd9be24c73806840fe30) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 06 September 2019, 18:19:30 UTC
1e2707d bpo-37380: subprocess: don't use _active on win (GH-14360) (GH-15706) As noted by @eryksun in [1] and [2], using _cleanup and _active(in __del__) is not necessary on Windows, since: > Unlike Unix, a process in Windows doesn't have to be waited on by > its parent to avoid a zombie. Keeping the handle open will actually > create a zombie until the next _cleanup() call, which may be never > if Popen() isn't called again. This patch simply defines `subprocess._active` as `None`, for which we already have the proper logic in place in `subprocess.Popen.__del__`, that prevents it from trying to append the process to the `_active`. This patch also defines `subprocess._cleanup` as a noop for Windows. [1] https://bugs.python.org/issue37380GH-msg346333 [2] https://bugs.python.org/issue36067GH-msg336262 Signed-off-by: Ruslan Kuprieiev <ruslan@iterative.ai> (cherry picked from commit 042821ae3cf537e01963c9ec85d1a454d921e826) Co-authored-by: Ruslan Kuprieiev <kupruser@gmail.com> 06 September 2019, 09:14:24 UTC
256f03b Correct minor gramatical mistake in sys.settrace doc (GH-15637) (cherry picked from commit 3038e87ba848023470f571242a8bb5a206c24430) Co-authored-by: Andre Delfino <adelfino@gmail.com> 05 September 2019, 11:31:50 UTC
16af39a bpo-37902: IDLE: Add scrolling for IDLE browsers. (GH-15368) Modify the wheel event handler so it can also be used for module, path, and stack browsers. Patch by George Zhang. (cherry picked from commit 2cd902585815582eb059e3b40e014ebe4e7fdee7) Co-authored-by: GeeTransit <geetransit@gmail.com> 05 September 2019, 01:58:22 UTC
8873bff [3.7] bpo-22347: Update mimetypes.guess_type to allow proper parsing of URLs (GH-15522) (GH-15687) https://bugs.python.org/issue22347 (cherry picked from commit 87bd2071c756188b6cd577889fb1682831142ceb) https://bugs.python.org/issue22347 Automerge-Triggered-By: @maxking 05 September 2019, 01:16:39 UTC
b4f6e44 Fix idlelib.help comments (GH-15669) (cherry picked from commit 6cd9666ce93658ae91f07b396aa6932b362a61d3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 05 September 2019, 00:41:45 UTC
6b8121a Fix grammar in asyncio-dev.rst (GH-15672) Automerge-Triggered-By: @ned-deily (cherry picked from commit 675d17cec49ed7f7eb01d1bc3ae6999c728e070d) Co-authored-by: Roger Iyengar <ri@rogeriyengar.com> 04 September 2019, 06:13:24 UTC
52fd661 bpo-38022: IDLE: upgrade help.html to sphinx 2.x HTML5 output (GH-15664) The HTML5 output from Sphinx 2.x adds '<p>' tags within list elements. Using a new prevtag attribute, ignore these instead of emitting unwanted '\n\n'. Also stop looking for 'first' classes on tags (no longer present) and fix the bug of double-spacing instead of single spacing after <pre> blocks. (cherry picked from commit 580bdb0ece681537eadb360f0c796123ead7a559) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 03 September 2019, 21:09:57 UTC
ea21389 [3.7] bpo-37764: Fix infinite loop when parsing unstructured email headers. (GH-15239) (GH-15654) …aders. (GH-15239) Fixes a case in which email._header_value_parser.get_unstructured hangs the system for some invalid headers. This covers the cases in which the header contains either: - a case without trailing whitespace - an invalid encoded word https://bugs.python.org/issue37764 This fix should also be backported to 3.7 and 3.8 https://bugs.python.org/issue37764 (cherry picked from commit c5b242f87f31286ad38991bc3868cf4cfbf2b681) Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com> https://bugs.python.org/issue37764 03 September 2019, 16:42:53 UTC
4805805 bpo-35771: IDLE: Fix flaky tool-tip hover delay tests (GH-15634) Extending the hover delay in test_tooltip should avoid spurious test_idle failures. One longer delay instead of two shorter delays results in a net speedup. (cherry picked from commit 132acaba5a7f01373ca624b1a5975b190fe866f5) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 03 September 2019, 05:35:19 UTC
ebe709d bpo-36853: Fix suspicious.py to actually print the unused rules (#13579) (#15653) * Fix suspicious.py to actually print the unused rules * Fix the other `self.warn` calls (cherry picked from commit e1786b54162e2bfb01ca5aafa19d596c4af5a803) 02 September 2019, 19:17:18 UTC
9a28400 IDLE: Fix 2 typos found by Min ho Kim. (GH-15617) (cherry picked from commit 15119bc2a7e902ae1c6988556c3bef3de87fa789) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 30 August 2019, 20:34:48 UTC
8ba8cc5 bpo-37979: Add alternative to fromisoformat in documentation (GH-15596) Adds a link to `dateutil.parser.isoparse` in the documentation. It would be nice to set up intersphinx for things like this, but I think we can leave that for a separate PR. CC: @pitrou [bpo-37979](https://bugs.python.org/issue37979) https://bugs.python.org/issue37979 Automerge-Triggered-By: @pitrou (cherry picked from commit 59725f3badb3028636c8906ecac4ceb0a37f3982) Co-authored-by: Paul Ganssle <paul@ganssle.io> 29 August 2019, 14:54:04 UTC
6b50c10 bpo-37372: Fix error unpickling datetime.time objects from Python 2 with seconds>=24. (GH-14307) (cherry picked from commit 122376df550b71dd3bec0513c7483cc1714212fa) Co-authored-by: Justin Blanchard <UncombedCoconut@gmail.com> 29 August 2019, 07:57:41 UTC
d3d2650 bpo-37950: Fix ast.dump() when call with incompletely initialized node. (GH-15510) (cherry picked from commit e64f948e762a6b9fd02e2902ccf42438df6fcb61) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 29 August 2019, 07:04:44 UTC
be310e0 bpo-36871: Ensure method signature is used when asserting mock calls to a method (GH15577) * Fix call_matcher for mock when using methods * Add NEWS entry * Use None check and convert doctest to unittest * Use better name for mock in tests. Handle _SpecState when the attribute was not accessed and add tests. * Use reset_mock instead of reinitialization. Change inner class constructor signature for check * Reword comment regarding call object lookup logic (cherry picked from commit c96127821ebda50760e788b1213975a0d5bea37f) Co-authored-by: Xtreak <tir.karthi@gmail.com> 29 August 2019, 06:57:37 UTC
409493d bpo-36167: fix an incorrect capitalization (GH-14482) (cherry picked from commit 3aa48b88c7485aca1fdfa54b3d8e53931ff067fd) Co-authored-by: avinassh <avinassh@users.noreply.github.com> 29 August 2019, 05:49:20 UTC
554143e bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename (GH-14736) (cherry picked from commit b0caf329815120acf50287e29858093d328b0e3c) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> 29 August 2019, 04:52:43 UTC
e72dcaa Fix typo: Pyssize_t => Py_ssize_t (GH-15411) (#15520) (cherry picked from commit b3b9619f5e1e7ebe3fbb73eae4ec878312056a90) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 28 August 2019, 18:54:57 UTC
ea48966 closes bpo-37965: Fix compiler warning of distutils CCompiler.test_function. (GH-15560) https://bugs.python.org/issue37965 https://bugs.python.org/issue37965 Automerge-Triggered-By: @benjaminp (cherry picked from commit 55aabee07501e1468082b3237620e4ecd75c5da6) Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> 28 August 2019, 17:37:38 UTC
2f0440e bpo-37936: Remove some .gitignore rules that were intended locally. (GH-15542) These appeared in commit c5ae169e1. The comment on them, as well as the presence among them of a rule for the .gitignore file itself, indicate that the author intended these lines to remain only in their own local working tree -- not to get committed even to their own repo, let alone merged upstream. They did nevertheless get committed, because it turns out that Git takes no notice of what .gitignore says about files that it's already tracking... for example, this .gitignore file itself. Give effect to these lines' original intention, by deleting them. :-) Git tip, for reference: the `.git/info/exclude` file is a handy way to do exactly what these lines were originally intended to do. A related handy file is `~/.config/git/ignore`. See gitignore(5), aka `git help ignore`, for details. https://bugs.python.org/issue37936 Automerge-Triggered-By: @zware (cherry picked from commit 8c9e9b0cd5b24dfbf1424d1f253d02de80e8f5ef) Co-authored-by: Greg Price <gnprice@gmail.com> 27 August 2019, 18:41:38 UTC
1bf672f bpo-36205: Fix the rusage implementation of time.process_time() (GH-15538) (cherry picked from commit 8bf5fef8737fdd12724b9340d76a4ed391c4ad8a) Co-authored-by: vrajivk <3413293+vrajivk@users.noreply.github.com> 27 August 2019, 04:31:27 UTC
31ce015 Fix an invalid assertEqual() call in test_descr.py (GH-15318) (cherry picked from commit 6b2e3256b6752055498f41f343fb22100845bc9d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 26 August 2019, 22:59:18 UTC
b4e83a3 Remove leftovers from the times when long long wasn't required (GH-15501) (GH-15517) In a38e9d139929a227e3899fbb638bc46c6cc6d8ba pyconfig.h.in was manually edited and that edit was overwritten when running autoreconf. (cherry picked from commit 52c1a6a15a471f75b775309ed1120d05f69010ca) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 26 August 2019, 22:35:06 UTC
c1c1a33 [3.7] bpo-37664: Update ensurepip bundled wheels, again (GH-15483) (GH-15529) https://bugs.python.org/issue37664 Automerge-Triggered-By: @zooba 26 August 2019, 19:19:53 UTC
c238862 bpo-36917: Backport basic test for ast.NodeVisitor. (GH-15511) 26 August 2019, 11:48:55 UTC
a976283 bpo-37805: Add tests for json.dump(..., skipkeys=True) (GH-15489) https://bugs.python.org/issue37805 Automerge-Triggered-By: @methane (cherry picked from commit 44cd86bbdddb1f7b05deba2c1986a1e98f992429) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 26 August 2019, 07:36:36 UTC
1b15914 bpo-37824: Properly handle user input warnings in IDLE shell. (GH-15500) Cease turning SyntaxWarnings into SyntaxErrors. (cherry picked from commit 1039f39c9c6edb4c185856c19316d3a4eb561c38) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 26 August 2019, 06:53:38 UTC
ae31b64 Doc: Keep the venv/* exclude pattern. (GH-15229) In case it has been previously created. (cherry picked from commit 73e054970193fc421c533564a4189be522f9c331) Co-authored-by: Julien Palard <julien@palard.fr> 26 August 2019, 06:19:58 UTC
31ea447 bpo-29553: Fix ArgumentParser.format_usage() for mutually exclusive groups (GH-14976) Co-authored-by: Andrew Nester <andrew.nester.dev@gmail.com> Co-authored-by: Flavian Hautbois <flavianh@sicara.com> (cherry picked from commit da27d9b9dc44913ffee8f28d9638985eaaa03755) 25 August 2019, 21:30:49 UTC
f2b468d bpo-37929: IDLE: avoid Squeezer-related config dialog crashes (GH-15452) These were caused by keeping around a reference to the Squeezer instance and calling it's load_font() upon config changes, which sometimes happened even if the shell window no longer existed. This change completely removes that mechanism, instead having the editor window properly update its width attribute, which can then be used by Squeezer. (cherry picked from commit d4b4c00b57d24f6ee2cf3a96213406bb09953df3) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 25 August 2019, 06:17:19 UTC
e6802d8 Fix typo and rearrange words in IDLE news item (GH-15471) Redo of GH-15402 by GeeTransit and Kyle Stanley. (cherry picked from commit 0dfc025cccc5adf4f209e2421c7686b1e637eeae) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 24 August 2019, 21:44:22 UTC
d9140a2 Clarify argument types in datetime docs. (GH-15459) "Arguments may be integers... " could be misunderstand as they also could be strings. New wording makes it clear that arguments have to be integers. modified: Doc/library/datetime.rst Automerge-Triggered-By: @pganssle (cherry picked from commit c5218fce02d6bd7bb343db20c8f14e8d9640783a) Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com> 24 August 2019, 19:58:14 UTC
799e4e5 [3.7] bpo-37461: Fix typo (inifite -> infinite) (GH-15430) 24 August 2019, 04:30:25 UTC
8f2606b Fix funny typo in Doc/bugs. (GH-15412) Fix typo in description of link to mozilla bug report writing guidelines. Though the URL is misleading, we're indeed trying to write bug _reports_, not to add bugs. Automerge-Triggered-By: @ned-deily (cherry picked from commit e17f201cd9293f16593cc507d86f2c0e17b8f2c9) Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com> 24 August 2019, 04:15:56 UTC
f8dc3e8 bpo-37549: os.dup() fails for standard streams on Windows 7 (GH-15389) (cherry picked from commit 5be666010e4df65dc4d831435cc92340ea369f94) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 23 August 2019, 19:01:38 UTC
8fac472 Fix _PyTime_MIN/MAX values (GH-15384) _PyTime_t type is defined as int64_t, and so min/max are INT64_MIN/INT64_MAX, not PY_LLONG_MIN/PY_LLONG_MAX. (cherry picked from commit 8e76c456226438f2e4931ce7baf05ac8faae34a1) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 23 August 2019, 15:56:51 UTC
1b1796d [3.7] bpo-37915: Fix comparison between tzinfo objects and timezone objects (GH-15390) (GH-15417) https://bugs.python.org/issue37915 Automerge-Triggered-By: @pablogsal. (cherry picked from commit 4be11c009abe88175fa164b45e4838e7267dfa97) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 23 August 2019, 10:12:31 UTC
d0da97d bpo-27961: Remove leftovers from the times when long long wasn't required (GH-15388) (cherry picked from commit a38e9d139929a227e3899fbb638bc46c6cc6d8ba) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 22 August 2019, 16:06:08 UTC
735a960 bpo-36311: Fixes decoding multibyte characters around chunk boundaries and improves decoding performance (GH-15083) (cherry picked from commit 7ebdda0dbee7df6f0c945a7e1e623e47676e112d) Co-authored-by: Steve Dower <steve.dower@python.org> 21 August 2019, 23:55:57 UTC
c5bba85 bpo-37482: Fix email address name with encoded words and special chars (GH-14561) Special characters in email address header display names are normally put within double quotes. However, encoded words (=?charset?x?...?=) are not allowed withing double quotes. When the header contains a word with special characters and another word that must be encoded, the first one must also be encoded. In the next example, the display name in the From header is quoted and therefore the comma is allowed; in the To header, the comma is not within quotes and not encoded, which is not allowed and therefore rejected by some mail servers. From: "Foo Bar, France" <foo@example.com> To: Foo Bar, =?utf-8?q?Espa=C3=B1a?= <foo@example.com> https://bugs.python.org/issue37482 (cherry picked from commit df0c21ff46c5c37b6913828ef8c7651f523432f8) Co-authored-by: bsiem <52461103+bsiem@users.noreply.github.com> 21 August 2019, 23:21:48 UTC
fb3d742 Update asyncio.ensure_future() documentation (GH-15347) (GH-15361) Added back mention that ensure_future actually scheduled obj. This documentation just mentions what ensure_future returns, so I did not realize that ensure_future also schedules obj. (cherry picked from commit 092911d5c0d8f6db8a0cb02fecd73dbb650f9e2e) Co-authored-by: Roger Iyengar <ri@rogeriyengar.com> 21 August 2019, 17:01:53 UTC
72088d5 bpo-37823: Fix open() link in telnetlib doc (GH-15281) Fixed wrong link to Telnet.open() method in telnetlib documentation. (cherry picked from commit e0b6117e2723327d6741d0aa599408514add5b30) Co-authored-by: Michael Anckaert <michael.anckaert@sinax.be> 21 August 2019, 11:38:25 UTC
b9d88e7 bpo-35518: Skip test that relies on a deceased network service. (GH-15349) If this service had thoroughly vanished, we could just ignore the test until someone gets around to either recreating such a service or redesigning the test to somehow work locally. The `support.transient_internet` mechanism catches the failure to resolve the domain name, and skips the test. But in fact the domain snakebite.net does still exist, as do its nameservers -- and they can be quite slow to reply. As a result this test can easily take 20-30s before it gets auto-skipped. So, skip the test explicitly up front. (cherry picked from commit 5b95a1507e349da5adae6d2ab57deac3bdd12f15) Co-authored-by: Greg Price <gnprice@gmail.com> 21 August 2019, 04:11:25 UTC
back to top