Ë 1nZ×ÇcÌãóz—dZddlmZddlmZddlmZddlmZ ddl m Z dd giZ d d gZ edd „«Zd „Zd„Zd„Zy)z, Thin wrappers around `concurrent.futures`. é)Úcontextmanager)Ú length_hint)Ú cpu_counté)Útqdm)Ú TqdmWarningz github.com/Ú casperdclÚ thread_mapÚ process_mapc#ó¾K—t|dd«}|xs|j«}t|||«}|j|«|–—|€|`y|j|«y­w)z>get (create if necessary) and then restore `tqdm_class`'s lockÚ_lockN)ÚgetattrÚget_lockÚset_lockr )Ú tqdm_classÚ lock_nameÚold_lockÚlocks ú 1000 but `chunksize` is not set. This may seriously degrade multiprocess performance. Set `chunksize=1` or more.r)Ú stacklevelrÚmp_lock) r1r4Úmaxr&rÚwarningsr5rr!r.)r(r)r*r4Úlongest_iterable_lenr5s rr r Hs‡€õ&7Ù�[¨ Ñ3ô #¤3¤{°IÓ#>Ó?ÐØ  $Ò &Ý %Ù ð/à1EñFô¨õ ,ð˜+Ñ%Ø!×&Ñ&Ó(ˆ Ø#,ˆ �KÑ Ü Ð,¨bÐ L°9Ò LÀ Ñ LÐLr2N)r)Ú__doc__Ú contextlibrÚoperatorrÚosrÚautorr#ÚstdrÚ __author__Ú__all__rr.r r ©r2rÚrDsWðñõ&Ý Ýå$Ýà˜k˜]Ð +€ Ø ˜Ð '€ðò &óð &ò[ò2Ló$!Mr2