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

Leftover code insysconfig.expand_makefile_vars #128978

Closed
Assignees
picnixz
Labels
3.13bugs and security fixes3.14bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
@picnixz

Description

@picnixz

Bug report

Bug description:

I think there is some leftover code insysconfig.expand_makefile_vars (4a53a39):

whileTrue:
m=re.search(_findvar1_rx,s)orre.search(_findvar2_rx,s)
ifm:
(beg,end)=m.span()
s=s[0:beg]+vars.get(m.group(1))+s[end:]
else:
break
returns

The_findvar1_rx and_findvar2_rx variables are not declared at all (they were moved tosysconfig/__main__.py). Since the function is publicly named (but not exported nor documented), I prefer backporting the changes of#110785, namely re-use the patterns as is.

cc@FFY00

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixes3.14bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-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