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: Convert manually cached BuilderConfig properties to cached_property #1760

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maresb
Copy link
Contributor

@maresb maresb commented Oct 20, 2024

I'm working up to some other contributions, but wanted to do some preliminary cleanup.

Unless I screwed something up, this is a pure refactor, completely equivalent to the previous code, just a bit more tidy thanks to Python 3.8 features.

@maresb maresb force-pushed the cached-properties branch 4 times, most recently from 60bde5a to fae7a25 Compare October 20, 2024 20:10
Before we cached the empty list and returned None to prevent recomputation
in case None was cached.
@maresb
Copy link
Contributor Author

maresb commented Oct 21, 2024

Rebased on master without changes for a linear history

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.

1 participant