Skip to content

Spurious "Type does not define the tp_name field" in 3.13.0rc2t #124768

@dpdani

Description

@dpdani

Bug report

Bug description:

I'm hitting some (I believe) spurious errors when using my C extension with the latest rc.
Due to the nature of the exception, I would suppose that the build type should not affect it, but it does:

3.13.0rc1 test logs
====================== test session starts =======================
platform linux -- Python 3.13.0rc1, pytest-7.4.2, pluggy-1.5.0
rootdir: /home/dp/repos/thesis/cereggii
plugins: reraise-2.1.2
collected 96 items                                               

tests/test_atomic_dict.py .............s....s.....ss...... [ 33%]
.                                                          [ 34%]
tests/test_atomic_int.py ................................. [ 68%]
.......................                                    [ 92%]
tests/test_atomic_ref.py ......                            [ 98%]
tests/test_basics.py .                                     [100%]

================= 92 passed, 4 skipped in 0.60s ==================

The free-threaded build is using the deadsnakes action, and I believe that's CPython's main from yesterday.

After double-checking, I'm pretty sure I'm setting the tp_name field correctly everywhere, apologies in advance if I made a mistake.

CPython versions tested on:

3.13, CPython main branch

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions