Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Recursive function calls shouldn't raise RecursionError #173

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

Merged
KevinHock merged 3 commits into python-security:master from bcaller:recursion
Sep 8, 2018

Conversation

Copy link
Collaborator

@bcaller bcaller commented Sep 7, 2018

Store a stack of definitions.

If you revisit a function, treat it as a blackbox.

The non-recursive return values should still propagate.

KevinHock reacted with thumbs up emoji KevinHock reacted with hooray emoji KevinHock reacted with heart emoji
Store a stack of definitions.
If you revisit a function, treat it as a blackbox.
The non-recursive return values should still propagate.
recur_but_no_propagation is actually safe, but it would be difficult to
reliably determine this, so we'll have to do with the false positive at
least for now (as recursive functions can call other recursive
functions).
@KevinHock KevinHock self-requested a review September 7, 2018 15:50
Copy link
Collaborator

This happened to me the other day, thank you so much for making this! :D 🎊

Copy link
Collaborator

@KevinHock KevinHock left a comment

Choose a reason for hiding this comment

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

LGTM, I'll try to make a new release on Monday or Tuesday

p.s. Happy to give you PyPI access and GitHub write access 😉

@KevinHock KevinHock merged commit f023eaa into python-security:master Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@KevinHock KevinHock KevinHock approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /