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

Move some initialization out of __init__ #7147

Merged
merged 2 commits into from
Oct 8, 2019

Conversation

chrahunt
Copy link
Member

@chrahunt chrahunt commented Oct 7, 2019

Followup to #7061.

This is only relevant for our usage of --trusted-host, so it is enough
to initialize it in network.session.
@chrahunt chrahunt added skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code labels Oct 7, 2019
@chrahunt chrahunt marked this pull request as ready for review October 7, 2019 23:38
@chrahunt chrahunt changed the title Refactor/move requests init Move some initialization out of __init__ Oct 7, 2019
Saves >=10ms on irrelevant platforms.
@chrahunt chrahunt merged commit 90aeec9 into pypa:master Oct 8, 2019
@chrahunt chrahunt deleted the refactor/move-requests-init branch October 8, 2019 12:27
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Nov 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants