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

sort by:
Revision Author Date Message Commit Date
6a939c8 [3.6] Fix misleading mentions of tp_size in comments (GH-9137) Many type object initializations labeled a field "tp_size" in the comment, but the name of that field is tp_basicsize.. (cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238) Co-authored-by: Peter Eisentraut <peter@eisentraut.org> 10 September 2018, 17:23:03 UTC
8a0c254 bpo-23855: Add missing NULL checks for malloc() in _msi.c (GH-9038) (cherry picked from commit 4e519377b1b84c9414a360961276993d24198825) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 10 September 2018, 16:41:31 UTC
afb25bc bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077) The recursive frame pruning code always undercounted the number of elided frames by one. That is, in the "[Previous line repeated N more times]" message, N would always be one too few. Near the recursive pruning cutoff, one frame could be silently dropped. That situation is demonstrated in the OP of the bug report. The fix is to start the identical frame counter at 1. (cherry picked from commit d545869d084e70d4838310e79b52a25a72a1ca56) Co-authored-by: Benjamin Peterson <benjamin@python.org> 10 September 2018, 16:10:21 UTC
9f5351e Test dict values iterator pickling with pickle.HIGHEST_PROTOCOL. (GH-9052) (cherry picked from commit 1f36bf6077d93cb43fd84bea4a8a625fa772d1fa) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 10 September 2018, 10:32:53 UTC
8eda821 Revert "Fix misindented yaml in logging how to example (GH-8604)" (GH-9081) This reverts commit 10b59f1b019cd00c940dd7f4a74c4f667a20f25f. (cherry picked from commit 290a60bd8af7b1d7e7931aa4dd4eace60d355d76) Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com> 10 September 2018, 09:19:20 UTC
1bcd891 [3.6] bpo-34604: Fix possible mojibake in pwd.getpwnam() and grp.getgrnam() (GH-9098) (GH-9105) Pass the user/group name as Unicode to the formatting function, instead of always decoding a bytes string from UTF-8.. (cherry picked from commit 28658485a54ad5f9df52ecc12d9046269f1654ec) Co-authored-by: William Grzybowski <wg@FreeBSD.org> 09 September 2018, 11:26:48 UTC
3b36642 bpo-34421 avoid unicode error in distutils logging (GH-8799) This caused installation errors in some cases on Windows. Patch by Julien Malard. (cherry picked from commit 0afada163c7ef25c3a9d46ed445481fb69f2ecaf) Co-authored-by: Julien Malard <julien.malard@mail.mcgill.ca> 08 September 2018, 20:44:20 UTC
eb6ab73 [3.6] bpo-34246: Use no mutable default args in smtplib (GH-8554) (#9112) Some methods of the SMTP class use mutable default arguments. Specially `send_message` is affected as it mutates one of the args by appending items to it, which has side effects on further calls.. (cherry picked from commit d5fbe9b1a3d65ceeb9159c5ba999ee966a945f76) Co-authored-by: Pablo Aguiar <scorphus@gmail.com> 08 September 2018, 01:20:27 UTC
963bcc8 [3.6] bpo-34007: Skip traceback tests if the Program Counter is not available. (GH-9022) Sometimes some versions of the shared libraries that are part of the traceback are compiled in optimised mode and the Program Counter (PC) is not present, not allowing gdb to walk the frames back. When this happens, the Python bindings of gdb raise an exception, making the test impossible to succeed. (cherry picked from commit f2ef51f8bec525b21e52988880c8a029642795ed) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 07 September 2018, 22:10:28 UTC
9eeecfd [3.6] bpo-34594: Don't hardcode errno values in the tests. (GH-9096) (cherry picked from commit b03c2c51909e3b5b5966d86a2829b5ddf2d496aa) 07 September 2018, 16:17:08 UTC
23f427a [3.6] bpo-34563: Fix for invalid assert on big output of multiprocessing.Process (GH-9027) (GH-9069) Fix for invalid assert on big output of multiprocessing.Process. (cherry picked from commit 266f4904a222a784080e29aad0916849e507515d) 07 September 2018, 12:17:18 UTC
3ee0743 bpo-25750: fix refcounts in type_getattro() (GH-6118) (GH-9088) When calling tp_descr_get(self, obj, type), make sure that we own a strong reference to "self". (cherry picked from commit 8f735485acf2e35a75d2fa019feb8f905598c4e5) Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be> 07 September 2018, 07:57:45 UTC
1a3eb12 [3.7] bpo-26544: Get rid of dependence from distutils in platform. (GH-8356) (GH-8970) (GH-9061) (cherry picked from commit 7d81e8f5995df6980a1a02923e224a481375f130) (cherry picked from commit 20a8392cec2967f15ae81633c1775645b3ca40da) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 September 2018, 14:45:57 UTC
e2c1657 bpo-34530: Fix distutils find_executable() (GH-9049) (GH-9057) distutils.spawn.find_executable() now falls back on os.defpath if the PATH environment variable is not set. (cherry picked from commit 39487196c87e28128ea907a0d9b8a88ba53f68d5) Co-authored-by: Victor Stinner <vstinner@redhat.com> 05 September 2018, 14:45:08 UTC
635461f [3.6] bpo-34575: Build with only VS2015 on AppVeyor (GH-9066) Remove VS2017 image from AppVeyor config. We're currently having caching issues between the two images, and VS2017 builds are tested by VSTS. Removing that one here will significantly decrease the time that AppVeyor builds take on this branch. 05 September 2018, 14:42:53 UTC
f4c4d99 Fix struct sequence glossary entry grammar (GH-9030) ... by removing a superfluous "either". Reported by Никита Люшненко on docs@. (cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d) Co-authored-by: Zachary Ware <zachary.ware@gmail.com> 02 September 2018, 02:13:43 UTC
8926707 Add VSTS status badge to readme (GH-8958) 31 August 2018, 15:18:12 UTC
4ff3887 bpo-34527: Fix FreeBSD with POSIX locale (GH-8975) On FreeBSD, Py_DecodeLocale() and Py_EncodeLocale() now also forces the ASCII encoding if the LC_CTYPE locale is "POSIX", not only if the LC_CTYPE locale is "C". 28 August 2018, 12:53:31 UTC
204fb45 bpo-34503: Fix refleak in PyErr_SetObject() (GH-8934) (cherry picked from commit a2eefa67542c25617a58c03a27c17fd48e2a0856) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 26 August 2018, 17:13:46 UTC
d60bdf2 closes bpo-34504: Remove the useless NULL check in PySequence_Check(). (GH-8935) Reported by Svace static analyzer. (cherry picked from commit b57b4ac042b977e0b42a2f5ddb30ca7edffacfa9) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 26 August 2018, 00:14:37 UTC
323a91b closes bpo-34501: PyType_FromSpecWithBases: Check spec->name before dereferencing it. (GH-8930) Reported by Svace static analyzer. (cherry picked from commit 5f79b50763d687aeeed8edcb4efcc7ac9f8fa186) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 25 August 2018, 19:17:13 UTC
0433f8e Fix markup in stdtypes documentation (GH-8905) (cherry picked from commit 2e5d2ea2089e111fb8e5b8c5916242da2906c399) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 25 August 2018, 14:14:48 UTC
c47acc2 bpo-13312: Avoid int underflow in time year. (GH-8912) Avoids an integer underflow in the time module's year handling code. (cherry picked from commit 76be0fffff8b7dbe649ad4821144461800ffb0d0) Co-authored-by: Gregory P. Smith <greg@krypto.org> 25 August 2018, 05:53:20 UTC
2443766 Make it more clear that setUpClass runs before each class, not "class run" (GH-8844) (cherry picked from commit c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf) Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> 25 August 2018, 02:26:49 UTC
b26fcd6 bpo-34426: fix typo (__lltrace__ -> __ltrace__) (GH-8822) (cherry picked from commit 09efe49c07e2d5f93b415ead757c87e20cc0026f) Co-authored-by: Danish Prakash <grafitykoncept@gmail.com> 25 August 2018, 02:15:56 UTC
0e707b4 bpo-6700: Fix inspect.getsourcelines for module level frames/tracebacks (GH-8864) (cherry picked from commit 91cb298f811961277fd4cc4a32211899d48bedcb) Co-authored-by: Vladimir Matveev <v2matveev@outlook.com> 24 August 2018, 14:41:39 UTC
902f161 closes bpo-34468: Objects/rangeobject.c: Fix an always-false condition in range_repr() (GH-8880) Also, propagate the error from PyNumber_AsSsize_t() because we don't care only about OverflowError which is not reported if the second argument is NULL. Reported by Svace static analyzer. (cherry picked from commit 7ecae3ca0bda3cacf3b0125bae0bc718a17cc071) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 24 August 2018, 05:45:40 UTC
7d470f3 closes bpo-34474: Python/bltinmodule.c: Add missing NULL check in builtin_sum_impl() (GH-8872) Reported by Svace static analyzer. (cherry picked from commit 2b824b2538c4a5f9f520c5de8a1eae5a0c181a94) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 24 August 2018, 05:10:58 UTC
fbe359a closes bpo-34477: Objects/typeobject.c: Add missing NULL check to type_init() (GH-8876) Reported by Svace static analyzer. (cherry picked from commit f6247aac08c1a79d0479145a405718bb76dba434) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 24 August 2018, 04:49:29 UTC
945771b bpo-34436: Fix check that disables overallocation for the last fmt specifier (GH-8826) Reported by Svace static analyzer. (cherry picked from commit ccd99752675042bd5f67d332c5b0ed85ba1f2da3) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 23 August 2018, 08:14:54 UTC
0ef61ee bpo-34457: Python/ast.c: Add missing NULL check to alias_for_import_name(). (GH-8852) Reported by Svace static analyzer. (cherry picked from commit 28853a249b1d0c890b7e9ca345290bb8c1756446) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 22 August 2018, 05:54:55 UTC
b14a68f bpo-34456: pickle: Add missing NULL check to save_global(). (GH-8851) Reported by Svace static analyzer. (cherry picked from commit f8c06b028036e50596e75d4c9f6b27ba05133efe) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 22 August 2018, 05:54:39 UTC
e496b2b bpo-34400: Fix more undefined behavior in parsetok.c (GH-8833) (cherry picked from commit 3e26e42c905852394fa136f1cc564dac98b56166) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 21 August 2018, 03:35:46 UTC
92970cc bpo-30411: Use --git-dir instead of -C to make git work under version below 1.8.5. (GH-8744) (cherry picked from commit 4c8555773a801f957297132a92c0acb382d640e4) Co-authored-by: Xiang Zhang <angwerzx@126.com> 20 August 2018, 15:00:07 UTC
e77cdae bpo-34435: Add missing NULL check to unicode_encode_ucs1(). (GH-8823) Reported by Svace static analyzer. (cherry picked from commit 74a307d48ef8b278c4629ca0ef2139be1c9a34e6) Co-authored-by: Alexey Izbyshev <izbyshev@users.noreply.github.com> 19 August 2018, 20:19:18 UTC
f19579b bpo-22057: Clarify eval() documentation (GH-8812) If a globals dictionary without a '__builtins__' key is passed to eval(), a '__builtins__' key will be inserted to the dictionary: >>> eval("print('__builtins__' in globals())", {}) True (As a result of this behavior, we can use the builtins print() and globals() even if we passed a dictionary without a '__builtins__' key to eval().) (cherry picked from commit 225b05548027d55aafb11b65f6a4a2bef2f5196f) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 19 August 2018, 10:32:12 UTC
fed8718 bpo-34415: Updated logging.Formatter docstring. (GH-8811) (GH-8816) (cherry picked from commit d3d3171da895d8cb880f23fae6be778f0ac23be7) 19 August 2018, 07:19:32 UTC
fbd0a14 bpo-34432: doc Mention complex and decimal.Decimal on str.format not about locales (GH-8808) (GH-8810) (cherry picked from commit 93b5655c040a33f9ba4cdbd303afc8398c8413c7) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 18 August 2018, 18:16:02 UTC
4d4d23d bpo-34381: refer to 'Running & Writing Tests' in README.rst (GH-8797) (cherry picked from commit cae8ff93a696aa7d74562a9eeaf27afac1f181b4) Co-authored-by: Michael Osipov <1983-01-06@gmx.net> 17 August 2018, 21:51:48 UTC
02c4d4b bpo-34418: Fix HTTPErrorProcessor documentation (GH-8793) The http_response() and https_response() methods of the HTTPErrorProcessor class have two required parameters, 'request' and 'response'. (cherry picked from commit c53aaec793e018edef4e72a3edbd338b10db10aa) Co-authored-by: Sebastian Rittau <srittau@rittau.org> 17 August 2018, 10:35:52 UTC
cabe916 [3.6] bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787) (#8790) Read from data socket to avoid "[SSL] shutdown while in init" exception during shutdown of the dummy server. Signed-off-by: Christian Heimes <christian@python.org> <!-- issue-number: [bpo-34391](https://www.bugs.python.org/issue34391) --> https://bugs.python.org/issue34391 <!-- /issue-number --> (cherry picked from commit 1590c393360df059160145e7475754427bfc6680) Co-authored-by: Christian Heimes <christian@python.org> 16 August 2018, 19:38:03 UTC
b14ab44 bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). (GH-8756) (cherry picked from commit 67b9cc8e6072a919d2ed7e7ecc8124c8acfb3733) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 16 August 2018, 04:57:03 UTC
eeca87c bpo-34405: Updated to OpenSSL 1.0.2p for Windows builds. (GH-8776) 15 August 2018, 20:29:39 UTC
5e9551b [3.6] bpo-34399: 2048 bits RSA keys and DH params (GH-8762) (GH-8764) Downstream vendors have started to deprecate weak keys. Update all RSA keys and DH params to use at least 2048 bits. Finite field DH param file use RFC 7919 values, generated with certtool --get-dh-params --sec-param=high Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 88bfd0bce05043f658e50addd21366f317995e35) Co-authored-by: Christian Heimes <christian@python.org> 15 August 2018, 07:24:50 UTC
981aa46 closes bpo-34400: Fix undefined behavior in parsetok(). (GH-4439) Avoid undefined pointer arithmetic with NULL. (cherry picked from commit 7c4ab2afb17b99eb3f61f9c73cbd548b5e0ad2c0) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 15 August 2018, 07:08:29 UTC
3e630c5 bpo-33570: TLS 1.3 ciphers for OpenSSL 1.1.1 (GH-6976) (GH-8760) Change TLS 1.3 cipher suite settings for compatibility with OpenSSL 1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by default. Also update multissltests to test with latest OpenSSL. Signed-off-by: Christian Heimes <christian@python.org> 15 August 2018, 07:07:28 UTC
2a4ee8a bpo-32947: Fixes for TLS 1.3 and OpenSSL 1.1.1 (GH-8761) Backport of TLS 1.3 related fixes from 3.7. Misc fixes and workarounds for compatibility with OpenSSL 1.1.1 from git master and TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by default. Some test cases only apply to TLS 1.2. OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS 1.3. The feature is enabled by default for maximum compatibility with broken middle boxes. Users should be able to disable the hack and CPython's test suite needs it to verify default options Signed-off-by: Christian Heimes <christian@python.org> 14 August 2018, 14:56:32 UTC
4ee06b3 smtplib documentation fixes (GH-8708) * SMTP.startssl: Fix doc on keyfile and certfile use * SMTP.startssl: Add missing keyfile and certfile deprecation notice * SMTP: Doc grammar fixes (cherry picked from commit da12063f2f53b7d272824863ed24260cefb22e8c) Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> 13 August 2018, 03:51:02 UTC
4cd33cd Fix misindented yaml in logging how to example (GH-8604) (cherry picked from commit 10b59f1b019cd00c940dd7f4a74c4f667a20f25f) Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com> 13 August 2018, 00:06:30 UTC
72f5189 Fix the versionadded indentation in exec_module doc (GH-8719) (cherry picked from commit 65b5ef02ec1f44e3a19b689a1ecf73d01c82161b) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 12 August 2018, 07:04:09 UTC
fe62d36 closes bpo-34377: Update Valgrind suppressions. (GH-8734) Valgrind isn't seeing PyObject_Free/PyObject_Realloc, but using _PyObject_Free/_PyObject_Realloc works. (cherry picked from commit db6075ab3aa44f69c13c4a169806d08596d25003) Co-authored-by: Paul Price <price@astro.princeton.edu> 11 August 2018, 21:07:52 UTC
eb6ed12 bpo-34379: Doc: Move note for json.dump (GH-8730) (cherry picked from commit 9e840848510d20e644a19c723b803877377d3765) Co-authored-by: Evan Allrich <eallrich@gmail.com> 11 August 2018, 09:13:04 UTC
ca4badb bpo-34047: IDLE: fix mousewheel scrolling direction on macOS (GH-8678) (cherry picked from commit 077059e0f086cf8c8b7fb9d1f053e38ddc743f59) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 10 August 2018, 06:58:56 UTC
af56c68 Improve grammar of asynchronous iterator glossary entry (GH-8657) (cherry picked from commit cf2c5e8e2867e41d34079b2e464bbbe653fb7981) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 09 August 2018, 16:20:58 UTC
0ee2a29 bpo-34324: Doc README wrong directory name for venv (GH-8650) In the documentation, the `env` directory is specified when we execute the `make venv` command. But in the code, `make venv` will create the virtualenv inside the `venv` directory (defined by `VENVDIR`) (cherry picked from commit 599bfa18f8ebcb23af300b6855934048c3c64e7d) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 09 August 2018, 15:17:10 UTC
f2bb20e Make code examples in Functional Programming HOWTO to be PEP 8 compliant. (GH-8646) (cherry picked from commit db8707c8ab57d9454c838586c08199c82a3d74d9) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 07 August 2018, 23:01:24 UTC
6fc46a3 VSTS: Skip build steps when only docs have changed (GH-8546) 07 August 2018, 15:43:29 UTC
671a13a bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634) (cherry picked from commit e4dcbbd7f4ac18d01c0ec85f64ae98b8281ed403) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 07 August 2018, 02:38:05 UTC
b0bf51b bpo-31047: Fix ntpath.abspath for invalid paths (GH-8544) 07 August 2018, 00:08:39 UTC
3da5c5c bpo-34319: Clarify file handler closure in pathlib.read_text (GH-8645) Patch by Terry Jan Reedy. (cherry picked from commit 5b2657fb8c5aaa98e5748e1c325c74b97ea12fd1) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com> 06 August 2018, 20:04:30 UTC
278d975 [3.6] bpo-34272: Move argument parsing tests from test_capi to test_getargs2. (GH-8567). (GH-8690) (cherry picked from commit 8f7bb100d0fa7fb2714f3953b5b627878277c7c6) 06 August 2018, 14:34:46 UTC
ed8dd59 bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (GH-8673) * bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. The change in the mini language floating point and decimal table is consistent with 'Exponential notation' and clarifies that we are referring to the output notation, not an object type. * Update string.rst * Update string.rst * Update string.rst * Update string.rst (cherry picked from commit 28c7f8c8ce34a0cb848822a252a9d0a761fb42d5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 06 August 2018, 12:49:34 UTC
e20d31c bpo-19891: Ignore error while writing history file (GH-8483) (cherry picked from commit b2499669ef2e6dc9a2cdb49b4dc498e078167e26) Co-authored-by: Anthony Sottile <asottile@umich.edu> 06 August 2018, 09:15:42 UTC
02c4eae bpo-34336: Don't promote possibility to leave out typing.Optional (GH-8677) (cherry picked from commit 336c945858055059a65134d4c501a85037d70d99) Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> 05 August 2018, 17:22:47 UTC
2474cef bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests (GH-7683) * make CallTip and ToolTip sub-classes of a common abstract base class * remove ListboxToolTip (unused and ugly) * greatly increase test coverage * tested on Windows, Linux and macOS (cherry picked from commit 87e59ac11ee074b0dc1bc864c74fac0660b27f6e) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 05 August 2018, 06:58:06 UTC
c018074 Fix reST markup in unittest documentation (GH-8665) (cherry picked from commit 2e5566d9e774dcde81e8139b486730917816e045) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 03 August 2018, 22:17:15 UTC
764f9d0 bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655) (cherry picked from commit 46dc4e34ed8005a688d7f3512844ef227a3465f4) Co-authored-by: Stefan Otte <stefan.otte@gmail.com> 03 August 2018, 21:45:20 UTC
f0e3da8 bpo-30317: Fix multiprocessing test_timeout() (GH-8621) Multiprocessing test_timeout() now accepts a delta of 100 ms instead of just 50 ms, since the test failed with 135.8 ms instead of the expected 200 ms. (cherry picked from commit 5640d030e100aade54210034828b711c3b506b18) Co-authored-by: Victor Stinner <vstinner@redhat.com> 03 August 2018, 21:00:53 UTC
aae872e Fix docstring of Profiler class (GH-8651) (cherry picked from commit 2ebd3813af9172fe1f9b2f6004edf6f1e1e5d9f1) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> 03 August 2018, 10:18:45 UTC
7244954 Improve the grammar in `range` documentation. (GH-8628) Remove unnecessary "that" in the sentence. (cherry picked from commit b6efc2cf9701adfb901eec2fe6a418893739877a) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 03 August 2018, 06:16:29 UTC
363105e bpo-34275: Make IDLE calltips always visible on Mac. (GH-8639) Some MacOS-tk combinations need .update_idletasks(). The call is both unneeded and innocuous on Linux and Windows. Patch by Kevin Waltzer. (cherry picked from commit 9beaef6225cdae972b1cccd5310828cc29bf9d33) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 03 August 2018, 03:33:47 UTC
295342a bpo-27910: Update documentation of traceback module (GH-6116) In the documentation for the traceback module, the definitions of functions extract_tb(), format_list() and classmethod StackSummary.from_list() mention the old style 4-tuples that these functions used to return or accept. Since Python 3.5, however, they return or accept a FrameSummary object instead of a 4-tuple, or a StackSummary object instead of a list of 4-tuples. Co-authored-by: torsava <torsava@redhat.com> Co-Authored-By: Berker Peksag <berker.peksag@gmail.com> (cherry picked from commit f394ee5eaf6d6d8f45e0478e77d4dbff25c6bea7) 02 August 2018, 17:00:57 UTC
8c4a005 bpo-34120: fix text viewer to call grab_release() only when needed (GH-8616) (cherry picked from commit dd74369cb7b230b07ac3a031563406c8f2aae17f) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 02 August 2018, 08:31:14 UTC
9fcfb7b bpo-34120: fix IDLE freezing after closing dialogs (GH-8603) Added missing .grab_release() calls to all places where we call .grab_set(). (cherry picked from commit 10ea9409ceb5da83cb380b610750551e26561044) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 02 August 2018, 07:14:24 UTC
6f16ffc [3.6] bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532) (GH-8587) 31 July 2018, 15:28:56 UTC
ada5d99 [3.6] bpo-33871: Fix os.sendfile(), os.writev(), os.readv(), etc. (GH-7931) (GH-8584) * Fix integer overflow in os.readv(), os.writev() and in os.sendfile() with headers or trailers arguments (on BSD-based OSes and MacOS). * Fix sending the part of the file in os.sendfile() on MacOS. Using the trailers argument could cause sending more bytes from the input file than was specified. Thanks Ned Deily for testing on 32-bit MacOS. (cherry picked from commit 9d5727326af53ddd91016d98e16ae7cf829caa95) 31 July 2018, 09:58:58 UTC
0b376eb bpo-27671: Update FAQ about why len is function (GH-8432) (cherry picked from commit c48e26dcadbff8620bb5881d3bd148fc8894d0ef) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> 31 July 2018, 05:56:27 UTC
a7bd4bb Use 'for example' instead of 'in other words' in compound statement doc (GH-8401) (cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 30 July 2018, 19:47:24 UTC
15bbae7 Fix typos & formatting in Using Python on Windows doc (GH-8559) (cherry picked from commit 8e7e8bd8984068e3245d64b9a21e6840880747af) Co-authored-by: Segev Finer <segev208@gmail.com> 30 July 2018, 17:20:31 UTC
05a10b6 Updated MSI README to mention dependency on .NET 3.5. (GH-8375) (cherry picked from commit c536beedd50b0071208b4108ba9b48a36ffced79) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> 29 July 2018, 10:25:09 UTC
28bbbda bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. (GH-7911) Co-authored-by: ValeriyaSinevich <valeriya.sinevich@phystech.edu> 29 July 2018, 09:32:30 UTC
94972d5 bpo-8145: Improve isolation_level documentation (GH-8499) Initial patch by R. David Murray. (cherry picked from commit a71fed0b7596f1c11a2fa6c1b7311157148f5f9f) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 29 July 2018, 09:07:40 UTC
8f6a7e1 bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. (GH-8464) (cherry picked from commit 5473f061f518aef5367a535999a407305fb12aff) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 29 July 2018, 09:02:16 UTC
3100b7e bpo-29710: Clarify documentation for Bitwise binary operation (GH-1691) Mathematically, bitwise operations on integers behave as if there were an infinite number of sign bits. Pragmatically, that gives the same answer as using one extra sign bit for the bitwise logical operations. (cherry picked from commit b4bc5cab82e6855e4ebc33ba0b669ddffad30fb3) Co-authored-by: Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com> 28 July 2018, 16:52:31 UTC
f17e001 bpo-33476: Fix _header_value_parser when address group is missing final ';' (GH-7484) (cherry picked from commit 8fe9eed937cb69b5e26ac6e36a90b5360eb11277) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 28 July 2018, 15:59:18 UTC
30f295b bpo-33921: Clarify how to bind to all interfaces using socket (GH-7877) Clarify how to bind to all interfaces using socket (cherry picked from commit 95dfb9c3aefdc981d23af700b753a6c97159ccad) Co-authored-by: johnthagen <johnthagen@users.noreply.github.com> 28 July 2018, 12:27:27 UTC
0041d72 [3.6] bpo-5978: Document that profiling needs cmd/function to return (GH-8515) <!-- issue-number: bpo-5978 --> https://bugs.python.org/issue5978 <!-- /issue-number --> (cherry picked from commit 937fb55d35373fd2701078251840b6be0465a6e1) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 28 July 2018, 12:24:35 UTC
9d85856 bpo-30722: Fix NEWS entry (GH-8501) 27 July 2018, 16:17:53 UTC
6ea8a3a [3.6] bpo-29097: Forego fold detection on windows for low timestamp values (GH-2385) (GH-8498) On Windows, passing a negative value to local results in an OSError because localtime_s on Windows does not support negative timestamps. Unfortunately this means that fold detection for timestamps between 0 and max_fold_seconds will result in this OSError since we subtract max_fold_seconds from the timestamp to detect a fold. However, since we know there haven't been any folds in the interval [0, max_fold_seconds) in any timezone, we can hackily just forego fold detection for this time range on Windows.. (cherry picked from commit 96d1e69a12ed8ab80203277e1abdaf573457a964) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com> 27 July 2018, 14:59:27 UTC
777cdd9 bpo-34177: vsts: Avoid conflict with Homebrew Python (GH-8430) /usr/local/lib/pythonX.Y is used by Homebrew's Python already. (cherry picked from commit 3e7d18a54b9243b9652c9ddab87c2b9153dc365f) 27 July 2018, 09:03:53 UTC
146ba43 bpo-12743: Delete comment from marshal.rst (GH-8457) Also, update the list of exceptions that may raised by PyMarshal_* functions. We usually don't document exceptions raised by a function, but in this case most of them were already documented in C API and standard library documentation. (cherry picked from commit defcffdf86780e3a184ebb25dc9a7b807753d57a) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 27 July 2018, 04:42:44 UTC
cecbe0a bpo-32663 Make SMTPUTF8SimTests run (GH-5314) (#8470) Enable and fix SMTPUTF8SimTests in test_smtplib. The tests for SMTPUTF8SimTests in test_smtplib.py were not actually being run because test_smtplib was still using the 'test_main' pattern, and the class was never added to test_main. Additionally, one of the tests needed to be moved to the non-UTF8 server class because it relies on the server not being UTF-8 compatible (and it had a bug in in). (cherry picked from commit 48ed88a93bb0bbeaae9a4cfaa533e4edf13bcb51) Co-authored-by: chason <chason@gmail.com> 26 July 2018, 14:02:22 UTC
cfadd1c bpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208) (cherry picked from commit c0f0a7669c73c0d444851dd4c5299de2479214cc) Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com> 25 July 2018, 17:40:32 UTC
a096cc6 Fix site module documentation. (GH-8441) The script will exit with the number 0 (zero), instead of the letter O. (cherry picked from commit 95d34c2a37f4c5046f6439abef881925d34fe4ac) Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> 24 July 2018, 17:31:11 UTC
113f86e [3.6] bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351) (GH-8436) Now base64.Error is always raised instead of UnboundLocalError or OverflowError. (cherry picked from commit ac0b3c2f4d86fc056b833a4e6b9a380741244a63) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 24 July 2018, 12:06:59 UTC
9b33ca0 [3.6] bpo-34136: Make test_do_not_recreate_annotations more reliable. (GH-8364) (GH-8366) (cherry picked from commit 06ca3f0c09d017b9d741553818459cca2d5da587) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 24 July 2018, 12:06:19 UTC
ec729d5 bpo-34084: Fix setting an error message for the "Barry as BDFL" easter egg. (GH-8262) (GH-8424) (cherry picked from commit aba24ff3601ddc86b85e01880a8be596fb799287) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 23 July 2018, 22:41:48 UTC
5b3643d bpo-33468: Add try-finally contextlib.contextmanager example (GH-7816) (GH-8426) (cherry picked from commit bde782bb594edffeabe978abeee2b7082ab9bc2a) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com> 23 July 2018, 21:38:24 UTC
1127849 bpo-33336, imaplib: Legalize MOVE command (GH-6569) imaplib now allows MOVE command in IMAP4.uid() (RFC 6851: IMAP MOVE Extension) and potentially as a name of supported method of IMAP4 object. (cherry picked from commit caa331d492acc67d8f4edd16542cebfabbbe1e79) Co-authored-by: Matěj Cepl <mcepl@cepl.eu> 23 July 2018, 13:17:25 UTC
1724c0c bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406) When Python is installed on Windows, python -m test test_tools failed because it tried to run Tools\scripts\2to3.py which requires an argument. Skip this script. On other platforms or on Windows but when run from source code (not installed), the script is called "2to3" instead of "2to.py" and so was already skipped. Modify also the unit test to unload all modules which have been loaded by the test. (cherry picked from commit 752d4b7531093c55d6f0a5846748f981d79b29d3) Co-authored-by: Victor Stinner <vstinner@redhat.com> 23 July 2018, 12:34:20 UTC
back to top