Skip to content

Add functools module to import whitelist #432

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

Closed
oxan opened this issue Jan 29, 2023 · 2 comments
Closed

Add functools module to import whitelist #432

oxan opened this issue Jan 29, 2023 · 2 comments

Comments

@oxan
Copy link

oxan commented Jan 29, 2023

Could the functools module be added to the import whitelist? I don't think there's anything dangerous in there, and having access to @functools.wraps is nice when writing your own decorators.

@craigbarratt
Copy link
Member

Good idea; added with 3eca7c0.

@oxan
Copy link
Author

oxan commented Mar 26, 2023

Thanks!

@oxan oxan closed this as completed Mar 26, 2023
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

No branches or pull requests

2 participants