Skip to content

Remove dead init_deferred_fields method#580

Merged
foarsitter merged 1 commit intojazzband:masterfrom
joecox:remove-dead-tracker-code
Mar 21, 2024
Merged

Remove dead init_deferred_fields method#580
foarsitter merged 1 commit intojazzband:masterfrom
joecox:remove-dead-tracker-code

Conversation

@joecox
Copy link
Copy Markdown
Contributor

@joecox joecox commented Sep 11, 2023

Problem

The init_deferred_fields method, added in 6ffae1a, had its only usage removed in e6c7b56.

Solution

Remove the init_deferred_fields method, along with the now-unused DescriptorMixin.

Commandments

  • Write PEP8 compliant code.
  • Cover it with tests.
  • Update CHANGES.rst file to describe the changes, and quote according issue with GH-<issue_number>.
  • Pay attention to backward compatibility, or if it breaks it, explain why.
  • Update documentation (if relevant).

@joecox
Copy link
Copy Markdown
Contributor Author

joecox commented Sep 11, 2023

Given that this is removal of dead code, which doesn't affect any documented feature, I opted not to update CHANGES.rst. I can do that if needed.

@foarsitter foarsitter merged commit 7b8a58b into jazzband:master Mar 21, 2024
@foarsitter
Copy link
Copy Markdown
Contributor

Thanks @joecox

@foarsitter foarsitter added this to the 4.5.0 milestone Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants