mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Closes #27904: Improved logging statements to defer formatting until needed.
This commit is contained in:
parent
ee47e5cf8a
commit
dd917f84e3
15 changed files with 25 additions and 26 deletions
|
@ -363,9 +363,9 @@ class build_ext(Command):
|
|||
|
||||
ext_name, build_info = ext
|
||||
|
||||
log.warn(("old-style (ext_name, build_info) tuple found in "
|
||||
"ext_modules for extension '%s'"
|
||||
"-- please convert to Extension instance" % ext_name))
|
||||
log.warn("old-style (ext_name, build_info) tuple found in "
|
||||
"ext_modules for extension '%s'"
|
||||
"-- please convert to Extension instance", ext_name)
|
||||
|
||||
if not (isinstance(ext_name, str) and
|
||||
extension_name_re.match(ext_name)):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue