bpo-33274: Compliance with DOM L1: return removed attribute by arikrupnik · Pull Request #7464 · python/cpython
and others added 30 commits
December 21, 2017 14:54Skip the test failing randomly because of known race condition. Skip the test to fix macOS buildbots until a decision is made on the proper fix for the race condition. (cherry picked from commit 550ee05)
…les (GH-4977) (#4979) This is more complicated than it should be because we need to preserve the useful mtime-based regeneration feature that lib2to3.pgen2.driver.load_grammar has. We only look for the pickled grammar file with pkgutil.get_data and only if the source file does not exist. (cherry picked from commit 8a58771)
(cherry picked from commit d11e8e0)
) (cherry picked from commit 4f146f9)
* Fix typos * Change warning text * Add test (cherry picked from commit a8f4e15)
In pydoc.py, the reference to Python' documentation was in http. The link has been updated to use https. (cherry picked from commit e5681b9)
(cherry picked from commit e325608)
(cherry picked from commit 6c6d3a4)
Move other test to more proper place. (cherry picked from commit e8ed965)
(cherry picked from commit 65f2a6d)
It's more trouble than it's worth, since AppVeyor only checks the HEAD commit of a PR rather than the full diff against the base branch to decide which files changed. (cherry picked from commit 7f7de37)
(cherry picked from commit ae12f5d)
glibc has removed Sun RPC. Use replacement libtirpc headers and library in nis module Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit f3031b8)
The code example that demonstrate how to use enum.Flag was missing the import of enum.auto. (cherry picked from commit 0f31c74)
`os.path.is*()` can return False if the file can't be accessed. The behaviour is documented in details in `os.path.exists()`. Link to `os.path.exists()` from `os.path.is*()`. (cherry picked from commit b3dd18d)
Clarify that on Windows, path must be a directory. On Unix, path can be a file or a directory. (cherry picked from commit ee3b835)
) (cherry picked from commit 3a9ccee) Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com>
…addch (GH-5179) (GH-6406) (cherry picked from commit ef5ce88) Co-authored-by: Jay Crotts <crotts.jay@gmail.com>
(cherry picked from commit 9265dd7) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
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 9c463ec) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
(cherry picked from commit 46936d5)
The protocol parameter can be any protocol supported by the pickle module. (cherry picked from commit 2ef65f3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…le (GH-6417) (GH-6438) (cherry picked from commit 0f914b5) Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com>
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 04e8293) Co-authored-by: suic86 <marko.gabriel.cz@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters