summaryrefslogtreecommitdiff
path: root/src/pip/_internal/utils/parallel.py
Commit message (Collapse)AuthorAgeFilesLines
* Blacken src/pip/_internal/utils directoryJon Dufresne2021-02-211-3/+3
|
* Remove typing.TYPE_CHECKING guardsJon Dufresne2021-02-191-8/+5
| | | | | | | | | | | The typing module has been available since Python 3.5. Guarding the import has been unnecessary since dropping Python 2. Some guards remain to either: - Avoid circular imports - Importing objects that are also guarded by typing.TYPE_CHECKING - Avoid mypy_extensions dependency
* Replace pip._internal.utils.typing with stdlib typingJon Dufresne2021-02-181-3/+2
| | | | | | | | The stdlib module has been available since Python 3.5 and the TYPE_CHECKING constant has been available since 3.5.2. By using stdlib, this removes the need for pip to maintain its own Python 2 typing compatibility shim.
* Remove redundant Python 2.7 codeHugo van Kemenade2020-12-221-3/+1
|
* Update linter: isortPradyun Gedam2020-09-231-1/+1
|
* Drop parallel map for Python 2 and the non-lazy variantNguyễn Gia Phong2020-06-251-139/+31
| | | | Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
* Wrap lazy map as wellNguyễn Gia Phong2020-06-251-33/+183
|
* Add utilities for paralleliztionNguyễn Gia Phong2020-06-251-0/+65