§ |<ˆj•ãóz—ddlmZddlmZddlmZddlmZddlm Z m Z erddl m Z Gd„de¦«Z dd „ZdS)é)Ú annotations)Ú TYPE_CHECKING)Únodes)Ú BaseChecker)Úonly_required_for_messagesÚ safe_infer)ÚPyLintercó^—eZdZdZdZed¦«ZddiZed¦«d d „¦«Z d S)ÚThreadingCheckerz‚Checks for threading module. - useless with lock - locking used in wrong way that has no effect (with threading.Lock():) Ú threading)zthreading.Lockzthreading.RLockzthreading.Conditionzthreading.Semaphorezthreading.BoundedSemaphoreÚW2101)z/'%s()' directly created in 'with' has no effectúuseless-with-lockz“Used when a new lock instance is created by using with statement which has no effect. Instead, an existing instance should be used to acquire lock.rÚnodeú nodes.WithÚreturnÚNonecóþ—d„|jD¦«}|D]h}t|tj¦«rLt |j¦«}|€Œ3| ¦«}||jvr| d||¬¦«ŒidS)Nc3óTK—|]#\}}t|tj¦«¯|V—Œ$dS©N)Ú isinstancerÚCall)Ú.0ÚcÚ_s ús/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/pylint/checkers/threading_checker.pyú z.ThreadingChecker.visit_with../s7èè€ÐRÐR¡$ ! Q½ À1ÅeÄjÑ8QÔ8QÐR˜AÐRÐRÐRÐRÐRÐRór)rÚargs) ÚitemsrrrrÚfuncÚqnameÚLOCKSÚ add_message)ÚselfrÚcontext_managersÚcontext_managerÚinfered_functionr!s rÚ visit_withzThreadingChecker.visit_with-sŸ€àRÐR¨$¬*ÐRÑRÔRÐØ/ð Qð QˆOݘ/­5¬:Ñ6Ô6ð QÝ#-¨oÔ.BÑ#CÔ#CÐ Ø#Ð+ØØ(×.Ò.Ñ0Ô0�ؘDœJÐ&Ð&Ø×$Ò$Ð%8¸tÈ%Ð$ÑPÔPÐPøð Qð QrN)rrrr) Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚ frozensetr"Úmsgsrr(©rrr r s€€€€€ððð €Dà ˆIð ñ ô €Eð ð ð €Dð ÐÐ 3Ñ4Ô4ð Qð Qð Qñ5Ô4ð Qð Qð Qrr Úlinterr rrcóJ—| t|¦«¦«dSr)Úregister_checkerr )r1s rÚregisterr4:s%€Ø ×ÒÕ,¨VÑ4Ô4Ñ5Ô5Ð5Ð5Ð5rN)r1r rr)Ú __future__rÚtypingrÚastroidrÚpylint.checkersrÚpylint.checkers.utilsrrÚ pylint.lintr r r4r0rrúr;sÒðð #Ð"Ð"Ð"Ð"Ð"à Ð Ð Ð Ð Ð àÐÐÐÐÐà'Ð'Ð'Ð'Ð'Ð'ØHÐHÐHÐHÐHÐHÐHÐHàð%Ø$Ð$Ð$Ð$Ð$Ð$ð%Qð%Qð%Qð%Qð%Q�{ñ%Qô%Qð%QðP6ð6ð6ð6ð6ð6r