Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maint: remove dead code from sconsign #4460

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

mwichmann
Copy link
Collaborator

The Utilities/sconsign.py code used to do its own importing of the suitable module to read the sconsign file; for a while now it leaves that to the sconsign module, but some remnants of the old code were still present, which caused checkers and IDEs to grumble about usage of the imp module, which is removed from Python as of 3.12. Dropping this (uncalled) code and associated comments quiets the grumbles.

Also tweaked manpage a bit.

No functional changes.

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt (and read the README.rst)
  • I have updated the appropriate documentation

The Utilities/sconsign.py code used to do its own importing of the
suitable module to read the sconsign file; for a while now it leaves that
to the sconsign module, but some remnants of the old code were still
present, which caused checkers and IDEs to grumble about usage of the
"imp" module, which is removed from Python as of 3.12.  Dropping this
(uncalled) code and associated comments quiets the grumbles.

Also tweaked manpage just a bit.

Signed-off-by: Mats Wichmann <[email protected]>
doc/man/sconsign.xml Outdated Show resolved Hide resolved
mwichmann and others added 2 commits January 29, 2024 09:25
Following review comments, restored more descriptive names and
reworded some things.

Signed-off-by: Mats Wichmann <[email protected]>
@bdbaddog bdbaddog merged commit 5d37479 into SCons:master Feb 7, 2024
4 of 6 checks passed
@mwichmann mwichmann added this to the 4.7 milestone Feb 7, 2024
@mwichmann mwichmann deleted the maint/sconsign branch June 29, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants