8000 Always use hash by djmitche · Pull Request #27783 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Always use hash #27783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2,184 commits into from
Closed

Always use hash #27783

wants to merge 2,184 commits into from

Conversation

djmitche
Copy link

No description provided.

serhiy-storchaka and others added 30 commits January 1, 2021 19:40
pythonGH-12766) (pythonGH-24023)

Return None instead of 1.
(cherry picked from commit 2bc3434)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
…nGH-24022)

There was a race condition in base64 in lazy initialization of multiple globals.
(cherry picked from commit 9655434)

Co-authored-by: Brandon Stansbury <brandonrstansbury@gmail.com>
…H-24021)

Unexpected errors in calling the __iter__ method are no longer
masked by TypeError in csv.reader(), csv.writer.writerow() and
csv.writer.writerows().
(cherry picked from commit c88239f)
(cherry picked from commit a25011b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…24009) (pythonGH-24076) (pythonGH-24078)

If __stdout__ is not attached to terminal, try to use __stderr__
if it is attached to terminal, or open the terminal device, or
use regular file as terminal, but some functions will be untested
in the latter case.
(cherry picked from commit 607501a)
(cherry picked from commit 0303008)
…thonGH-24088)

(cherry picked from commit 0f3b96b)

Co-authored-by: Ned Deily <nad@python.org>
…nGH-24080) (python#24084)

(cherry picked from commit 14097a2)

Co-authored-by: Ned Deily <nad@python.org>
…pythonGH-23658)" (pythonGH-24093)

This partially reverts commit
02349e2, which was removing
backslashes in documentations compiled with Sphinx < 3, used for
Python 3.8 and 3.9 docs.
(cherry picked from commit af4cd16)

Co-authored-by: Steve Dower <steve.dower@python.org>
…nGH-20530)

Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.htmlGH-version_3_7_15):
_"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_
(cherry picked from commit f7f0ed5)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Remove obsolete workaround that prevented running files with
shortcuts when using new universal2 installers built on macOS 11.
Ignore buggy 2nd run_module_event call.
(cherry picked from commit 57e5113)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit cde988e)

Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
…nGH-14491)

Make menu items work with formatter, add docstrings, add 100% tests.

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit e40e2a2)
pythonGH-24089) (pythonGH-24113) (pythonGH-24116)

On ncurses 6.1 pair numbers are limited by SHORT_MAX-1.

Improve error reporting and tests for color functions.
(cherry picked from commit 59f9b4e)
(cherry picked from commit 9b3a53a)
…H-23674). (pythonGH-24129)

(cherry picked from commit c94ee13)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

Automerge-Triggered-By: GH:ned-deily
…ythonGH-23159)

(cherry picked from commit f9949f8)

Co-authored-by: Vladimir <greatvovan@gmail.com>
The `pages` argument default value now reflects the implementation.
(cherry picked from commit abba83b)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
….parent (pythonGH-24100) (pythonGH-24144)

Automerge-Triggered-By: GH:brettcannon
(cherry picked from commit ff8458b)

Co-authored-by: Yair Frid <fridyair@gmail.com>
…ythonGH-24183)

If __repr__ uses instance attributes, as normal, and one steps
through the __init__ method, debugger may try to get repr before
the instance attributes exist.  reprlib.repr handles the error.
(cherry picked from commit 81f87bb)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…onGH-23999) (pythonGH-24120)

Co-Authored-By: Andreas Schneider <asn@cryptomilk.org>
Co-Authored-By: Antoine Pitrou <antoine@python.org>.
Co-authored-by: Petr Viktorin <encukou@gmail.com>

(cherry picked from commit 056c082)
https://bugs.python.org/issue40052
…thout __file__ (pythonGH-23611)

Fixes [bpo-42531]() for Python 3.8.

The issue also applies to 3.7. If this PR looks like it'll be accepted, I can cherry-pick it to the 3.7 branch and submit a follow-up PR.

Automerge-Triggered-By: GH:jaraco
…ctypes param reprs. (pythonGH-24248)

(cherry picked from commit 916610e)

Co-authored-by: Benjamin Peterson <benjamin@python.org>

Co-authored-by: Benjamin Peterson <benjamin@python.org>
(cherry picked from commit 3554fa4)

Co-authored-by: Zhiming Wang <i@zhimingwang.org>
…pythonGH-13039)

(cherry picked from commit e8d2264)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
* addCleanupClass  -> addClassCleanup
* doCleanupsClass -> doClassCleanups
(cherry picked from commit e0e398e)

Co-authored-by: Conchylicultor <etiennefg.pot@gmail.com>
Co-authored-by: Éric Araujo <merwok@netwok.org>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
(cherry picked from commit 644d528)

Co-authored-by: Борис Верховский <boris.verk@gmail.com>
@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

Recognized GitHub username

We couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames:

@julien-lebot, @djmitche

This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

@djmitche
Copy link
Author

Sorry, completely ignore this please.

@djmitche djmitche closed this Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0