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

TypeError for undefinedabstractmethod does not highlight the undefined method name #98284

Closed
Labels
type-featureA feature request or enhancement
@kaushikcfd

Description

@kaushikcfd

Feature or enhancement

Currently, on instantiating a type with an undefined abstract property named "name" we get the following error message:

TypeError: Can't instantiate abstract class IndexNode with abstract method name

The name could be confused as a part of the sentence itself. It must be highlighted, most likely by surrounding the method names with single-quotes

Pitch

Could be implemented via a nondisruptive patch that would edit just the error message inObjects/typeobject.c

Previous discussion

A reference implementation was discussed at#97971.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp