https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
97dc375 bpo-25438: document what codec PyMemberDef T_STRING decodes the char * as (GH-10580) Source of T_STRING: https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Python/structmember.cGH-L51 Source of PyUnicode_FromString https://github.com/python/cpython/blob/master/Include/unicodeobject.hGH-L702 https://bugs.python.org/issue25438 (cherry picked from commit 689d555ec135d4115574addd063c358ac4897cc4) Co-authored-by: Windson yang <wiwindson@outlook.com> 17 November 2018, 19:17:04 UTC
f415aa1 Add --tempdir option for test run (GH-10322) (cherry picked from commit 38df97a03c5102e717a110ab69bff8e5c9ebfd08) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 17 November 2018, 12:31:47 UTC
3a600d2 bpo-35202: Remove more unused imports in idlelib (GH-10573) (cherry picked from commit 5a087d5401e6956cf4c6d95f15fedabf39a4f5af) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com> 17 November 2018, 06:48:40 UTC
0ee5409 Add a missed PyErr_NoMemory() in symtable_new(). (GH-10576) This missed PyErr_NoMemory() could cause a SystemError when calling _symtable.symtable(). (cherry picked from commit ad65f15581173542f1d2a9968a63bee272510ce3) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 16 November 2018, 16:31:47 UTC
0461c3b bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565) (cherry picked from commit 4edeaeac4c194ba5d09187640b5cfca5e03be617) Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com> 16 November 2018, 13:55:14 UTC
be34cb2 Fix outdated info in datamodel about dicts (GH-9807) (cherry picked from commit a48e0eb9673ec96d1decb8a230331533cfb6138b) Co-authored-by: wim glenn <wim.glenn@gmail.com> 16 November 2018, 12:20:03 UTC
1b80a37 bpo-33816: Remove outdated metaclass example (GH-7566) (cherry picked from commit c2ccac7b9f9a1132ca36255b0ddfeecef4371aa3) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 16 November 2018, 11:51:20 UTC
d2be9a5 bpo-35239: _PySys_EndInit() copies module_search_path (GH-10532) * The _PySys_EndInit() function now copies the config->module_search_path list, so config is longer modified when sys.path is updated. * config->warnoptions list and config->xoptions dict are also copied * test_embed: InitConfigTests now also tests main_config['module_search_path'] * Fix _Py_InitializeMainInterpreter(): don't use config->warnoptions but sys.warnoptions to decide if the warnings module should be imported at startup. (cherry picked from commit 37cd982df02795905886ab36a2378ed557cb6f60) Co-authored-by: Victor Stinner <vstinner@redhat.com> 16 November 2018, 11:34:35 UTC
579c417 bpo-35213: Where appropriate, use 'macOS' in idlelib. (GH-10478) (cherry picked from commit b65413b497a07f521d835b799be7dd0afcedbd65) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 15 November 2018, 19:31:31 UTC
b5ea5e5 Fix a possible reference leak in _socket.getaddrinfo(). (GH-10543) "single" needs to be decrefed if PyList_Append() fails. (cherry picked from commit 4c596d54aa6a55e9d2a3db78891e656ebbfb63c8) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 15 November 2018, 09:25:34 UTC
b6b56b4 Fix typo in asynchronous generator iterator documentation (GH-10542) Remove an unnecessary "that": ... will execute that the body ... -> ... will execute the body ... (cherry picked from commit 25221b328339fb1726b58742e91b6e49c178023a) Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com> 15 November 2018, 06:20:16 UTC
9ee1d42 bpo-35233: InitConfigTests tests more config vars (GH-10541) (GH-10546) test_embed.InitConfigTests tests more configuration variables. Changes: * InitConfigTests tests more core configuration variables: * base_exec_prefix * base_prefix * exec_prefix * home * module_search_path_env * prefix * "_testembed init_from_config" tests more variables: * argv * warnoptions * xoptions * Py_HasFileSystemDefaultEncoding value is no longer tested since it depends on the LC_CTYPE locale and the platform. * InitConfigTests: add check_global_config(), check_core_config() and check_main_config() subfunctions to cleanup the code. Move also constants at the class level (ex: COPY_MAIN_CONFIG). * Use more macros in _PyCoreConfig_AsDict() and _PyMainInterpreterConfig_AsDict() to reduce code duplication. * Other minor cleanups. (cherry picked from commit 01de89cb59107d4f889aa503a1c0350dae4aebaf) 14 November 2018, 17:58:01 UTC
9053d2f [3.7] bpo-32613: Update window FAQ (GH-5552). (GH-10544) (cherry picked from commit 64313478bcbd0a708c3ce5d4d14f977da56e4be9) Co-authored-by: Julien Palard <julien@palard.fr> https://bugs.python.org/issue32613 14 November 2018, 17:17:35 UTC
bc09ee8 bpo-35233: Fix test_embed.InitConfigTests on macOS (GH-10539) On macOS and Windows, Py_HasFileSystemDefaultEncoding is 1 by default. 14 November 2018, 10:36:47 UTC
88cbea4 bpo-35233: Fix _PyMainInterpreterConfig_Copy() (GH-10537) Fix _PyMainInterpreterConfig_Copy(): copy 'install_signal_handlers' attribute 14 November 2018, 01:45:25 UTC
35c28d5 [3.7] bpo-35233: Rewrite test_embed.InitConfigTests (GH-10524) (GH-10529) * Add C functions: * _Py_GetGlobalVariablesAsDict() * _PyCoreConfig_AsDict() * _PyMainInterpreterConfig_AsDict() * Add new _testcapi methods: * get_global_config() * get_core_config() * get_main_config() * test.pythoninfo: get global, core and main configuration * _testembed now serializes global, core and main configurations using JSON to reuse _Py_GetGlobalVariablesAsDict(), _PyCoreConfig_AsDict() and _PyMainInterpreterConfig_AsDict(), rather than duplicating code. * test_embed.InitConfigTests now test much more configuration variables 14 November 2018, 01:01:52 UTC
52fb9f1 Grammar corrections in abc.rst (GH-10525) (cherry picked from commit 8e0b05e2f4b9fd703cbe1ae8d058852ef3781f44) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 14 November 2018, 01:00:36 UTC
e7a5be5 Link to property built-in in abc.rst (GH-10526) (cherry picked from commit bf1355b4240173a306dd46e720ae4b696277bb41) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 14 November 2018, 00:45:11 UTC
9fbcb14 [3.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10522) Discovered using clang's MemorySanitizer when it ran python3's test_fstring test_misformed_unicode_character_name. An msan build will fail by simply executing: ./python -c 'u"\N"' (cherry picked from commit 746b2d35ea47005054ed774fecaed64fab803d7d) Co-authored-by: Gregory P. Smith <greg@krypto.org> https://bugs.python.org/issue35214 14 November 2018, 00:39:36 UTC
c30830b Fix doc typo: Window -> Windows (GH-10508) (cherry picked from commit daeb3c4c58663c2e2a3ddf1c2fbbff9a06269961) Co-authored-by: l-n-s <supervillain@riseup.net> 14 November 2018, 00:18:20 UTC
d57a3e5 bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) (GH-10517) If tracemalloc is not tracing Python memory allocations, _PyMem_DumpTraceback() now suggests to enable tracemalloc to get the traceback where the memory block has been allocated. 13 November 2018, 14:50:56 UTC
55b4771 bpo-35229: Deprecate _PyObject_GC_TRACK() (GH-10511) Deprecate _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() in the documentation. These macros are removed from Python 3.8 by the commit 1a6be91e6fd65ce9cb88cbbbb193db7e92ec6076. 13 November 2018, 12:06:11 UTC
f6602f9 bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) Rename our new MEMORY_SANITIZER define to _Py_MEMORY_SANITIZER. Project based C Preprocessor namespacing at its finest. :P (cherry picked from commit 3015fb8ce4d25603434b9b44bb7effb98a481532) Co-authored-by: Gregory P. Smith <greg@krypto.org> 13 November 2018, 06:20:21 UTC
5e4a13b Fix a couple documentation typos. (GH-10498) reproduciblity -> reproducibility PyPA are the group -> PyPA is the group (cherry picked from commit 0dc1e45dfd242493ecdac5dbcad51dbc8f922de7) Co-authored-by: Windson yang <wiwindson@outlook.com> 13 November 2018, 04:20:31 UTC
f0b21e1 Disable getc_unlocked() with MemorySanitizer. (GH-10499) clang's MemorySanitizer understand getc() but does not understand getc_unlocked(). Workaround: Don't use it on msan builds. (cherry picked from commit e6c77d8301ec1703abb755a7d3ce5bd8c999c082) Co-authored-by: Gregory P. Smith <greg@krypto.org> 13 November 2018, 03:59:29 UTC
3f9fe53 bpo-35031: Fix test_start_tls_server_1 on FreeBSD buildbots (GH-10011) Some FreeBSD buildbots fail to run this test as the eof was not being received by the server if the size is not big enough. This behaviour only appears if the client is using TLS1.3. (cherry picked from commit f6a47f3e316cede2a07a1f74a509f6d80ab8fef0) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 13 November 2018, 01:24:39 UTC
5f4d05d [3.7] bpo-35214: Initial clang MemorySanitizer support (GH-10479) (GH-10492) Adds configure flags for msan and ubsan builds to make it easier to enable. These also encode the detail that address sanitizer and memory sanitizer should disable pymalloc. Define MEMORY_SANITIZER when appropriate at build time and adds workarounds to existing code to mark things as initialized where the sanitizer is otherwise unable to determine that. This lets our build succeed under the memory sanitizer. not all tests pass without sanitizer failures yet but we're in pretty good shape after this. (cherry picked from commit 1584a0081500d35dc93ff88e5836df35faf3e3e2) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google LLC] 12 November 2018, 21:48:24 UTC
f3b0b91 Improve grammar in Glossary. (GH-10474) a asynchronous generator -> an asynchronous generator (cherry picked from commit a9655b7f71b8976c369160ef362d0e706cfcd8c9) Co-authored-by: Windson yang <wiwindson@outlook.com> 12 November 2018, 17:48:11 UTC
8a54c67 Correct grammar mistake in stdtypes.rst (GH-10481) (cherry picked from commit 7610f4fe93cf6909b5ffa28dcc46e55426243395) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 12 November 2018, 17:45:05 UTC
5e51f12 Linkify PEP 8 in unix.rst (GH-10482) (cherry picked from commit 9404e7737bd09bc1df154e1216d721e5168e4c68) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 12 November 2018, 16:48:56 UTC
a744abc Minor grammar improvement to io documentation. (GH-10329) Independently of -> Independent of (cherry picked from commit cd449806fac1246cb7b4d392026fe6986ec01fb7) Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com> 12 November 2018, 04:29:33 UTC
7a90504 Update subprocess.Popen documentation wrt universal_newlines arg (GH-10337) * universal_newlines defaulting to False would suggest, that not specifying universal_newlines explicitly and setting text to True should cause an error, which is not the case. * The run function didn't have the universal_newlines parameter documented * The check_output function didn't have its text parameter documented (cherry picked from commit 7432f0929f2e90bde30e089da8e1efc580ccade1) Co-authored-by: Jakub Stasiak <jakub@stasiak.at> 12 November 2018, 03:48:09 UTC
aa493b5 bpo-33878: Doc: Fix missing case by simplifying. (GH-7762) The documentation was not covering multiple targets enclosed by parenthesis nor multiple targets enclosed by brackets, adding them all would be heavy, an else cover them all and is lighter to read. (cherry picked from commit 082875dcd6d482558e5f1da97a1c801d60b3ed5b) Co-authored-by: Julien Palard <julien@palard.fr> 12 November 2018, 00:24:31 UTC
1ec5781 closes bpo-35204: Disable thread and memory sanitizers for address_in_range(). (GH-10442) This function may access memory which is mapped but is considered free by libc allocator. It behaves so by design, therefore we need to suppress sanitizer reports. GCC doesn't support MSan, so disable only TSan for it. (cherry picked from commit fd3a91cbf93dd7bd97f01add9c90075d63cd7316) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 11 November 2018, 23:44:34 UTC
7d7ff67 bpo-33699: Describe try's else clause with the rest of the try clause (GH-7252) https://bugs.python.org/issue33699 (cherry picked from commit b086c8afdb8c862011e3e27d4c8f6833749f2c56) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 11 November 2018, 19:43:52 UTC
317dbb4 dict insertion order is guaranteed since 3.7 (GH-10431) (cherry picked from commit 76e8fd7b7ee0b3d18e7df960a2f7d5c3fad5f15d) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 11 November 2018, 17:02:11 UTC
b91c27d bpo-34864: Document two IDLE on MacOS issues. (GH-10456) The System Preferences Dock "prefer tabs always" setting disables some IDLE features. Menus are a bit different than as described for Windows and Linux. (cherry picked from commit 50ff02b43145f33f8e28ffbfcc6a9d15c4749a64) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 11 November 2018, 04:46:12 UTC
2847cca bpo-35202: Remove unused imports in idlelib (GH-10438) (cherry picked from commit 43a74abb3a87092a7fd6c71042eafb977d70d8e0) Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com> 10 November 2018, 07:06:22 UTC
3da64a0 Correct a typo in the Unittest documentation (GH-10397) Co-Authored-By: maggyero <gery.ogam@gmail.com> (cherry picked from commit 009b2f02049eda3b29d4f4f743e51df106686375) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 09 November 2018, 19:43:43 UTC
33fd60d Cleanup and improve the regex tokenizer example. (GH-10426) (#10427) 1) Convert weird field name "typ" to the more standard "type". 2) For the NUMBER type, convert the value to an int() or float(). 3) Simplify ``group(kind)`` to the shorter and faster ``group()`` call. 4) Simplify logic go a single if-elif chain to make this easier to extend. 5) Reorder the tests to match the order the tokens are specified. This isn't necessary for correctness but does make the example easier to follow. 6) Move the "column" calculation before the if-elif chain so that users have the option of using this value in error messages. (cherry picked from commit b83942c755a78f6d917743b73ed87a8fd9f367de) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 09 November 2018, 09:26:55 UTC
22234f1 bpo-35194: Fix a wrong constant in cp932 codec (GH-10420) This typo doesn't affect the result because wrong bits are discarded on implicit conversion to unsigned char, but it trips UBSan with -fsanitize=implicit-integer-truncation. https://bugs.python.org/issue35194 (cherry picked from commit 7a69cf47a9bbc95f95fd67c982bff121b2a903cb) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 09 November 2018, 07:35:05 UTC
f16ebcd bpo-35193: Fix an off by one error in the RETURN_VALUE case. (GH-10418) Fix an off by one error in the peephole optimizer when checking for unreachable code beyond a return. Do a bounds check within find_op so it can return before going past the end as a safety measure. https://github.com/python/cpython/commit/7db3c488335168993689ddae5914a28e16188447GH-diff-a33329ae6ae0bb295d742f0caf93c137 introduced this off by one error while fixing another one nearby. This bug was shipped in all Python 3.6 and 3.7 releases. The included unittest won't fail unless you do a clang msan build. (cherry picked from commit 49fa4a9f1ef387e16596f271414c855339eadf09) Co-authored-by: Gregory P. Smith <greg@krypto.org> 09 November 2018, 02:13:14 UTC
732f745 [3.7] Doc: Make all versions sidebars the same for consistency. (GH-10288) (GH-10409) 08 November 2018, 08:07:05 UTC
9d36581 bpo-34966: Improve support of method aliases in pydoc. (GH-9823) Pydoc now does not duplicate docstrings for aliases of inherited methods. (cherry picked from commit a44d34e17908a49d584f86c4f8642a50707b7150) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 08 November 2018, 07:08:05 UTC
3ba5e25 Revert "bpo-32409: Fix regression in activate.bat on international Windows (GH-10295)" (GH-10403) This reverts commit c64583b6d3e8516a8cd2b5f84fc1e300bfac2206 due to multiple buildbot failures when building it. (cherry picked from commit 6843ffe4533e9f2cde036296fd932fef6f059687) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 08 November 2018, 00:13:58 UTC
b097f9f Fix the construction of subprocess.CalledProcessError in test_venv (GH-10400) The constructor of subprocess.CalledProcessError in the check_output function had an extra None in it. (cherry picked from commit b93925047a025511c48a7bf3e6e6f0cfec79b8ed) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 07 November 2018, 22:39:21 UTC
363839c bpo-35015: Doc: Fix internationalisation of the availability directive. (GH-10360) (cherry picked from commit beed84ca5e0f2784d758478d4e7c81c9c1088c4e) Co-authored-by: Julien Palard <julien@palard.fr> 07 November 2018, 21:48:47 UTC
881e273 bpo-32409: Fix regression in activate.bat on international Windows (GH-10295) (GH-10377) Handle Unicode contents on localised Windows systems when activating a venv. activate.bat currently breaks on German Windows systems, as chcp.com does not return a plain number as on English systems, but (arbitrarily) appends a dot at the end (for example "Aktive Codepage: 850." instead of "Active Codepage: 850"). The dependency to chcp.com is removed and ctypes is used to get, set and restore the console output code page. The code page for console input is not changed. We can't use __VENV_PYTHON__ to find python.exe, since it's UTF-8. cmd.exe decodes the script using the console output code page. (cherry picked from commit c64583b6d3e8516a8cd2b5f84fc1e300bfac2206) Co-authored-by: samstagern <30337691+samstagern@users.noreply.github.com> 07 November 2018, 19:26:15 UTC
e40e205 Add link to PEP 525 in Expressions. (GH-10333) (cherry picked from commit bfe1839aa994f0d84471254418a4ecfa7c7c9b9c) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 18:32:05 UTC
38bdaa4 glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102) (cherry picked from commit ae31e3fbf4e7def772fc1c94342d1011424fdc99) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 18:30:18 UTC
b949f74 Add a reference to the name mangling description in the tutorial to the index. (GH-10138) (cherry picked from commit c5eec4426d9144b2255500217d0e3ff9463d2770) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 18:29:58 UTC
2911d4e Add future_stmt to simple_stmt production list. (GH-8239) (cherry picked from commit cdb96f45b61a40a7e7c4c83b4b1f14ef6f5cf4fa) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 17:55:14 UTC
766d8f5 Correct grammar mistakes in string.rst. (GH-9752) (cherry picked from commit d64991031e4c86ce0331caac16770757511dd025) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 17:54:55 UTC
f455dd5 Mark len call as a code snippet in stdtypes.rst. (GH-9804) (cherry picked from commit ca03f3b93ee5c2943a2b8cbf9447f99f835ec672) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 17:54:41 UTC
7602316 Mark -c and -O as command line options in reStructuredText. (GH-10103) (cherry picked from commit ea6a28c9f7e4baa5fe775cebce697a14a7d7da8b) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 November 2018, 17:53:20 UTC
2b2a8c1 bpo-33000: Document that IDLE's shell has no line limit. (GH-10373) A program that runs indefinitely can overfill memory. (cherry picked from commit 76cd0c30d60961d1a10e2673834a455d2b51f695) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 07 November 2018, 05:06:54 UTC
34fcee9 bpo-23220: Explain how IDLE's Shell displays output (GH-10356) Add a new subsection to the doc. (cherry picked from commit 75d9d59ab3a372d3d78e6a1f5e9f256e29d0a9a6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 06 November 2018, 18:27:20 UTC
ca592bc closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH-10347) The test depended on '/usr/share/zoneinfo/posixrules' or equivalent because it set TZ without explicit DST transition rules. At least on OpenSUSE Tumbleweed that file is linked to '/etc/localtime', making the test fail with certain local timezones, such as 'Europe/Moscow' which doesn't have DST transitions since 2011. (cherry picked from commit f1b9ad3d38c11676b45edcbf2369239bae436e56) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 06 November 2018, 04:47:11 UTC
4a46295 bpo-35099: Update idlelib/help.html (GH-10353) (This should have been done with the first PR for this issue.) (cherry picked from commit f1d3efc2fba704692d539acc3cb0376a1dd9d98f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 06 November 2018, 03:36:12 UTC
a437c28 bpo-35099: Improve the doc about IDLE running user code. (GH-10350) The section is renamed from "IDLE -- console differences". It mostly covers the implications of using custom sys.stdxxx objects. (cherry picked from commit 5e7909032491cef17754a3208872655fe350e9be) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 06 November 2018, 02:35:18 UTC
558dc8a bpo-35119: Fix RecursionError in example of customizing module attribute access. (GH-10323) https://bugs.python.org/issue35119 (cherry picked from commit 0bee3c36d406e47fa9f99cfc1e07b701512c4f3f) Co-authored-by: Denis Osipov <osipov_d@list.ru> 06 November 2018, 01:59:15 UTC
91a19c9 [Docs] Fix required version of an example of importlib (GH-10118) §31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5. (cherry picked from commit 16c8a53490a22bd4fcde2efaf4694dd06ded882b) Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com> 05 November 2018, 22:46:42 UTC
6ad277b [3.7] bpo-35167: Specify program for json.tool command line options. (GH-10332) (GH-10338) (cherry picked from commit 083a7a172b8c8888252d72031f21dcfea3c0d73f) 05 November 2018, 16:44:08 UTC
7beb8c5 bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings. (cherry picked from commit 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 November 2018, 14:52:58 UTC
96fb350 bpo-21263: Skip test_gdb when python has been compiled with LLVM clang (GH-10318) (GH-10325) (cherry picked from commit 59668aa8b7f174b59304eab833c1c1181886c3c6) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> 04 November 2018, 21:40:02 UTC
133fd65 Fix a typo about a comma. (GH-10306) (cherry picked from commit fe62d877e300e1ee4145fff8f2bdba498b685f91) Co-authored-by: İsmail Arılık <arilik.ismail@gmail.com> 03 November 2018, 17:41:38 UTC
a9122d1 [3.7] bpo-35147: Fix _Py_NO_RETURN for GCC (GH-10300) (GH-10301) Use `__GNUC__` instead of non-existing `__GNUC_MAJOR__`. (cherry picked from commit e2ed5adcb5db2d70cfa72da1ba8446f7aa9e05cd) https://bugs.python.org/issue35147 03 November 2018, 01:30:11 UTC
08026b1 [3.7]bpo-29341: Backport b942707 3.7 (#10298) Some methods in the os module can accept path-like objects. This is documented in the general documentation but not in the function docstrings. To keep both in sync, the docstrings need to be updated to reflect that path-like objects are also accepted.. (cherry picked from commit b942707fc23454a998323c17e30be78ff1a4f0e7) Co-authored-by: BNMetrics <luna@bnmetrics.com> 02 November 2018, 17:56:25 UTC
04c9666 closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10289) This could cause compile errors on macOS or other platforms. (cherry picked from commit 318ab63c01f5b8e7562b122ab5ba01258a51277b) Co-authored-by: Max Bélanger <aeromax@gmail.com> 02 November 2018, 03:09:04 UTC
b9c48a7 Include memo in the documented signature of copy.deepcopy() * Include memo in the documented signature of copy.deepcopy() The memo argument is mentioned lower on the doc page under writing a `__deepcopy__` method, but is not included in the documented function signature. This makes it easy to miss, and can lead to incorrect/buggy implementations of `__deepcopy__` -- which is exatly what just happpend to me! (cherry picked from commit 0200928e8df012d408530b06a98119024bc82511) Co-authored-by: Stephan Hoyer <shoyer@gmail.com> 01 November 2018, 21:35:17 UTC
d69f015 Doc: fix asyncio loop.close() description (GH-10229) Needs backport to 3.7. In 3.6 the description is correct. (cherry picked from commit b83d917fafd87e4130f9c7d5209ad2debc7219cd) Co-authored-by: Andriy Maletsky <andriy.maletsky@gmail.com> 01 November 2018, 21:34:42 UTC
7d35553 bpo-35075: Fix broken url in the pprint documentation (GH-10201) https://bugs.python.org/issue35075 (cherry picked from commit bf46a09dec372b85846216bd692d648dac08ac36) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 01 November 2018, 21:33:52 UTC
5e0537c [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280) (cherry picked from commit 4b5e62dbb22a3593e0db266c12f805b727a42b00) Co-authored-by: Pablo Aguiar <scorphus@gmail.com> 01 November 2018, 12:19:23 UTC
192c547 bpo-26558: Fix Py_FatalError() with GIL released (GH-10267) Don't call _Py_FatalError_PrintExc() nor flush_std_files() if the current thread doesn't hold the GIL, or if the current thread has no Python state thread. (cherry picked from commit 3a228ab17c2a9cffd1a2f15f30d6209768de20a6) Co-authored-by: Victor Stinner <vstinner@redhat.com> 31 October 2018, 23:45:42 UTC
71b6c1a bpo-35062: Fix parsing _io.IncrementalNewlineDecoder's *translate* argument. (GH-10217) _io.IncrementalNewlineDecoder's initializer possibly assigns out-of-range value to the bitwise struct field. (cherry picked from commit b08746bfdf64e55ce33516f2065fa2aa4f51be95) Co-authored-by: Xiang Zhang <angwerzx@126.com> 31 October 2018, 12:36:20 UTC
da15389 Fix a possible crash in range.__reversed__(). (GH-10252) (cherry picked from commit c9a6168924ffa4f3f78175998b392fe23d3edc50) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 31 October 2018, 09:31:29 UTC
b183750 [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253) (cherry picked from commit 3f819ca138db6945ee4271bf13e42db9f9b3b1e4) 31 October 2018, 09:00:24 UTC
aa0a21a bpo-35116, urllib.parse: Document the new max_num_fields parameter (GH-10246) 30 October 2018, 21:15:24 UTC
f51ef51 bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160) The root widget was accessed as a global variable in the Application's method. (cherry picked from commit a80af770870937271865b5e2b05a2cfe40b024b6) Co-authored-by: Daniel Lovell <lovell.daniel92@gmail.com> 30 October 2018, 15:34:54 UTC
7d35f79 bpo-34403: Always implement _Py_GetForceASCII() (GH-10235) Compilation fails on macOS because _Py_GetForceASCII() wasn't define: always implement implement (default implementation: just return 0). 30 October 2018, 13:32:01 UTC
21220bb bpo-34403: Fix initfsencoding() for ASCII (GH-10233) * Add _Py_GetForceASCII(): check if Python forces the usage of ASCII in Py_DecodeLocale() and Py_EncodeLocale(). * initfsencoding() now uses ASCII if _Py_GetForceASCII() is true. 30 October 2018, 11:59:20 UTC
58f7bf3 bpo-34945: Buffer output in test suite only when creating junit file (GH-10204) After commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed, the output of the test suite is always buffered as the test output needs to be included in the JUnit file in same cases (as when a test fails). This has the consequence that printing or using debuggers (like pdb) in the test suite does not result in a good user experience anymore. This commit modifies the test suite runner so it only captures the test output when the JUnit file is requested to fix the regression so prints and debuggers are usable again. (cherry picked from commit 02277482ea765335e497ecd9661d4bde9b5ddc67) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 29 October 2018, 21:05:31 UTC
a02bc71 bpo-27741: Better wording for datetime.strptime() (GH-9994) (cherry picked from commit c0799ec973530ad2492bb1d6c7287ffc428f0348) Co-authored-by: Gus Goulart <augusto@goulart.me> 29 October 2018, 11:55:08 UTC
f00703d Fix a possible "double decref" in termios.tcgetattr(). (GH-10194) (cherry picked from commit 53835e92d315340444e3dd083b3f69a590b00e07) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 29 October 2018, 05:17:45 UTC
1a3f18e bpo-35097: Add IDLE doc subsection explaining editor windows. (GH-10206) Topics include opening, title and status bar, .py* extension, and running. (cherry picked from commit ea9c8bd44365ae8b0accc5286c7b52862528c0ec) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 29 October 2018, 01:51:33 UTC
1d7d165 bpo-35090: Fix potential division by zero in allocator wrappers (GH-10174) * Fix potential division by zero in BZ2_Malloc() * Avoid division by zero in PyLzma_Malloc() * Avoid division by zero and integer overflow in PyZlib_Malloc() Reported by Svace static analyzer. (cherry picked from commit 3d4fabb2a424cb04ae446ebe4428090c386f45a5) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 28 October 2018, 20:46:56 UTC
ff8d626 Issue 35093: Document the IDLE document viewer in the IDLE doc. (GH-10195) Add a paragraph in "Help and preferences", "Help sources" subsection. (cherry picked from commit 18032632ab27eed51d705c2be7b64bac708279bf) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 October 2018, 20:39:38 UTC
1cea384 [3.7] Fix checking for bugfix Tcl version. (GH-10185) (GH-10186) (cherry picked from commit 18d57b4d6262bf96b5ac307bd84837c29ea04083) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 28 October 2018, 18:57:04 UTC
8dccb00 bpo-1529353: Explain Shell text squeezing in the IDLE doc. (GH-10169) (cherry picked from commit 68d6dc0770288075504635a8e42696070823fd69) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 October 2018, 17:03:19 UTC
fdf48b6 bpo-35054: Add yet more index entries for symbols. (GH-10121) (GH-10171) (cherry picked from commit 913876d824d969f8c7431e8a9d4610a9a11a786e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 28 October 2018, 16:43:32 UTC
c516dc6 bpo-35089: Don't mention typing.io and typing.re (GH-10173) https://bugs.python.org/issue35089 (cherry picked from commit c8a8d6b347d5a6899feb7c810d28f22f3cb151b8) Co-authored-by: Sebastian Rittau <srittau@rittau.biz> 28 October 2018, 16:16:36 UTC
50e04cc Fix mistakes on function coroutines related definitions (GH-9871) Fix a bug I introduced in GH-9864 by which coroutines are treated as synonymous of function coroutines. Also, fix the same mistake (coroutines == function coroutines) already present in other parts of the reference. I'm very sorry for the hassle. (cherry picked from commit 95f68b10d5c9852ef4dcf5b9f2ae15fdf74e8f1c) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 28 October 2018, 13:52:27 UTC
593af34 bpo-35088: Update idlelib.help.copy_string docstring (GH-10164) We now use git and backporting instead of hg and forward merging. (cherry picked from commit 2b555fc1f07bee8b066a6d7da727e516f37e8e34) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 October 2018, 05:52:08 UTC
2d3b7a9 bpo-35087: Update idlelib help files for the current doc build. (GH-10162) There is only one trivial change to idle.rst. Nearly all the changes to help.html are the elimination of chapter and section numbers on headers due to changes in the build system. help.py no longer requires header numbering. (cherry picked from commit db40cb50eb823b8ef9040b1c9bf31a7475d94d39) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 October 2018, 05:40:00 UTC
e2cf819 bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-10095) (cherry picked from commit 53125a53f483db0af76249b6af6efcdc200eb421) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 27 October 2018, 21:06:20 UTC
c73cd4e Fix typo in zipfile documentation. (GH-10151) (GH-10153) (cherry picked from commit 40bf6cff22185b8ebaab14789e81cff22fbf2275) Co-authored-by: nsrip <nick.ripley@me.com> 27 October 2018, 20:06:46 UTC
6f82bdc unittest documentation: Spell pytest without the dot (GH-9820) Referring to ``pytest`` as ``py.test`` is deprecated. (cherry picked from commit d855f2fdbd73016ece9b58e6f6ac26cf986fabf6) Co-authored-by: Andreas Pelme <andreas@pelme.se> 27 October 2018, 18:17:15 UTC
cb920c1 bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144) Specify that blocks are non-overlapping. Change '!=' to '<'. (cherry picked from commit d9bff4e81b8ca36fe6c4e90c0b9cf02bc020e713) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 27 October 2018, 03:07:42 UTC
f2b5b4f Fix a typo in asyncio-dev.rst. (GH-10133) "threadsafe" (cherry picked from commit 4e3a53bceefe4803c08a025523d8658862cb31c0) Co-authored-by: Benjamin Peterson <benjamin@python.org> 26 October 2018, 17:42:49 UTC
95cfb81 bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) Declare functions with EXTINLINE: * mpd_del() * mpd_uint_zero() * mpd_qresize() * mpd_qresize_zero() * mpd_minalloc() These functions are implemented with "inline" or "ALWAYS_INLINE", but declared without inline which cause linker error on Visual Studio in Debug mode when using /Ob1. (cherry picked from commit 3b1cba3701fd1321a9bdafa9e683f891369f0cfd) Co-authored-by: Victor Stinner <vstinner@redhat.com> 26 October 2018, 17:28:26 UTC
back to top