Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bisect.insort crashes the interpreter if key is a string #92839

Closed
Assignees
rhettinger
Labels
type-crashA hard crash of the interpreter, possibly with a core dump
@PaulWGraham

Description

@PaulWGraham

Crash report

The following code will crash the interactive interpreter.

import bisectx = []y = {'a': 2 , "b" : 1 }bisect.insort(x, y, key='b')

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:
    EditionWindows 10 Pro
    Version21H2
    Installed on‎7/‎28/‎2021
    OS build19044.1706
    ExperienceWindows Feature Experience Pack 120.2212.4170.0

Metadata

Metadata

Assignees

Labels

type-crashA hard crash of the interpreter, possibly with a core dump

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp