comparison mercurial/thirdparty/concurrent/futures/_base.py @ 37626:0a9c0d3480b2

futures: switch to absolute and relative imports This makes the package conform with our importing policy, silencing a number of warnings. It also makes the package usable when it isn't named "concurrent.futures." Differential Revision: https://phab.mercurial-scm.org/D3264
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 09 Apr 2018 12:23:48 -0700
parents eb687c28a915
children
comparison
equal deleted inserted replaced
37625:3ccaf995f549 37626:0a9c0d3480b2
1 # Copyright 2009 Brian Quinlan. All Rights Reserved. 1 # Copyright 2009 Brian Quinlan. All Rights Reserved.
2 # Licensed to PSF under a Contributor Agreement. 2 # Licensed to PSF under a Contributor Agreement.
3
4 from __future__ import absolute_import
3 5
4 import collections 6 import collections
5 import logging 7 import logging
6 import threading 8 import threading
7 import itertools 9 import itertools