Skip to content

nonreentrancy fixes#79

Merged
charles-cooper merged 2 commits intofeat/nonreentrancy-by-defaultfrom
nonreentrancy-pragma-fixes
Apr 25, 2025
Merged

nonreentrancy fixes#79
charles-cooper merged 2 commits intofeat/nonreentrancy-by-defaultfrom
nonreentrancy-pragma-fixes

Conversation

@charles-cooper
Copy link
Copy Markdown
Owner

What I did

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@charles-cooper charles-cooper changed the title block nonreentrant and reentrant on the same function nonreentrancy fixes Apr 16, 2025

def set_reentrant(self, decorator_node: vy_ast.Name):
self._check_none(self.nonreentrant_node, decorator_node)
self._check_none(self.reentrant_node, decorator_node)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The if condition below (if self.reentrant_node is not None:) is now redundant with this check no ?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes -- thank you

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charles-cooper charles-cooper merged commit feccaca into feat/nonreentrancy-by-default Apr 25, 2025
5 of 8 checks passed
@charles-cooper charles-cooper deleted the nonreentrancy-pragma-fixes branch April 25, 2025 08:03
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