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

Regression in 3.13.1 for imports of nonexistant names from CFFI modules #128030

Closed
Labels
3.13bugs and security fixes3.14bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
@stefanor

Description

@stefanor

Bug report

Bug description:

cffi'sTestNewFFI1.test_import_from_lib started failing with:

>from_test_import_from_lib.libimportbarETypeError:badargumenttypeforbuilt-inoperation

This is where_test_import_from_lib is a CFFI C extension, which does not contain a memberlib.bar. So in this case_test_import_from_lib.lib probably doesn't have an origin.

More details here:python-cffi/cffi#150

The offending change seems to be the introduction ofPyModule_GetFilenameObject in#127775. (@hauntsaninja,@serhiy-storchaka)

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixesinterpreter-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