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

tp_bases ofobject isNULL: undocumented or unintentional behavior change in 3.12? #105020

Closed
Assignees
ericsnowcurrently
Labels
3.12only security fixesdocsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
@rwgk

Description

@rwgk

Documentation

See#103912 (comment) for full context.

Specific problem:

It appearstp_bases ofobject was an empty tuple in the past, but is nowNULL, could that be? Is that intentional?

If intentional, could it please be documented? I think the behavior change is likely to trip up fair a number of people.

I looked inhttps://github.com/python/cpython/blob/edd0cb8e77d7b65f5a9c2c69dc81f9c4514878d5/Doc/whatsnew/3.12.rst but don't seetp_bases being mentioned there.

I also verified that thetp_bases == nullptr patch is still needed with current 3.12 HEAD (edd0cb8).

Linked PRs

Metadata

Metadata

Labels

3.12only security fixesdocsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp