gh-103323: Remove current_fast_get() unused parameter#114593
Conversation
The current_fast_get() static inline function doesn't use its 'runtime' parameter, so just remove it.
|
@ericsnowcurrently @colesbury @corona10: Would you mind to review this change? The change commit f8abfa3 modified current_fast_get(). Before the Python Thread State was retrieved from runtime, but it's no longer the case. |
Sorry, something went wrong.
ericsnowcurrently
left a comment
There was a problem hiding this comment.
LGTM
IIRC, the main reason I left the parameter was to reduce churn. After that I didn't see any harm in leaving the parameter. That said, I'm not opposed to dropping it.
Sorry, something went wrong.
colesbury
left a comment
There was a problem hiding this comment.
This looks more straightforward to me too
Sorry, something went wrong.
corona10
left a comment
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
|
Merged, thanks for reviews. |
Sorry, something went wrong.
…14593) The current_fast_get() static inline function doesn't use its 'runtime' parameter, so just remove it.
The current_fast_get() static inline function doesn't use its 'runtime' parameter, so just remove it.