-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lazy load packages in compat for faster import. (#881)
* Streamline usage of ConfigParser for lazy loading. * Do not import all of asyncio. * Remove unused imports * Defer import of urllib.request to when its actually needed. * Test to ensure slow imports do not reappear. * Use other configparser. * Return test to original state. * Skip test for python2. * Update comment text.
- Loading branch information
1 parent
fc4c147
commit a7a7594
Showing
2 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters