bpo-30067 [backport 3.6]: Fix misplaced positional argument in OS X support library#1136
Closed
JackMc wants to merge 234 commits into
Closed
bpo-30067 [backport 3.6]: Fix misplaced positional argument in OS X support library#1136JackMc wants to merge 234 commits into
JackMc wants to merge 234 commits into
Conversation
(cherry picked from commit 79ab8be)
It took me quite a bit to figure out what this was referring to, since the given issue number is wrong, and the original commit message I found through git blame lists a different, also wrong issue number... see https://bugs.python.org/issue27122#msg279449 (cherry picked from commit af88e7e)
…hon#22) There were some grammatical errors in weakref.WeakValueDictionary documentation.
various updates from upstream python/typing repo: - Added typing.Counter and typing.ChainMap generics - More flexible typing.NamedTuple - Improved generic ABC caching - More tests - Bugfixes - Other updates * Add Misc/NEWS entry (cherry picked from commit b692dc8)
* Fix some deprecation warnings in Doc/conf.py * Fix an rst error in Misc/NEWS Contributed by Ryan Gonzalez @kirbyfan64 (cherry picked from commit e7ffb99)
…hon#83) Much of bpo-29521 was fixed in parallel with commit e7ffb99 . This cleans up the rest. Apply parallel change to Doc/make.bat to read "set SPHINXOPTS=-D latex_elements.papersize=" I don't have a Windows system on which to observe the warning, but it should be necessary. The warning: .../workspace/cpython_github/Doc/faq/windows.rst:303: WARNING: unknown option: -t In the Windows FAQ, `How do I keep editors from inserting tabs into my Python source?`, contained a reference to a Python -t option. In Python 2.x, this caused Python to issue warnings about lines with mixed spaces and tabs, but as of Python 3.6 it does nothing. Per discussion at http://bugs.python.org/issue29387, take their wording. Python [3] raises an IndentationError or TabError. Tabnanny is now a module. (cherry picked from commit 3d707be)
(cherry picked from commit 7e147f1)
(cherry picked from commit 6420088)
* Travis CI: run rstlint.py in the docs job (python#68) Currently, http://buildbot.python.org/all/buildslaves/ware-docs buildbot is only run as post-commit. For example, bpo-29521 (PR#41) introduced two warnings, unnotified by the Travis CI docs job. Modify the docs job to run toosl/rstlint.py. Fix also the two minor warnings which causes the buildbot slave to fail. (cherry picked from commit 2b50186) * Doc/Makefile: set PYTHON to python3 (python#124) rstlint.py run by "make check" doesn't support Python 2. "make venv" runs "$(PYTHON) -m venv", whereas Python 2 doens't provide the venv module: it's a module of Python 3 standard library. (cherry picked from commit 91b0e7d)
…ython#153) ``local.getlocale(locale.LC_CTYPE)`` and ``locale.getpreferredencoding(False)`` may give different answers in some cases (such as the ``en_IN`` locale). ``re.LOCALE`` uses the latter, so update the test case to match.
* Add .travis.yml to 3.6 branch * Travis CI: run rstlint.py in the docs job (python#68) Currently, http://buildbot.python.org/all/buildslaves/ware-docs buildbot is only run as post-commit. For example, bpo-29521 (PR#41) introduced two warnings, unnotified by the Travis CI docs job. Modify the docs job to run toosl/rstlint.py. Fix also the two minor warnings which causes the buildbot slave to fail. * Only run CI checks when appropriate files have changed (python#74) Closes python/core-workflow#14 * Use 'make check' instead of 'python3 tools/rstlint.py' (python#96)
* Drop duplicate word 'object' in lzma docs * Fix typo in os docs: fpr -> for (cherry picked from commit d4d4874)
(cherry picked from commit b2ee40e)
…g weakref objects (python#128) (python#186)
lookdict_unicode() and lookdict_unicode_nodummy() may raise exception when key is not unicode.
…) (python#206) * Fix incorrect handling of signed zeros for complex-related classes. * Add Misc/NEWS entry. (cherry picked from commit 112ec38)
(cherry picked from commit fb8fe72)
…no longer affects a partial object after creation. (python#209)
…ial (pythonGH-140) (python#208) As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that ordering is undefined and change snippet to remove the unecessary sorted call. * Add sentence mentioning guaranteed output order of kwargs (cherry picked from commit 32e8f9b)
…n Windows AMD64. (python#168) (python#220) Fixed bpo-29565: Corrected ctypes passing of large structs by value. (cherry picked from commit a86339b)
(cherry picked from commit fd0cd07)
(cherry picked from commit dd9a0a1)
bpo-29939: Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler. (cherry picked from commit 164d30e)
(cherry picked from commit b879fe8)
…th (python#1010) (python#1042) attributes. (cherry picked from commit b785396)
The original attempted fix missed an `isdir()` call in `get_base_branch()`. (cherry picked from commit 2abfdf5)
The reference to administrative data was confusing to readers, so this simplifies the note to explain that deep copying may copy more then you intended, such as data that you expected to be shared between copies. (cherry picked from commit 19e0494)
(cherry picked from commit a2a9ddd)
(cherry picked from commit 01fa9ae)
) Documents a few omitted classes and adds NamedTuple methods. (cherry picked from commit 45d22c2)
(cherry picked from commit 6dfcc81)
…pythonGH-1098) (cherry picked from commit 3e0f1fc)
…thonGH-1101) (cherry picked from commit 6fab78e)
Moved explicit raise from inside try to try...else. (cherry picked from commit 680e20b)
…ntimeError (pythonGH-949) (python#1105) contextlib._GeneratorContextManager.__exit__ includes a special case to deal with PEP 479 RuntimeErrors created when `StopIteration` is thrown into the context manager body. Previously this check was too permissive, and undid one level of chaining on *all* RuntimeError instances, not just those that wrapped a StopIteration instance. (cherry picked from commit 00c75e9)
…ythonGH-752)" (pythonGH-1109) This reverts commit 97a40b7. The commit is supposed to go to the master branch first.
Reported by Lucio Ricardo Montero Valenzuela. (cherry picked from commit 61b9ac9)
And fix the parameter name. (cherry picked from commit 8fc7bc2)
…ythonGH-1119) (pythonGH-1122) * Allow underscores in numeric literals in lib2to3. * Stricter literal parsing for Python 3.6 in lib2to3.pgen2.tokenize. * Add test case for underscores in literals in Python 3. (cherry picked from commit a6e395d)
…rue (pythonGH-1089). (pythonGH-1126) (cherry picked from commit 22a594a)
python#1132) (cherry picked from commit 685cdb9)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backporting #1134 to 3.6.