Staging
v0.8.1

sort by:
Revision Author Date Message Commit Date
ab99475 Remove to-be-deprecated urllib.request.urlretrieve function reference (GH-6454) (cherry picked from commit c89b22175807d64c47b598163b804b5dc005d1bb) Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com> 16 April 2018, 14:21:57 UTC
1672c2f bpo-33184: Update Windows installer to OpenSSL 1.0.2o (GH-6464) 14 April 2018, 00:31:16 UTC
e98e338 Fix error messages in argparse examples (GH-6435) The examples in argparse documentation use `error: too few arguments` error message which was removed in this commit f97c59a in 2011. (cherry picked from commit 04e82934659487ecae76bf4a2db7f92c8dbe0d25) Co-authored-by: suic86 <marko.gabriel.cz@gmail.com> 11 April 2018, 19:05:52 UTC
910d71b bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439) (cherry picked from commit f178028f37c9dafb72608b719eb03e5a70af4ff5) Co-authored-by: Devon R <Gorialis@users.noreply.github.com> 10 April 2018, 06:07:14 UTC
83bb399 [3.6] bpo-31201: Clarify command to re-run failing test(s) with example (GH-6417) (GH-6438) (cherry picked from commit 0f914b5b5f6ba186afd7112fc851c97247076f70) Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com> 09 April 2018, 21:19:32 UTC
e0dbc57 bpo-31920: Fixed handling directories as arguments in the ``pygettext`` script. (GH-6259) Based on patch by Oleg Krasnikov. (cherry picked from commit c93938b5beea4c3f592119ebee6d4029558db8de) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 April 2018, 18:06:09 UTC
2d01ac5 Fix misleading docsting of shelve.open(). (GH-6427) The protocol parameter can be any protocol supported by the pickle module. (cherry picked from commit 2ef65f346a5e829a886c075f519e3a49a2ebbde7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 April 2018, 15:06:25 UTC
1429ac9 [3.6] Improve highlighting of some code blocks. (GH-6401). (GH-6424) (cherry picked from commit 46936d5a71d1683dbd8ddb6d7f39aab50ecfec50) 09 April 2018, 14:57:07 UTC
335efd7 Update docstring of tempfile._RandomNameSequence (GH-6414) When bpo-12015 got resolved by increasing the length of the random string generated by _RandomNameSequence from six to eight characters, the docstring of the class was not adjusted accordingly. (cherry picked from commit 9c463ec88ba21764f6fff8e01d6045a932a89438) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> 09 April 2018, 01:26:56 UTC
280a767 Add a prepend() recipe to teach a chain() idiom (GH-6415) (GH-6422) (cherry picked from commit 9265dd72e5ec1cfa5fcdb5be8ebffe1d9994bd4b) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 08 April 2018, 21:37:47 UTC
b603609 [3.6] bpo-33201: Modernize "Extension types" doc (GH-6337) (GH-6412) * bpo-33201: Modernize "Extension types" doc * Split tutorial and other topics * Some small fixes * Address some review comments * Rename noddy* to custom* and shoddy to sublist * Fix markup. (cherry picked from commit 1d80a561734b9932961c546b0897405a3bfbf3e6) 07 April 2018, 16:35:35 UTC
76215a4 bpo-33184: Update macOS installer build to use OpenSSL 1.0.2o. (GH-6408) 07 April 2018, 07:04:03 UTC
70c4446 [3.6] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179) (GH-6406) (cherry picked from commit ef5ce884a41c8553a7eff66ebace908c1dcc1f89) Co-authored-by: Jay Crotts <crotts.jay@gmail.com> 07 April 2018, 02:01:03 UTC
3468a05 [3.6] bpo-29673: fix gdb scripts pystack and pystackv (GH-6126) (GH-6400) (cherry picked from commit 3a9ccee0e5dbf7d67f5ab79f6095755969db117c) Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com> 06 April 2018, 22:15:34 UTC
2350a47 bpo-33231: Fix potential leak in normalizestring() (GH-6386) (cherry picked from commit 0c1c4563a65ac451021d927058e4f25013934eb2) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> 06 April 2018, 07:37:03 UTC
8da15f0 bpo-33224: PEP 479 fix for difflib.mdiff() (GH-6381) (GH-6391) (cherry picked from commit 01b731fc2b04744a11e32f93aba8bfb9ddb3dd29) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 05 April 2018, 19:18:02 UTC
e25af93 bpo-33203: Ensure random.choice always raises IndexError on empty sequence (GH-6338) (GH-6388) (cherry picked from commit 091e95e9004b794280ab35becec2c3e30dd5e96e) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> 05 April 2018, 16:24:27 UTC
29bc6f6 bpo-33195: Doc: Deprecate Py_UNICODE in c-api/arg (GH-6329) Py_UNICODE is deprecated since Python 3.3. But the deprecation is missed in the c-api/arg document. (cherry picked from commit 42ec190) 05 April 2018, 09:08:43 UTC
1487cd1 bpo-29922: Add more tests for error messages in 'async with'. (GH-6370) Different paths are executed for normal exit and for leaving the 'async with' block with 'break', 'continue' or 'return'. (cherry picked from commit 2eeac269dd1e04a2a179384576986c3e47895ee0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 April 2018, 17:18:56 UTC
4fd6c27 bpo-29922: Improve error messages in 'async with' (GH-6352) when __aenter__() or __aexit__() return non-awaitable object. (cherry picked from commit a68f2f0578bbf812fa2264d0e0bb388340d6e230) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 April 2018, 14:09:14 UTC
a5c8830 bpo-33209: End framing at the end of C implementation of pickle.Pickler.dump(). (GH-6363) (cherry picked from commit c869529ea9fbed574d34cf7ac139ca3f81b62ef0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 03 April 2018, 22:05:11 UTC
fa5157e closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir (GH-6335) (cherry picked from commit badb894bbbb8aaa8b669c4a6f675a0bc7d98e188) Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com> 03 April 2018, 03:39:14 UTC
9a90826 bpo-33199: Initialize ma_version_tag in PyDict_Copy (GH-6341) (cherry picked from commit d1c82c5cc7be0c21dddf86fd19c1702f6218459b) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> 03 April 2018, 03:22:14 UTC
306559e bpo-33204: IDLE - revise and extend colorizer test. (GH-6347) Followup to primary PR for the issue, GH-6344. (cherry picked from commit 55966f3a0d5f1bf823bd22ce1abbde267b06552f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 02 April 2018, 16:12:56 UTC
16cf84b bpo-33204: IDLE: consistently color invalid string prefixes (GH-6344) A 'u' string prefix cannot be paired with either 'r' or 'f'. Consistently color as much of the prefix, starting at the right, as is valid. (cherry picked from commit da58533ac67b01ce8f6466e6f03ff6b8b3bb04d5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 02 April 2018, 06:33:25 UTC
d918bbd [3.6] Fix error message in sqlite connection thread check. (GH-6028). (GH-6324) (cherry picked from commit 030345c0bfc2f76684666fe5c61e766ba5debfe6) Co-authored-by: Takuya Akiba <469803+iwiwi@users.noreply.github.com> 31 March 2018, 22:03:50 UTC
25c869e [3.6] bpo-33132: Fix reference counting issues in the compiler. (GH-6209). (GH-6321) (cherry picked from commit a95d98607efe0c43475b354543e49bf8e240bc6f) 31 March 2018, 20:54:13 UTC
ddc9971 Fix socket type in DatagramHandler documentation: TCP -> UDP (GH-6272) (cherry picked from commit 233de021d915364bd3daee921d1d96d50d46d7fe) Co-authored-by: Mike DePalatis <mike@depalatis.net> 30 March 2018, 07:53:35 UTC
a10a709 [3.6] Fix duplicating words words. (GH-6296) (GH-6298) Backport idlelib duplications. (cherry picked from commit bac2d5b) 28 March 2018, 20:51:22 UTC
d4850dd Merge tag 'v3.6.5' into 3.6 Python 3.6.5 28 March 2018, 18:22:48 UTC
18fdc87 bpo-33126: Document PyBuffer_ToContiguous() (GH-6292) (GH-6293) (cherry picked from commit aa50bf08e64f49d57917ab0b1aadf4308a3168a6) Co-authored-by: Antoine Pitrou <pitrou@free.fr> 28 March 2018, 15:47:34 UTC
f59c093 3.6.5final 28 March 2018, 09:19:31 UTC
db65936 bpo-33163: Upgrade pip to 9.0.3 and setuptools to v39.0.1. (GH-6285) (cherry picked from commit c0518cde7a8404f310cd3495e77e612820ecad4f) Co-authored-by: Ned Deily <nad@python.org> 28 March 2018, 08:58:33 UTC
9dad016 bpo-33163: Upgrade pip to 9.0.3 and setuptools to v39.0.1. (GH-6285) (cherry picked from commit c0518cde7a8404f310cd3495e77e612820ecad4f) Co-authored-by: Ned Deily <nad@python.org> 28 March 2018, 08:52:07 UTC
fb3d3b7 bpo-32726: Do not force IDLE.app to launch in 32-bit mode. (GH-6279) (#6281) Forcing the macOS IDLE.app gui process to launch in 32-mode was a necessary hack for old versions of Tk (Aqua Carbon as in Tk 8.4 and early versions of 8.5); it is not needed for current versions of Tk. Since 32-bit launching will no longer be supported on future releases of macOS, allow IDLE.app to launch in 64-bit mode. (cherry picked from commit df532ab752680f6e359672c2cd40bec8ac848628) Co-authored-by: Ned Deily <nad@python.org> 28 March 2018, 08:40:29 UTC
7f554c5 bpo-32872: Avoid regrtest compatibility issue with namespace packages. (GH-6276) (GH-6278) (cherry picked from commit e52ac045972a4f75d7f52e4ee0d6de128259134d) Co-authored-by: Ned Deily <nad@python.org> 28 March 2018, 07:33:49 UTC
3647f85 Upgrade pip to v9.0.3 and setuptools to v39.0.1 (GH-6184) (cherry picked from commit d93b5161af12291f3f98a260c90cc2975ea9e9cd) Co-authored-by: Donald Stufft <donald@stufft.io> 28 March 2018, 07:33:38 UTC
0330c85 Update pip to 9.0.2 and setuptools to 38.6.1 (GH-6133) (#6136) (cherry picked from commit 7f81bb2addbbccfa45a2fc1aa6030f26dcf4bd78) Co-authored-by: Donald Stufft <donald@stufft.io> 28 March 2018, 07:33:12 UTC
15b6400 bpo-30622: Fix backport of NPN fix (#6102) Fix backport a79591cf of bpo-30622 to 3.6 branch. Signed-off-by: Christian Heimes <christian@python.org> 28 March 2018, 07:32:58 UTC
a93662c bpo-32872: Avoid regrtest compatibility issue with namespace packages. (GH-6276) (GH-6278) (cherry picked from commit e52ac045972a4f75d7f52e4ee0d6de128259134d) Co-authored-by: Ned Deily <nad@python.org> 28 March 2018, 06:43:51 UTC
c8698cf bpo-27212: Modify islice recipe to consume initial values preceding start (GH-6195) (GH-6267) (cherry picked from commit da1734c58d2f97387ccc9676074717d38b044128) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 27 March 2018, 02:24:02 UTC
57db13e bpo-32844: Fix a subprocess misredirection of a low fd (GH5689) bpo-32844: subprocess: Fix a potential misredirection of a low fd to stderr. When redirecting, subprocess attempts to achieve the following state: each fd to be redirected to is less than or equal to the fd it is redirected from, which is necessary because redirection occurs in the ascending order of destination descriptors. It fails to do so in a couple of corner cases, for example, if 1 is redirected to 2 and 0 is closed in the parent. (cherry picked from commit 0e7144b064a19493a146af94175a087b3888c37b) Co-authored-by: Alexey Izbyshev <izbyshev@users.noreply.github.com> 26 March 2018, 20:43:46 UTC
a413a91 Fix description about SimpleXMLRPCServer constructor parameter bind_and_activate. (GH-776) Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket. (cherry picked from commit e6223579c87b93f3e60d28796f521587d88091d4) Co-authored-by: cocoatomo <cocoatomo77@gmail.com> 26 March 2018, 12:20:25 UTC
80af732 Gitignore gmon.out (GH-5796) gmon.out is generated when profiling turned on Full Configuration: ./configure --prefix=$PWD/install --enable-profiling --enable-big-digits=30 --with-pydebug --with-assertions --with-valgrind (cherry picked from commit 95ad3822a2b6287772bd752b6ab493c6d4198d4b) Co-authored-by: Neeraj Badlani <neerajbadlani@gmail.com> 26 March 2018, 11:53:51 UTC
f86b098 Fix typo and edit for clarity in the docstrings of sys.float_info. (GH-2251) (cherry picked from commit 0301c9bdd1ebd788d1334cf3fe06c48f35bab0dc) Co-authored-by: Stefano Taschini <taschini@users.noreply.github.com> 26 March 2018, 10:57:37 UTC
45116d3 bpo-33096: Fix ttk.Treeview.insert. (GH-6228) Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note iid=0 and iid=False would be same. (cherry picked from commit 3ab44c0783eebdff687014f7d14d5dec59b6bd39) Co-authored-by: Garvit Khatri <garvitdelhi@gmail.com> 26 March 2018, 08:20:10 UTC
f5befbb [3.6] bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210) (GH-6214) LibreSSL 2.7 introduced OpenSSL 1.1.0 API. The ssl module now detects LibreSSL 2.7 and only provides API shims for OpenSSL < 1.1.0 and LibreSSL < 2.7. Documentation updates and fixes for failing tests will be provided in another patch set. Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 4ca0739c9d97ac7cd45499e0d31be68dc659d0e1) Co-authored-by: Christian Heimes <christian@python.org> 24 March 2018, 17:38:14 UTC
643a781 bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061) (cherry picked from commit 5cbb84106efefd200933aa31e22abf39267d2557) Co-authored-by: Himanshu Lakhara <himanshulakhara1947@gmail.com> 23 March 2018, 21:50:09 UTC
fce39ab Fix a reference to the MRE book in re docs (GH-1113) Reported by Maksym Nikulyak on docs.p.o. (cherry picked from commit a0a42d22d8dff0ec6ea9daa4d9c9e9399f9b4e6c) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 23 March 2018, 15:55:46 UTC
18d7edf [3.6] bpo-33041: Fixed jumping if the function contains an "async for" loop. (GH-6154). (GH-6199) (cherry picked from commit b9744e924ca07ba7db977e5958b91cd8db565632) 23 March 2018, 13:45:37 UTC
560ea27 Upgrade pip to v9.0.3 and setuptools to v39.0.1 (GH-6184) (cherry picked from commit d93b5161af12291f3f98a260c90cc2975ea9e9cd) Co-authored-by: Donald Stufft <donald@stufft.io> 22 March 2018, 03:50:50 UTC
7abf343 Fix typos in mmap() error messages (GH-6173) (cherry picked from commit 9308dea3e1fd565d50a76a667e4e8ef0568b7053) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 21 March 2018, 07:07:23 UTC
ae2feb3 bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016) The result of host() was not empty when the network is constructed by a tuple containing an integer mask and only 1 bit left for addresses. (cherry picked from commit 10b134a07c898c2fbc5fd3582503680a54ed80a2) Co-authored-by: Xiang Zhang <angwerzx@126.com> 21 March 2018, 01:49:41 UTC
481cbe8 bpo-18802: Add more details to ipaddress documentation (GH-6083) Original patch by Jon Foster and Berker Peksag. (cherry picked from commit 5609b78392d59c7362ef8aa5c4a4529325f01f27) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 21 March 2018, 00:59:00 UTC
47a0e64 bpo-28247: Document Windows executable creation in zipapp (GH-6158) (cherry picked from commit 4be79f29463f632cd8b48486feadc2ed308fb520) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 20 March 2018, 22:52:41 UTC
f3e6ead [3.6] bpo-33021: Release the GIL during fstat() calls (GH-6019) (GH-6160) fstat may block for long time if the file descriptor is on a non-responsive NFS server, hanging all threads. Most fstat() calls are handled by _Py_fstat(), releasing the GIL internally, but but _Py_fstat_noraise() does not release the GIL, and most calls release the GIL explicitly around it. This patch fixes last 2 calls to _Py_fstat_no_raise(), avoiding hangs when calling: - mmap.mmap() - os.urandom() - random.seed() (cherry picked from commit 4484f9dca9149da135bbae035f10a50d20d1cbbb) Co-authored-by: Nir Soffer <nirsof@gmail.com> 20 March 2018, 19:40:18 UTC
424f3da bpo-19417: Add test_bdb.py (GH-5217) (cherry picked from commit 3fe33043ee83d19e15551094fc1e0984617ded3c) 19 March 2018, 17:30:47 UTC
193760f [3.6] bpo-33041: Add tests for jumps in/out of 'async with' blocks. (GH-6110). (GH-6141) (cherry picked from commit bc300ce205f99acb1ef92c37de06dc76147e073b) 18 March 2018, 10:32:32 UTC
5bd0fe6 Update pip to 9.0.2 and setuptools to 38.6.1 (GH-6133) (#6136) (cherry picked from commit 7f81bb2addbbccfa45a2fc1aa6030f26dcf4bd78) Co-authored-by: Donald Stufft <donald@stufft.io> 17 March 2018, 16:19:41 UTC
1da0479 bpo-32374: m_traverse may be called with m_state=NULL (GH-5140) Multi-phase initialized modules allow m_traverse to be called while the module is still being initialized, so module authors may need to account for that. (cherry picked from commit c2b0b12d1a137ada1023ab7c10b8d9a0249d95f9) Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com> 17 March 2018, 06:29:30 UTC
a954919 [3.6] bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ (GH-5772) (#6104) Creating backup files with ~ suffix can be undesirable in some environment, such as when building RPM packages. Instead of requiring the user to remove those files manually, option -n was added, that simply disables this feature. -n was selected because 2to3 has the same option with this behavior. (cherry picked from commit 5affd5c29eb1493cb31ef3cfdde15538ac134689) Co-authored-by: Miro Hrončok <miro@hroncok.cz> 14 March 2018, 17:52:22 UTC
0ec0290 bpo-30622: Fix backport of NPN fix (#6102) Fix backport a79591cf of bpo-30622 to 3.6 branch. Signed-off-by: Christian Heimes <christian@python.org> 14 March 2018, 06:40:20 UTC
4d04cae on to 3.6.6 14 March 2018, 03:38:19 UTC
973c5db Merge tag 'v3.6.5rc1' into 3.6 14 March 2018, 03:22:42 UTC
f03c514 3.6.5rc1 14 March 2018, 01:21:36 UTC
9455244 bpo-32726: macOS installer changes for 3.6.5 Backport the new 10.9+ installer variant from 3.7. This variant features more modern options; like 64-bit only (Apple is deprecating 32-bit support in future macOS releases); a built-in version of Tcl/Tk 8.6.8; built with clang rather than gcc-4.2. For 3.6.5, the 10.9+ variant will be offered as an additional alternative to the traditional 10.6+ variant in earlier 3.6.x releases. Binary extension modules (including wheels) built for earlier versions of 3.6.x with the 10.6 variant should continue to work with either 3.6.5 variant without recompilation. In addition, both installer variants have updated 3rd-party libraries: OpenSSL 1.0.2m -> 1.0.2n XZ 5.2.2 -> 5.2.3 SQLite 3.21.0 -> 3.22.0 Also the 10.6 variant now sets CC=gcc instead of CC=gcc-4.2 and does not search for the outdated 10.6 SDK. The variant is built with the same compiler as before. As before, for extension module builds, the CC can be overridden with the CC env variable and an SDK can be specified with the SDKROOT env variable (see man xcrun). These minor changes should be transparent to nearly all users. 14 March 2018, 01:01:08 UTC
cad3eb2 lib2to3: Add more tests (GH-6101) (#6109) (cherry picked from commit 74f56878cdee18d485e4f8b485d55ce62e38f4c9) Co-authored-by: Łukasz Langa <lukasz@langa.pl> 13 March 2018, 18:47:32 UTC
cf61a81 [3.7] bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-5928) (cherry picked from commit e32bbaf376a09c149fa7c7f2919d7c9ce4e2a055) Co-authored-by: xdegaye <xdegaye@gmail.com> 13 March 2018, 10:12:16 UTC
6a526f6 bpo-33064: lib2to3: support trailing comma after *args and **kwargs (GH-6096) (#6098) New tests also added. I also made the comments in line with the builtin Grammar/Grammar. PEP 306 was withdrawn, Kees Blom's railroad program has been lost to the sands of time for at least 16 years now (I found a python-dev post from people looking for it). (cherry picked from commit b51f5de71163f096d2d5229ede5379cdb284f651) Co-authored-by: Łukasz Langa <lukasz@langa.pl> 13 March 2018, 08:32:28 UTC
069b8d2 [3.6] bpo-31804: Fix multiprocessing.Process with broken standard streams (GH-6079) (GH-6081) In some conditions the standard streams will be None or closed in the child process (for example if using "pythonw" instead of "python" on Windows). Avoid failing with a non-0 exit code in those conditions. Report and initial patch by poxthegreat.. (cherry picked from commit e756f66c83786ee82f5f7d45931ae50a6931dd7f) 11 March 2018, 19:09:20 UTC
20ac11a [3.6] bpo-33026: Fix jumping out of "with" block by setting f_lineno. (GH-6026). (GH-6074) (GH-6075) (cherry picked from commit 26c9f565d016db21257a60d29ab2c99383dd5ac7) (cherry picked from commit 04aadf23eac51fec2e436c5960c1362bbb7d03de) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 11 March 2018, 08:21:13 UTC
3f439d1 bpo-33045: Fix typos in SSL documentation (GH-6065) (cherry picked from commit 9cf8c42f3231d3f066670d087a997bd1278482a0) Co-authored-by: Matt Eaton <agnosticdev@gmail.com> 11 March 2018, 01:26:01 UTC
d082634 [3.7] bpo-33041: Add missed error checks when compile "async for" (GH-6053) (GH-6060) and remove redundant code. (cherry picked from commit 67ee07795bcd84b679c000780212d4d81a1490a3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 9e94c0d3c78d1bc582c865240ed9353fe9689b2a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 10 March 2018, 19:32:49 UTC
017e9fd [3.6] bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) (GH-6058) * Skip write()/data_received() if sslpipe is destroyed. (cherry picked from commit 5e80a71ab67045fecec46573a1892e240b569ace) 10 March 2018, 17:09:07 UTC
de8567e bpo-26701: Improve documentation for the rounding special methods. (GH-6054) (cherry picked from commit 496431ffb6c29719332bf2af773349e8dd85e45a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 10 March 2018, 15:55:13 UTC
1028ca4 bpo-26701: Add documentation for __trunc__ (GH-6050) `int` fails back to `__trunc__` is `__int__` isn't defined, so cover that in the docs. (cherry picked from commit 308eab979d153f1ab934383dc08bc4546ced8b6c) Co-authored-by: Eric Appelt <eric.appelt@gmail.com> 10 March 2018, 15:10:45 UTC
19b42fe Warn that compile() can crash when compiling to an AST object (GH-6043) (GH-6046) (cherry picked from commit f7a6ff6fcab32a53f262ba3f8a072c27afc330d7) Co-authored-by: Brett Cannon <brettcannon@users.noreply.github.com> 09 March 2018, 21:40:39 UTC
b316c44 bpo-32758: Warn that ast.parse() and ast.literal_eval() can segfault the interpreter (GH-5960) (GH-6042) (cherry picked from commit 7a7f100eb352d08938ee0f5ba59c18f56dc4a7b5) Co-authored-by: Brett Cannon <brettcannon@users.noreply.github.com> 09 March 2018, 20:35:14 UTC
3f7d0b6 controlflow: Use full example for "5 through 9" (GH-5907) Replace example result of "5 through 9" with complete list: "5, 6, 7, 8, 9". This format is more consistent with the surrounding examples. (cherry picked from commit 83d7062d2dc5eacfef578e072bca4747c346fdae) Co-authored-by: Steven M. Vascellaro <S.Vascellaro@gmail.com> 09 March 2018, 20:11:30 UTC
12f74d8 bpo-32517: fix test_read_pty_output() hangs on macOS 10.13.2+ (GH-6037) test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()` using the KqueueSelector. Closing `proto.transport` (as is done in `write_pty_output()`) seems to fix it. 09 March 2018, 17:43:45 UTC
32efcd1 bpo-33016: Fix potential use of uninitialized memory in nt._getfinalpathname (GH-6032) 08 March 2018, 22:50:30 UTC
2f3ba27 [3.6] bpo-30353: Fix pass by value for structs on 64-bit Cygwin/MinGW (GH-1559) (GH-5954) (cherry picked from commit 9ba3aa4d02a110d1a1ea464a8aff3be7dd9c63c3) Co-authored-by: Erik Bray <erik.m.bray@gmail.com> 08 March 2018, 15:28:53 UTC
15425cf Fix some ipaddress documentation errors (GH-6021) * fix a typo: documention -> documentation * fix the type of IPv?Network.hostmask * add documentation about IPv?Network.netmask * fix IPv6Network constructor doc that extended netmasks are not supported (cherry picked from commit e405096ea91f516d411095b6fea4eec9668eac88) Co-authored-by: Xiang Zhang <angwerzx@126.com> 08 March 2018, 04:41:27 UTC
7592c0a bpo-32969: Expose some missing constants in zlib and fix the doc (GH-5988) (cherry picked from commit bc3f2289b9007396bfb7f986bee477b6176c1822) Co-authored-by: Xiang Zhang <angwerzx@126.com> 07 March 2018, 05:46:10 UTC
387a055 bpo-33009: Fix inspect.signature() for single-parameter partialmethods. (GH-6004) (cherry picked from commit 8a387219bdfb6ee34928d6168ac42ca559f11c9a) Co-authored-by: Yury Selivanov <yury@magic.io> 06 March 2018, 18:48:04 UTC
baa4507 [3.6] bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) (GH-5990) 05 March 2018, 22:26:28 UTC
6935a51 bpo-32984: IDLE - set __file__ for startup files (GH-5981) Like Python, IDLE optionally runs one startup file in the Shell window before presenting the first interactive input prompt. For IDLE, option -s runs a file named in environmental variable IDLESTARTUP or PYTHONSTARTUP; -r file runs file. Python sets __file__ to the startup file name before running the file and unsets it before the first prompt. IDLE now does the same when run normally, without the -n option. (cherry picked from commit 22c82be5df70c3d51e3f89b54fe1d4fb84728c1e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 05 March 2018, 19:23:08 UTC
73a4396 bpo-32857: Raise error when tkinter after_cancel() is called with None. (GH-5701) (cherry picked from commit 74382a3f175ac285cc924a73fd758e8dc3cc41bb) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 04 March 2018, 11:42:41 UTC
c951675 [3.6] bpo-32981: Fix catastrophic backtracking vulns (GH-5955) * Prevent low-grade poplib REDOS (CVE-2018-1060) The regex to test a mail server's timestamp is susceptible to catastrophic backtracking on long evil responses from the server. Happily, the maximum length of malicious inputs is 2K thanks to a limit introduced in the fix for CVE-2013-1752. A 2KB evil response from the mail server would result in small slowdowns (milliseconds vs. microseconds) accumulated over many apop calls. This is a potential DOS vector via accumulated slowdowns. Replace it with a similar non-vulnerable regex. The new regex is RFC compliant. The old regex was non-compliant in edge cases. * Prevent difflib REDOS (CVE-2018-1061) The default regex for IS_LINE_JUNK is susceptible to catastrophic backtracking. This is a potential DOS vector. Replace it with an equivalent non-vulnerable regex. Also introduce unit and REDOS tests for difflib. Co-authored-by: Tim Peters <tim.peters@gmail.com> Co-authored-by: Christian Heimes <christian@python.org>. (cherry picked from commit 0e6c8ee2358a2e23117501826c008842acb835ac) 04 March 2018, 06:59:12 UTC
bd92cfe Fix missing coroutine declaration in the asyncio documentation. (GH-5964) (cherry picked from commit 13cfd57dcf58485d6242fd8118c6ea4b10e29aab) Co-authored-by: Joongi Kim <me@daybreaker.info> 03 March 2018, 21:23:31 UTC
fbdd075 [3.6] bpo-32964: Reuse a testing implementation of the path protocol in tests. (GH-5930). (GH-5958) (cherry picked from commit b21d155f57d284aecf9092a9bd24258293965c2f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 03 March 2018, 12:19:29 UTC
10fb1bf bpo-32903: Fix a memory leak in os.chdir() on Windows (GH-5801) (#5946) (cherry picked from commit 3e197c7a6740d564ad52fb7901c07d5ff49460f5) Co-authored-by: Alexey Izbyshev <izbyshev@users.noreply.github.com> 01 March 2018, 10:28:20 UTC
32f5392 bpo-32940: IDLE: Simplify StringTranslatePseudoMapping in pyparse (GH-5862) The new code also runs faster. (cherry picked from commit f0daa880a405c8de6743e44fa46006754aa145c9) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 28 February 2018, 23:12:15 UTC
8c65360 bpo-30928: Update idlelib/NEWS.txt, possibly for 3.7.0b2 (GH-5932) (cherry picked from commit 0954c9e9c8fbea452f56120df592f2061d3209c7) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 February 2018, 00:31:25 UTC
5bf7485 [3.6] bpo-32922: dbm.open() now encodes filename with the filesystem encoding. (GH-5832). (GH-5906) (cherry picked from commit 6f600ff1734ca2fdcdd37a809adf8130f0d8cc4e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 27 February 2018, 01:39:53 UTC
3f6c172 bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434) (cherry picked from commit 72d9b2be36f091793ae7ffc5ad751f040c6e6ad3) Co-authored-by: Joffrey F <f.joffrey@gmail.com> 27 February 2018, 01:11:01 UTC
ec5569b bpo-32222: Fix pygettext skipping docstrings for funcs with arg typehints (GH-4745) (cherry picked from commit eee72d4778a5513038edd5236cdd87ccce2bc60a) Co-authored-by: Tobotimus <Tobotimus@users.noreply.github.com> 26 February 2018, 23:59:55 UTC
e650fd3 Fix _socket module compilation on Cygwin. (GH-4137) (GH-4145) (cherry picked from commit 63ae04461fb0cc93ca57cd151103a8dd295581d6) 26 February 2018, 20:24:18 UTC
86ea851 Revert "[3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5504)" (#5911) This reverts commit a71397fb6603d0fe673acd7765c74699cd28fe7b. 26 February 2018, 19:23:24 UTC
1278c21 [3.6] bpo-32394: Remove some TCP options on older version Windows. (GH-5585) 26 February 2018, 18:13:51 UTC
back to top