-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bisect.insort crashes the interpreter if key is a string #92839
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
Labels
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
Verified that there is a segmentation fault on Linux too, using Python 3.10.0. |
There appears to be a typo in the implementation: _bisectmodule.c (line number 131). I think that instead of |
Confirmed. |
rhettinger
pushed a commit
that referenced
this issue
May 28, 2022
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 28, 2022
) (cherry picked from commit 7fa9b7d) Co-authored-by: oda-gitso <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 28, 2022
) (cherry picked from commit 7fa9b7d) Co-authored-by: oda-gitso <[email protected]>
miss-islington
added a commit
that referenced
this issue
May 28, 2022
(cherry picked from commit 7fa9b7d) Co-authored-by: oda-gitso <[email protected]>
rhettinger
pushed a commit
that referenced
this issue
May 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Crash report
The following code will crash the interactive interpreter.
Error messages
None. Just dumped back to the command line from the interactive interpreter.
Your environment
CPython versions tested on:
Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32
Operating system and architecture:
Edition Windows 10 Pro
Version 21H2
Installed on 7/28/2021
OS build 19044.1706
Experience Windows Feature Experience Pack 120.2212.4170.0
The text was updated successfully, but these errors were encountered: