Skip to content

Refactor: Memoize editable_project_location#14144

Open
lets-build-an-ocean wants to merge 1 commit into
pypa:mainfrom
lets-build-an-ocean:refactor/memoize-editable-project-location
Open

Refactor: Memoize editable_project_location#14144
lets-build-an-ocean wants to merge 1 commit into
pypa:mainfrom
lets-build-an-ocean:refactor/memoize-editable-project-location

Conversation

@lets-build-an-ocean

Copy link
Copy Markdown
Contributor

Changes editable_project_location from @property to @functools.cached_property to avoid recomputing it on every access, resolving the TODO in the code.

Use functools.cached_property instead of property to avoid
recomputing this on every access, as noted in the TODO.
@lets-build-an-ocean

lets-build-an-ocean commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

I am not sure if we need NEWS update for this PR or no. lemme know !
@sepehr-rs

@sepehr-rs sepehr-rs added the skip news Does not need a NEWS file entry (eg: trivial changes) label Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news Does not need a NEWS file entry (eg: trivial changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants