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

Deprecategen.throw(typ, val, tb) #96348

Closed
Assignees
iritkatriel
Labels
@gvanrossum

Description

@gvanrossum

CC:@iritkatriel

IssueGH-89874 gets rid of exception triples where it makes sense. I don't know if it was considered, but another place where such triples are supported is thegen.throw(). It allows passing either an exception, or a (type, value, traceback) triple where the value and traceback are optional. I think it makes sense to keep allowing passing an exception type, but I don't see the use case for passing separate type and value. We could deprecate this easily by adding a warning togen_throw() when more than one argument is present.

Thoughts?

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp