Skip to content
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

Defer import of requests and urllib #1906

Merged
merged 3 commits into from
May 31, 2021

Conversation

heapcrash
Copy link
Collaborator

This saves 100ms-150ms of startup time on "from pwn import *"

heapcrash added 2 commits May 31, 2021 14:41
This saves 100ms-150ms of startup time on "from pwn import *"
@heapcrash heapcrash force-pushed the defer-requests-and-urllib branch from fd4f940 to 37b5e42 Compare May 31, 2021 19:42
@heapcrash heapcrash merged commit 12af84f into Gallopsled:dev May 31, 2021
@heapcrash heapcrash deleted the defer-requests-and-urllib branch May 31, 2021 20:31
@peace-maker
Copy link
Member

Re: #1687
We should change the docs in this case.

@heapcrash
Copy link
Collaborator Author

heapcrash commented Jun 3, 2021 via email

@peace-maker
Copy link
Member

Yes, that's why it was added to toplevel imports in that PR. https://github.com/Gallopsled/pwntools/blame/dev/docs/source/globals.rst#L100

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