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

sort by:
Revision Author Date Message Commit Date
5f5b187 bpo-36734: Fix compilation of faulthandler.c on HP-UX (GH-12970) Initialize "stack_t current_stack" to zero using memset(). (cherry picked from commit b84cb70880a0acfcbbaca7bcda405af08f94d269) Co-authored-by: Victor Stinner <vstinner@redhat.com> 30 April 2019, 21:30:44 UTC
4d723e7 bpo-36742: Fixes handling of pre-normalization characters in urlsplit() (GH-13017) (cherry picked from commit d537ab0ff9767ef024f26246899728f0116b1ec3) Co-authored-by: Steve Dower <steve.dower@python.org> 30 April 2019, 12:21:02 UTC
4b5340b closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008) (cherry picked from commit ee0309f3d83ab9ffa02542bcf45ece84f4fb265e) Co-authored-by: Utkarsh Gupta <guptautkarsh2102@gmail.com> 30 April 2019, 02:26:00 UTC
52a5b71 bpo-34602: Avoid failures setting macOS stack resource limit (GH-13011) Under some conditions the earlier fix for bpo-18075, "Infinite recursion tests triggering a segfault on Mac OS X", now causes failures on macOS when attempting to change stack limit with resource.setrlimit resource.RLIMIT_STACK, like regrtest does when running the test suite. The reverted change had specified a non-default stack size when linking the python executable on macOS. As of macOS 10.14.4, the previous code causes a hard failure when running tests, although similar failures had been seen under some conditions under some earlier systems. For now, revert the original change and resume using the default stack size when linking the interpreter. (cherry picked from commit 883dfc668f9730b00928730035b5dbd24b9da2a0) Co-authored-by: Ned Deily <nad@python.org> 29 April 2019, 19:27:36 UTC
5e09a99 bpo-35952: Sync test.pythoninfo from master (GH-13009) 29 April 2019, 13:20:27 UTC
896c635 bpo-36745: Fix a possible reference leak in PyObject_SetAttr() (GH-12993) https://bugs.python.org/issue36745 (cherry picked from commit e0dcb85b7d64153d1741698c04a6736c9669603a) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 28 April 2019, 13:17:40 UTC
f5972cc bpo-2091: Fix typo in exception message (GH-12987) (cherry picked from commit 21a9ba1992775b5a833da28bfa0a9f028d1b6761) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 27 April 2019, 20:39:06 UTC
5d90954 Syntax highlight IDLE html doc code example. (GH-12981) The new markup is currently ignored by IDLE's tk doc display. (cherry picked from commit 55d035113dfb1bd90495c8571758f504ae8d4802) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 27 April 2019, 03:42:05 UTC
d111490 [3.7] bpo-36679: Rename duplicate test_class_getitem function (GH-12892) (GH-12978) (cherry picked from commit d437012cdd4a38b5b3d05f139d5f0a28196e4769) Co-authored-by: Windson yang <wiwindson@outlook.com> 27 April 2019, 01:21:45 UTC
967f14e bpo-31525: Increase minimum sqlite version number check (GH-12923) (cherry picked from commit ad0daf5b374dc43540d4ffcf32ca30e5c5147b90) Co-authored-by: Charles Pigott <charlespigott@googlemail.com> 26 April 2019, 16:15:31 UTC
1069d38 [3.7] bpo-36719: sync regrtest with master branch (GH-12967) * Clean up code which checked presence of os.{stat,lstat,chmod} (GH-11643) (cherry picked from commit 8377cd4fcd0d51d86834c9b0518d29aac3b49e18) * bpo-36725: regrtest: add TestResult type (GH-12960) * Add TestResult and MultiprocessResult types to ensure that results always have the same fields. * runtest() now handles KeyboardInterrupt * accumulate_result() and format_test_result() now takes a TestResult * cleanup_test_droppings() is now called by runtest() and mark the test as ENV_CHANGED if the test leaks support.TESTFN file. * runtest() now includes code "around" the test in the test timing * Add print_warning() in test.libregrtest.utils to standardize how libregrtest logs warnings to ease parsing the test output. * support.unload() is now called with abstest rather than test_name * Rename 'test' variable/parameter to 'test_name' * dash_R(): remove unused the_module parameter * Remove unused imports (cherry picked from commit 4d29983185bc12ca685a1eb3873bacb8a7b67416) * bpo-36725: Refactor regrtest multiprocessing code (GH-12961) Rewrite run_tests_multiprocess() function as a new MultiprocessRunner class with multiple methods to better report errors and stop immediately when needed. Changes: * Worker processes are now killed immediately if tests are interrupted or if a test does crash (CHILD_ERROR): worker processes are killed. * Rewrite how errors in a worker thread are reported to the main thread. No longer ignore BaseException or parsing errors silently. * Remove 'finished' variable: use worker.is_alive() instead * Always compute omitted tests. Add Regrtest.get_executed() method. (cherry picked from commit 3cde440f20a9db75fb2c4e65e8e4d04a53216a2d) * bpo-36719: regrtest always detect uncollectable objects (GH-12951) regrtest now always detects uncollectable objects. Previously, the check was only enabled by --findleaks. The check now also works with -jN/--multiprocess N. --findleaks becomes a deprecated alias to --fail-env-changed. (cherry picked from commit 75120d2205af086140e5e4e2dc620eb19cdf9078) * bpo-34060: Report system load when running test suite for Windows (GH-8357) While Windows exposes the system processor queue length, the raw value used for load calculations on Unix systems, it does not provide an API to access the averaged value. Hence to calculate the load we must track and average it ourselves. We can't use multiprocessing or a thread to read it in the background while the tests run since using those would conflict with test_multiprocessing and test_xxsubprocess. Thus, we use Window's asynchronous IO API to run the tracker in the background with it sampling at the correct rate. When we wish to access the load we check to see if there's new data on the stream, if there is, we update our load values. (cherry picked from commit e16467af0bfcc9f399df251495ff2d2ad20a1669) * bpo-36719: Fix regrtest re-run (GH-12964) Properly handle a test which fail but then pass. Add test_rerun_success() unit test. (cherry picked from commit 837acc1957d86ca950433f5064fd06d09b57d23b) * bpo-36719: regrtest closes explicitly WindowsLoadTracker (GH-12965) Regrtest.finalize() now closes explicitly the WindowsLoadTracker instance. (cherry picked from commit 00db7c73af4f60df61e9df87cde7401c3ed9df69) 26 April 2019, 10:16:30 UTC
3076a3e bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875) (GH-12948) bpo-28552, bpo-7774: Fix distutils.sysconfig if sys.executable is None or an empty string: use os.getcwd() to initialize project_base. Fix also the distutils build command: don't use sys.executable if it's evaluated as false (None or empty string). (cherry picked from commit 0ef8c157e9195df0115c54ba875a5efb92ac22fb) Co-authored-by: Victor Stinner <vstinner@redhat.com> 25 April 2019, 11:15:47 UTC
4d0233e bpo-30840: Document relative imports (GH-12831) (GH-12938) * Document relative imports (cherry picked from commit 70bf713617e15fad390ed953e48b3c65d9bc90ec) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 24 April 2019, 15:44:19 UTC
e1a6cf2 bpo-36454: Fix test_time.test_monotonic() (GH-12929) Change test_time.test_monotonic() to test only the lower bound of elapsed time after a sleep command rather than the upper bound. This prevents unnecessary test failures on slow buildbots. Patch by Victor Stinner. (cherry picked from commit d246a6766b9d8cc625112906299c4cb019944300) Co-authored-by: Victor Stinner <vstinner@redhat.com> 23 April 2019, 22:35:55 UTC
e64d21b replace 'sequencial argument' by 'positional' in doc (GH-12925) (cherry picked from commit 29d018aa63b72161cfc67602dc3dbd386272da64) Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com> 23 April 2019, 13:06:57 UTC
c0f6f53 bpo-18372: Add missing PyObject_GC_Track() calls in the pickle module (GH-8505) (cherry picked from commit 359bd4f61b9e1493081f4f67882554247b53926a) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 23 April 2019, 12:18:15 UTC
8a9a6b4 [3.7] bpo-9566: Fix compiler warnings on Windows (GH-12920) * bpo-9566: Fix compiler warnings in gcmodule.c (GH-11010) Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t. (cherry picked from commit edad38e3e05586ba58291f47756eb3fb808f5577) * bpo-30465: Fix C downcast warning on Windows in ast.c (#6593) ast.c: fstring_fix_node_location() downcasts a pointer difference to a C int. Replace int with Py_ssize_t to fix the compiler warning. (cherry picked from commit fb7e7992beec7f76cc2db77ab6ce1e86446bfccf) * bpo-9566: Fix compiler warnings in peephole.c (GH-10652) (cherry picked from commit 028f0ef4f3111d2b3fc5b971642e337ba7990873) * bpo-27645, sqlite: Fix integer overflow on sleep (#6594) Use the _PyTime_t type and round away from zero (ROUND_UP, _PyTime_ROUND_TIMEOUT) the sleep duration, when converting a Python object to seconds and then to milliseconds. Raise an OverflowError in case of overflow. Previously the (int)double conversion rounded towards zero (ROUND_DOWN). (cherry picked from commit ca405017d5e776a2e3d9291236e62d2e09489dd2) 23 April 2019, 08:26:11 UTC
9344d74 Fixes platform.win32_ver on non-Windows platforms (GH-12912) (cherry picked from commit d307d05350e26a7a5f8f74db9af632a15215b50f) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 22 April 2019, 18:59:08 UTC
36aecc0 bpo-36672: Fix a compiler warning in winreg.SetValue() (GH-12882) (cherry picked from commit 34366b7f914eedbcc33aebe882098a2199ffaf82) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 22 April 2019, 17:31:46 UTC
7038dee bpo-9194: Fix the bounds checking in winreg.c's fixupMultiSZ() (GH-12687) (cherry picked from commit 56ed86490cb8221c874d432461d77702437f63e5) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 22 April 2019, 17:20:33 UTC
5407aaf bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903) (cherry picked from commit d59b662e490d3fae662c5f81fa5248f0445d2158) Co-authored-by: 周家未 <752736341@qq.com> 22 April 2019, 13:53:53 UTC
1100ae8 bpo-36523: Add docstring to io.IOBase.writelines (GH-12683) (cherry picked from commit ab86521a9d9999731e39bd9056420bb7774fd144) 22 April 2019, 12:08:24 UTC
8c49d71 Doc: add the missing ".tp_flags" in type definition (GH-12902) (cherry picked from commit 662ebd2ab2047aeae9689ad254b39915c38069fd) Co-authored-by: Wu Wei <weiwu@cacheme.net> 22 April 2019, 11:14:25 UTC
15a57a3 bpo-23078: Add support for {class,static}method to mock.create_autospec() (GH-11613) Co-authored-by: Felipe <felipe.nospam.ochoa@gmail.com> (cherry picked from commit 9b21856b0fcda949de239edc7aa6cf3f2f4f77a3) 22 April 2019, 03:07:56 UTC
71b8882 bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) (cherry picked from commit 5ebfa840a1c9967da299356733da41b532688988) Co-authored-by: mollison <mollison@cs.unc.edu> 21 April 2019, 22:20:45 UTC
307e7a4 Fix typo (GH-12878) "sychronization" -> "synchronization" (cherry picked from commit 3e986de0d65e78901b55d4e500b1d05c847b6d5e) Co-authored-by: Fredrik Averpil <fredrik@averpil.com> 20 April 2019, 23:12:23 UTC
8b30ee8 bpo-36650: Fix handling of empty keyword args in C version of lru_cache. (GH-12881) (GH-12888) (cherry picked from commit 14adbd45980f705cb6554ca17b8a66b56e105296) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 20 April 2019, 17:50:32 UTC
d29b3dd bpo-36651: Fixed Asyncio Event Loop documentation inconsistency (GH-12866) GH- [bpo-36651](https://bugs.python.org/issue36651): Fixed Asyncio Event Loop documentation inconsistency In the documentation for the call_later and the call_at methods there is a note which says that the delay cannot be longer than a day, but both methods have a note saying that this limitation was removed in Python 3.8 Here I fixed this issue by removing the pre-exising note and added a versionchanged. To test my changes I have rebuilt the documentation with ```make html```. I did not have any errors and the effected page displayed correctly on a browser. https://bugs.python.org/issue36651 (cherry picked from commit 7e954e7de4f3777b5ce239640bd2b76aced09561) Co-authored-by: Enrico Alarico Carbognani <enrico.carbognani@gmail.com> 18 April 2019, 12:49:24 UTC
21c8caa Fix wrong indentation of a paragraph in documentation (GH-12868) This paragraph doesn't seem to be a part of code, but merged into previous code block. (cherry picked from commit 9941f963fe085261aec25545fa9f0cc35f750120) Co-authored-by: cocoatomo <cocoatomo77@gmail.com> 18 April 2019, 01:00:37 UTC
0d4f16d bpo-36649: Remove trailing spaces for registry keys when installed via the Store (GH-12865) (cherry picked from commit 4c3efd9cd07194b5db2a60ae5951134cda8b69db) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 17 April 2019, 21:52:14 UTC
394b991 [3.7] bpo-35755: shutil.which() uses os.confstr("CS_PATH") (GH-12862) * bpo-35755: shutil.which() uses os.confstr("CS_PATH") (GH-12858) shutil.which() and distutils.spawn.find_executable() now use os.confstr("CS_PATH") if available instead of os.defpath, if the PATH environment variable is not set. Don't use os.confstr("CS_PATH") nor os.defpath if the PATH environment variable is set to an empty string. Changes: * find_executable() now starts by checking for the executable in the current working directly case. Add an explicit "if not path: return None". * Add tests for PATH='' (empty string), PATH=':' and for PATHEXT. (cherry picked from commit 228a3c99bdb2d02771bead66a0beabafad3a90d3) * bpo-35755: Remove current directory from posixpath.defpath (GH-11586) Document the change in a NEWS entry of the Security category. (cherry picked from commit 2c4c02f8a876fcf084575dcaf857a0236c81261a) 17 April 2019, 16:38:06 UTC
b87a807 bpo-32849: Fix is_valid_fd() on FreeBSD (GH-12852) (GH-12863) Fix Python Initialization code on FreeBSD to detect properly when stdin file descriptor (fd 0) is invalid. On FreeBSD, fstat() must be used to check if stdin (fd 0) is valid. dup(0) doesn't fail if stdin is invalid in some cases. (cherry picked from commit 3092d6b2630e4d2bd200fbc3231c27a7cba4d6b2) Co-authored-by: Victor Stinner <vstinner@redhat.com> 17 April 2019, 16:30:27 UTC
a6fce19 bpo-33783: Use proper class markup for random.Random docs (GH-7817) (GH-12859) Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com> (cherry picked from commit 31e8d69bfe7cf5d4ffe0967cb225d2a8a229cc97) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com> 16 April 2019, 21:32:32 UTC
cd46b09 bpo-36508: python-config don't export LINKFORSHARED (GH-12661) (GH-12748) python-config --ldflags no longer includes flags of the LINKFORSHARED variable. The LINKFORSHARED variable must only be used to build executables. (cherry picked from commit e65f01f78d7bda3013fc5be485afa87ff56511d9) Co-authored-by: Victor Stinner <vstinner@redhat.com> 16 April 2019, 13:01:33 UTC
2815bf5 bpo-36348: test_imaplib: add debug info (GH-12846) Log more info if tests fail. 15 April 2019, 16:45:01 UTC
871ba6c Doc: update PendingDeprecationWarning explanation (GH-12837) Keep the nudge towards DeprecationWarning, but remove the "Note" markup and generally shorten the description. Ref: https://github.com/python/cpython/pull/12505/filesGH-r273978757 (cherry picked from commit a3283efd30ad52b56d1046138523cbabc6c69daf) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 15 April 2019, 12:48:31 UTC
28ed39e bpo-36629: Add support.get_socket_conn_refused_errs() (GH-12834) (GH-12835) Fix test_imap4_host_default_value() of test_imaplib: catch also errno.ENETUNREACH error. (cherry picked from commit 3c7931e514faf509a39c218c2c9f55efb434628f) Co-authored-by: Victor Stinner <vstinner@redhat.com> 15 April 2019, 10:49:37 UTC
9f9e029 bpo-16079: fix duplicate test method name in test_gzip. (GH-12827) (cherry picked from commit cd466559c4a312b3c1223a774ad4df19fc4f0407) Co-authored-by: Gregory P. Smith <greg@krypto.org> 14 April 2019, 17:50:52 UTC
7723d05 [3.7] bpo-36427: Document that PyEval_RestoreThread and PyGILState_Ensure can terminate the calling thread (GH-12541) (GH-12820) Calling these function from a thread when the runtime is finalizing will terminate the thread, even if the thread was not created by Python. Users can use _Py_IsFinalizing or sys.is_finalizing to check if the interpreter is in the process of being finalized before calling this function to avoid unwanted termination. (cherry picked from commit fde9b33) 14 April 2019, 02:49:17 UTC
f3a9d72 bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790) In Python having a trace function in effect while mock is imported causes isinstance to be wrong for MagicMocks. This is due to the usage of super() in some class methods, as this sets the __class__ attribute. To avoid this, as a workaround, alias the usage of super . (cherry picked from commit 830b43d03cc47a27a22a50d777f23c8e60820867) Co-authored-by: Xtreak <tir.karthi@gmail.com> 13 April 2019, 19:31:58 UTC
d28aaa7 Skip test_preadv_flags if RWF_HIPRI is not supported by the system (GH-12762) (cherry picked from commit 46544f69bff1c3c4173d461be35993ca0109f622) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 13 April 2019, 16:25:20 UTC
be63df2 Doc: define PY_SSIZE_T_CLEAN always (GH-12794) (cherry picked from commit c88feceb449d6e85d7e17ec36559206094d10d81) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 13 April 2019, 01:56:50 UTC
5403006 bpo-36605: make tags: parse Modules/_io directory (GH-12789) (GH-12814) "make tags" and "make TAGS" now also parse Modules/_io/*.c and Modules/_io/*.h. (cherry picked from commit 21a74a9d77c5ac628808b9faace18b824ca056f7) 13 April 2019, 00:50:31 UTC
b759a2c bpo-35581: Document @typing.type_check_only (GH-11312) (cherry picked from commit 1e8295402bf5e81d327ed2b5eb88a6b6de449d63) Co-authored-by: Sebastian Rittau <srittau@rittau.biz> 12 April 2019, 22:47:57 UTC
395bb94 bpo-33922: Adding documentation for new "-64" suffix of Python launcher (GH-7849) Since bpo-30291 it is possible to specify the architecture of Python when using the launcher (cherry picked from commit 1e2ad6c275d2b09e76b7cbba7281d5a125a593c1) Co-authored-by: mrh1997 <mrh1997@users.noreply.github.com> 12 April 2019, 22:32:33 UTC
c05c116 Allow Windows layout builds to fully skip code signing (GH-12808) (cherry picked from commit 606c66a17faf34a4e74d4829e8fe5ad0d2879434) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 12 April 2019, 18:44:00 UTC
7182e65 bpo-36611: Fix test_sys.test_getallocatedblocks() (GH-12797) Fix test_sys.test_getallocatedblocks() when tracemalloc is enabled. If the name of Python memory allocators cannot get read, consider that pymalloc is disabled. Fix the following error: ./python -X tracemalloc -m test test_sys -v -m test_getallocatedblocks ERROR: test_getallocatedblocks (test.test_sys.SysModuleTest) ------------------------------------------------------------ Traceback (most recent call last): File "Lib/test/test_sys.py", line 770, in test_getallocatedblocks alloc_name = _testcapi.pymem_getallocatorsname() RuntimeError: cannot get allocators name (cherry picked from commit 9b8314cfe29ca532fc335277f6c36b72e6132922) Co-authored-by: Victor Stinner <vstinner@redhat.com> 12 April 2019, 13:33:31 UTC
a910c2c bpo-34839: Add a 'before 3.6' in the section 'warnings' of doctest (GH-9736) (cherry picked from commit 0522fd81dc6e3482c2d4c8719f1f85ad5924eede) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 12 April 2019, 06:27:27 UTC
9e23f0a [3.7] bpo-36389: _PyObject_IsFreed() now also detects uninitialized memory (GH-12770) (GH-12788) * bpo-36389: _PyObject_IsFreed() now also detects uninitialized memory (GH-12770) Replace _PyMem_IsFreed() function with _PyMem_IsPtrFreed() inline function. The function is now way more efficient, it became a simple comparison on integers, rather than a short loop. It detects also uninitialized bytes and "forbidden bytes" filled by debug hooks on memory allocators. Add unit tests on _PyObject_IsFreed(). (cherry picked from commit 2b00db68554422ec37faba2a80179a0172df6349) * bpo-36389: Change PyMem_SetupDebugHooks() constants (GH-12782) Modify CLEANBYTE, DEADDYTE and FORBIDDENBYTE constants: use 0xCD, 0xDD and 0xFD, rather than 0xCB, 0xBB and 0xFB, to use the same byte patterns than Windows CRT debug malloc() and free(). (cherry picked from commit 4c409beb4c360a73d054f37807d3daad58d1b567) 11 April 2019, 20:30:31 UTC
ac31da8 bpo-36597: fix random doctest failure (GH-12778) 11 April 2019, 10:37:53 UTC
04b114e bpo-36416: Correct bytes.rpartition documentation (GH-12543) (cherry picked from commit efc48701496ef020e896fc6a91af3c0c612ac69a) Co-authored-by: pewscorner <pewscorner@users.noreply.github.com> 11 April 2019, 10:18:48 UTC
a8c4fa5 Doc: fix typo in IncrementalDecoder.setstate (GH-12724) (cherry picked from commit b5e2959b27088d39f9954a207b91ab0ebbd149f4) Co-authored-by: Christopher Thorne <libcthorne@users.noreply.github.com> 11 April 2019, 06:18:07 UTC
59fd08c better __init__.py explanation in tutorial (GH-12763) * better __init__.py explanation in tutorial * Update Doc/tutorial/modules.rst Co-Authored-By: methane <songofacandy@gmail.com> (cherry picked from commit 5410d3d283b11e2375f0c1f79728a230edd12bd0) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 11 April 2019, 06:16:34 UTC
d9b25a2 bpo-36235: Fix distutils test_customize_compiler() on macOS (GH-12764) Set CUSTOMIZED_OSX_COMPILER to True to disable _osx_support.customize_compiler(). (cherry picked from commit a9bd8925c7fa50dd3cfab125b824ec192133ef49) Co-authored-by: Victor Stinner <vstinner@redhat.com> 10 April 2019, 23:58:55 UTC
9d2ccf1 bpo-14826: document that URLopener quotes fullurl. (GH-12758) (cherry picked from commit 2fb2bc81c3f40d73945c6102569495140e1182c7) Co-authored-by: Gregory P. Smith <greg@krypto.org> 10 April 2019, 09:30:22 UTC
796698a bpo-12910: update and correct quote docstring (GH-2568) Fixes some mistakes and misleadings in the quote function docstring: - reserved chars are never actually used by quote code, unreserved chars are - reserved chars were wrong and incomplete - mentioned that use-case is not minimal quoting wrt. RFC, but cautious quoting (cherry picked from commit 750d74fac5c510e39958b3f79641fe54096ee54f) Co-authored-by: Jörn Hees <joernhees@users.noreply.github.com> 10 April 2019, 00:53:03 UTC
86f0354 [3.7] bpo-36560: regrtest: don't collect the GC twice (GH-12747) (GH-12749) * bpo-36560: Fix reference leak hunting in regrtest (GH-12744) Fix reference leak hunting in regrtest: compute also deltas (of reference count, allocated memory blocks, file descriptor count) during warmup, to ensure that everything is initialized before starting to hunt reference leaks. Other changes: * Replace gc.collect() with support.gc_collect() * Move calls to read memory statistics from dash_R_cleanup() to dash_R() * Pass regrtest 'ns' to dash_R() * dash_R() is now more quiet with --quiet option (don't display progress). * Precompute the full range for "for it in range(repcount):" to ensure that the iteration doesn't allocate anything new. * dash_R() now is responsible to call warm_caches(). (cherry picked from commit 5aaac94eeb44697e92b0951385cd557bc27e0f6a) * bpo-36560: regrtest: don't collect the GC twice (GH-12747) dash_R() function of libregrtest doesn't call support.gc_collect() directly anymore: it's already called by dash_R_cleanup(). Call dash_R_cleanup() before starting the loop. (cherry picked from commit bb4447897a5f141eecf42987a1191a3330c5d7ed) 09 April 2019, 16:55:50 UTC
0a16bb1 closes bpo-35848: Move all documentation regarding the readinto out of IOBase. (GH-11893) Move all documentation regarding the readinto method into either io.RawIOBase or io.BufferedIOBase. Corresponding changes to documentation in the _pyio.py module. (cherry picked from commit 7b97ab35b28b761ab1253df427ee674b1a90f465) Co-authored-by: Steve Palmer <steve@srpalmer.me.uk> 09 April 2019, 04:57:31 UTC
2368d86 bpo-36565: Fix libregrtest for Python without builtin _abc (GH-12733) (GH-12734) Fix reference hunting (``python3 -m test -R 3:3``) when Python has no built-in abc module: fix _get_dump() reimplementation of libregrtest. (cherry picked from commit 79b5d29041bd85ea3baa050b3fa2481344ea35c9) Co-authored-by: Victor Stinner <vstinner@redhat.com> 08 April 2019, 23:54:16 UTC
1f0ff57 Correct "inplace" with "in-place" (GH-10480) (cherry picked from commit f4efa312d14bc792f59514c5696e29041e05deca) Co-authored-by: Andre Delfino <adelfino@gmail.com> 08 April 2019, 09:21:38 UTC
a9a065a bpo-9883: Update list of unimplemented interfaces in minidom. (GH-12677) Remove names from the "unimplemented interfaces" list in the minidom docs that are actually implemented. (cherry picked from commit 2ea8099523581cf2ecc060831a53debb57ff98ee) Co-authored-by: Stefan Behnel <stefan_ml@behnel.de> 08 April 2019, 02:55:58 UTC
1bc6cd7 Fix doc for create_subprocess_exec (GH-12598) Add missing `program` argument to asyncio.create_subprocess_exec documentation. (cherry picked from commit 1328375ad1c91f25a1500945a67b0ef36e387527) Co-authored-by: Dima Tisnek <dimaqq@gmail.com> 05 April 2019, 14:08:31 UTC
86fbe02 bpo-36404: recommend DeprecationWarning over PendingDeprecationWarning (GH-12505) (cherry picked from commit 176d26364bb67801fa522f52f20cbe44420d6942) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 05 April 2019, 09:07:21 UTC
6f9cd14 bpo-36522: Print all values for headers with multiple values. (GH-12681) (GH-12682) (cherry picked from commit 461c416dd78a98f2bba7f323af8c9738e060b6f2) Co-authored-by: Matt Houglum <houglum@google.com> 04 April 2019, 08:25:59 UTC
513d142 [3.7] bpo-36440: include node names in ParserError messages, instead of numeric IDs (GH-12565) (GH-12671) The error messages in the parser module are referring to numeric IDs for the nodes. To improve readability, use the node names when reporting errors.. (cherry picked from commit cb0748d3939c31168ab5d3b80e3677494497d5e3) Co-authored-by: tyomitch <tyomitch@gmail.com> 03 April 2019, 18:34:59 UTC
9c08eeb bpo-36504: Fix signed integer overflow in _ctypes.c's PyCArrayType_new(). (GH-12660) (cherry picked from commit 487b73ab39c80157474821ef9083f51e0846bd62) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 03 April 2019, 17:55:26 UTC
ef516d1 bpo-32413: Add documentation that at the module level, locals(), globals() are the same dictionary (GH-5004) https://bugs.python.org/issue32413 (cherry picked from commit 1c5fa5af8a95f25119e45e40a4ed8183d06f4a5b) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com> 02 April 2019, 18:14:50 UTC
9a838c5 bpo-35838: document optionxform must be idempotent (GH-12656) (cherry picked from commit 04694a306b8f4ab54ef5fc4ba673c26fa53b0ac1) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 02 April 2019, 09:29:16 UTC
5ca4fe0 bpo-13120: fix typo with test_issue13120() method name (GH-12250) Incorrect issue number '13210' added in 539ee5da6f. https://bugs.python.org/issue13120 (cherry picked from commit 9139f926a8d8e5b71830cb7e10b0807836b5e9a4) Co-authored-by: Daniel Hahler <github@thequod.de> 02 April 2019, 08:17:25 UTC
85730b8 Temporary workaround for an ACL issue on Ubuntu on Azure Pipelines (GH-12649) (cherry picked from commit b4bcefe5fe689ef5caf9c775f72c6d150f3e8ece) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 01 April 2019, 16:30:58 UTC
35fc38e bpo-36157:Document PyInterpreterState_Main() (GH-12238) I have added documentation for `PyInterpreterState_Main()`. I chose to place it under Advanced Debugger Support together with similar functions like `PyInterpreterState_Head()`, `PyInterpreterState_Next(`), and `PyInterpreterState_ThreadHead()` . https://bugs.python.org/issue36157 (cherry picked from commit 8c61739defd88c7f79e86537886c33745843ce01) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 01 April 2019, 15:15:10 UTC
8384670 bpo-20844: open script file with "rb" mode (GH-12616) (cherry picked from commit 10654c19b5e6efdf3c529ff9bf7bcab89bdca1c1) 01 April 2019, 12:02:51 UTC
a37f356 [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) The following arguments can be passed as keyword arguments for passing to other function if the corresponding required argument is passed as positional: - "func" in functools.partialmethod(), weakref.finalize(), profile.Profile.runcall(), cProfile.Profile.runcall(), bdb.Bdb.runcall(), trace.Trace.runfunc() and curses.wrapper(). - "function" in unittest.addModuleCleanup() and unittest.TestCase.addCleanup(). - "fn" in the submit() method of concurrent.futures.ThreadPoolExecutor and concurrent.futures.ProcessPoolExecutor. - "callback" in contextlib.ExitStack.callback(), contextlib.AsyncExitStack.callback() and contextlib.AsyncExitStack.push_async_callback(). - "c" and "typeid" in multiprocessing.managers.Server.create(). - "obj" in weakref.finalize(). (cherry picked from commit 42a139ed88c487f325a241c6ee8b308b3c045975) 01 April 2019, 07:59:24 UTC
5e23395 bpo-36150: Fix possible assertion failures due to _ctypes.c's PyCData_reduce(). (GH-12106) (GH-12642) (cherry picked from commit 5f2c50810a67982b0c80f6d3258fee3647f67005) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 31 March 2019, 17:15:11 UTC
3e78c7c bpo-36010: Add venv to the nuget distribution (GH-12367) (cherry picked from commit e724152796a5a41544f52054506c6c2248242a5d) Co-authored-by: Paul Moore <p.f.moore@gmail.com> 30 March 2019, 21:47:12 UTC
bd48280 bpo-24214: Fixed the UTF-8 incremental decoder. (GH-12603) (GH-12627) The bug occurred when the encoded surrogate character is passed to the incremental decoder in two chunks. (cherry picked from commit 7a465cb5ee7e298cae626ace1fc3e7d97df79f2e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 30 March 2019, 13:52:41 UTC
4724ba9 bpo-36434: Properly handle writing errors in ZIP files. (GH-12559) (GH-12628) Errors during writing no longer prevent to properly close the ZIP file. (cherry picked from commit 2524fdefc9bb2a97b99319190aeb23703079ad4c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 30 March 2019, 13:52:16 UTC
128e40f C API docs: Py_IsInitialized is always safe to call (GH-12630) (cherry picked from commit ddbb978e1065dde21d1662386b26ded359f4b16e) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 30 March 2019, 11:29:43 UTC
5b80cb5 bpo-17110: doc: add note how to get bytes from sys.argv (GH-12602) (cherry picked from commit 38f4e468d4b55551e135c67337c18ae142193ba8) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 30 March 2019, 05:38:14 UTC
40ee9a3 Fixed capital letters missing and missing . (GH-12584) No `bpo` for minor doc fix (cherry picked from commit 3d78c4a6e5ae91eaf337b6f5cc6e8bb01af7c7b1) Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr> 29 March 2019, 02:11:06 UTC
e9868c5 bpo-35941: Fix ssl certificate enumeration for windows (GH-12486) Add a function to collect certificates from several certificate stores into one certificate collection store that is then enumerated. This ensures we load as many certificates as we can access. (cherry picked from commit d93fbbf88e4abdd24a0a55e3ddf85b8420c62052) Co-authored-by: kctherookie <48805853+kctherookie@users.noreply.github.com> 28 March 2019, 18:56:50 UTC
1d9f1a0 bpo-36425: Add Simplified Chinese to the language switcher (GH-12537) (cherry picked from commit 45a5fdb91cee665161a8b1980bb4e6ccb999f58f) Co-authored-by: zhsj <zsj950618@gmail.com> 28 March 2019, 18:12:39 UTC
6fd3c85 bpo-36459: Fix a possible double PyMem_FREE() due to tokenizer.c's tok_nextc() (12601) Remove the PyMem_FREE() call added in cb90c89. The buffer will be freed when PyTokenizer_Free() is called on the tokenizer state. (cherry picked from commit cda139d1ded6708665b53e4ed32ccc1d2627e1da) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 28 March 2019, 15:08:35 UTC
3746635 [3.7] Fix NEWS entry with incorrect bpo number (GH-12600) 28 March 2019, 04:20:59 UTC
1ff04dc bpo-36245: Fix more empty environment variable checks (GH-12592) (cherry picked from commit b95a79c928fc4a6135d91c0c553cb2a63cf15140) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 28 March 2019, 00:01:31 UTC
9cad523 bpo-31292: Fixed distutils check --restructuredtext for include directives (GH-10605) (cherry picked from commit d5a5a33f12b60129d57f9b423b77d2fcba506834) Co-authored-by: Philipp A <flying-sheep@web.de> 27 March 2019, 22:25:57 UTC
65445f6 bpo-36441: Fixes creating a venv when debug binaries are installed. (GH-12566) (cherry picked from commit 4a9a505d6f2474a570422dad89f8d1b344d6cd36) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 27 March 2019, 15:47:57 UTC
101ddba Doc: Fixed missing punctuation in datamodel.rst (GH-12581) (cherry picked from commit 1fc5bf2ff27b898e8d9460d0fbc791e83009ed71) Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr> 27 March 2019, 10:18:36 UTC
ead1579 bpo-33832: Add "magic method" glossary entry (GH-7630) (cherry picked from commit f760610bddd7e8f8ac0914d5d59ef806bc16a73b) Co-authored-by: Andre Delfino <adelfino@gmail.com> 27 March 2019, 01:26:52 UTC
e16599c Minor doc improvement (GH-10341) Change "star-operator" to "* operator". (cherry picked from commit dfd775a0b1aee51d842b20cdebd97cc52c0b32e7) Co-authored-by: Andre Delfino <adelfino@gmail.com> 27 March 2019, 01:23:54 UTC
23eb816 bpo-36429: Fix starting IDLE with pyshell (GH-12548) Add idlelib.pyshell alias at top; remove pyshell alias at bottom. Remove obsolete __name__=='__main__' command. (cherry picked from commit 6a258c88906a7e8acde455ee2acb78b6f315ea0b) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 27 March 2019, 00:19:23 UTC
5ac6263 bpo-34203: FAQ: improve wording of paragraph about 2.x vs. 3.x (GH-9821) (cherry picked from commit 6cd658b1a5cb2413230dbc2d9395d20498be8518) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 26 March 2019, 21:20:29 UTC
20fde53 bpo-36436: Fix _testcapi.pymem_buffer_overflow() (GH-12560) Handle memory allocation failure. (cherry picked from commit 414b1cde93764cdabb0798b02af4dd7df954424d) Co-authored-by: Victor Stinner <vstinner@redhat.com> 26 March 2019, 15:39:03 UTC
0344085 bpo-36433: fix confusing error messages in classmethoddescr_call (GH-12556) https://bugs.python.org/issue36433 (cherry picked from commit 871309c775fd4d72048bfaa31affd54f9934f7dd) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 26 March 2019, 09:47:08 UTC
e0fe25b bpo-36430: Fix a possible reference leak in itertools.count(). (GH-12551) (cherry picked from commit 0523c39e7720b82b38ad793d3f1a5681adcdf873) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 26 March 2019, 06:26:42 UTC
eb94e5b Fix "the the" in the idle docs. (GH-12549) (cherry picked from commit 577277f669a6d5c626c142358a940a10d32813ff) Co-authored-by: Benjamin Peterson <benjamin@python.org> 26 March 2019, 04:52:39 UTC
bc8c263 bump to 3.7.3+ 25 March 2019, 23:31:06 UTC
3a1f71d Merge tag 'v3.7.3' into 3.7 25 March 2019, 23:28:53 UTC
b23b086 bpo-34085: Improve wording on classmethod/staticmethod (GH-8228) * bpo-34085: Improve wording on classmethod/staticmethod * Address comments from Éric * Address comments from Éric (cherry picked from commit 548cb6060ab9d5a66931ea2be4da08c2c72c9176) Co-authored-by: Andre Delfino <adelfino@gmail.com> 25 March 2019, 23:00:00 UTC
cdd8d4d bpo-36370: Check for PyErr_Occurred() after PyImport_GetModule() (GH-12504) 25 March 2019, 21:36:43 UTC
back to top