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

Need compare betweenmetaclass and internal contents ofclasscell in__build_class__ #3865

Open
@Snowapril

Description

@Snowapril

Feature

https://github.com/RustPython/RustPython/blob/main/vm/src/stdlib/builtins.rs#L899-L919
We should compare betweenclass (invoked by metaclass) andclasscell's internal contents before exiting__build_class__
At now we manually set classcell's internal contents withclass, but this should be done intype.__new__

Python Documentation

Related test cases

  • test_super.py
    • test___classcell___overwrite
    • test___classcell___missing
    • test___classcell___wrong_cell
    • test___class___new
    • test___class___delayed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp