ML idUdZddlmZddlZddlZddlZddlZddlmZddl m Z m Z m Z m Z ddlmZddlmZmZmZmZmZmZmZmZddlmZdd lmZdd lmZdd l m!Z!dd l"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*dd l+m,Z,ddl-m.Z.m/Z/ddl0m1Z1m2Z2m3Z3ddl4m5Z5ddl6m7Z7m8Z8ddl9m:Z:m;Z;ddlm?Z?m@Z@ddlAmBZBddlCmDZDmEZEmFZFdZGdeHd<dZIGddZJ d?dZKd@dZL dAdZMGd d!e ZNGd"d#e ZOe eNeOfZPd$eHd%< dBd&ZQdCd'ZRdDd(ZSdEd)ZTdFd*ZU dGd+ZV dHd,ZW dId-ZX dJd.ZY dKd/ZZ dLd0Z[dMd1Z\ dNd2Z] dOd3Z^dPd4Z_dQd5Z`ejd6k7rd7ZbdeHd8<n?ejd9zejd:zejd9zejd:zfZbdeHd8< dRd;ZedSd<ZfdTd=Zg dUd>Zhy)VaRUpdate build by processing changes using fine-grained dependencies. Use fine-grained dependencies to update targets in other modules that may be affected by externally-visible changes in the changed modules. This forms the core of the fine-grained incremental daemon mode. This module is not used at all by the 'classic' (non-daemon) incremental mode. Here is some motivation for this mode: * By keeping program state in memory between incremental runs, we only have to process changed modules, not their dependencies. The classic incremental mode has to deserialize the symbol tables of all dependencies of changed modules, which can be slow for large programs. * Fine-grained dependencies allow processing only the relevant parts of modules indirectly affected by a change. Say, if only one function in a large module is affected by a change in another module, only this function is processed. The classic incremental mode always processes an entire file as a unit, which is typically much slower. * It's possible to independently process individual modules within an import cycle (SCC). Small incremental changes can be fast independent of the size of the related SCC. In classic incremental mode, any change within a SCC requires the entire SCC to be processed, which can slow things down considerably. Some terms: * A *target* is a function/method definition or the top level of a module. We refer to targets using their fully qualified name (e.g. 'mod.Cls.method'). Targets are the smallest units of processing during fine-grained incremental checking. * A *trigger* represents the properties of a part of a program, and it gets triggered/fired when these properties change. For example, '' refers to a module-level function. It gets triggered if the signature of the function changes, or if the function is removed, for example. Some program state is maintained across multiple build increments in memory: * The full ASTs of all modules are stored in memory all the time (this includes the type map). * A fine-grained dependency map is maintained, which maps triggers to affected program locations (these can be targets, triggers, or classes). The latter determine what other parts of a program need to be processed again due to a fired trigger. Here's a summary of how a fine-grained incremental program update happens: * Determine which modules have changes in their source code since the previous update. * Process changed modules one at a time. Perform a separate full update for each changed module, but only report the errors after all modules have been processed, since the intermediate states can generate bogus errors due to only seeing a partial set of changes. * Each changed module is processed in full. We parse the module, and run semantic analysis to create a new AST and symbol table for the module. Reuse the existing ASTs and symbol tables of modules that have no changes in their source code. At the end of this stage, we have two ASTs and symbol tables for the changed module (the old and the new versions). The latter AST has not yet been type checked. * Take a snapshot of the old symbol table. This is used later to determine which properties of the module have changed and which triggers to fire. * Merge the old AST with the new AST, preserving the identities of externally visible AST nodes for which we can find a corresponding node in the new AST. (Look at mypy.server.astmerge for the details.) This way all external references to AST nodes in the changed module will continue to point to the right nodes (assuming they still have a valid target). * Type check the new module. * Take another snapshot of the symbol table of the changed module. Look at the differences between the old and new snapshots to determine which parts of the changed modules have changed. The result is a set of fired triggers. * Using the dependency map and the fired triggers, decide which other targets have become stale and need to be reprocessed. * Create new fine-grained dependencies for the changed module. We don't garbage collect old dependencies, since extra dependencies are relatively harmless (they take some memory and can theoretically slow things down a bit by causing redundant work). This is implemented in mypy.server.deps. * Strip the stale AST nodes that we found above. This returns them to a state resembling the end of semantic analysis pass 1. We'll run semantic analysis again on the existing AST nodes, and since semantic analysis is not idempotent, we need to revert some changes made during semantic analysis. This is implemented in mypy.server.aststrip. * Run semantic analyzer passes 2 and 3 on the stale AST nodes, and type check them. We also need to do the symbol table snapshot comparison dance to find any changes, and we need to merge ASTs to preserve AST node identities. * If some triggers haven been fired, continue processing and repeat the previous steps until no triggers are fired. This is module is tested using end-to-end fine-grained incremental mode test cases (test-data/unit/fine-grained*.test). ) annotationsN)Sequence)CallableFinal NamedTupleUnion) TypeAlias)DEBUG_FINE_GRAINEDFAKE_ROOT_MODULE BuildManager BuildResultGraphState load_graphprocess_fresh_modules)FineGrainedDeferredNode) CompileError)FileSystemCache) BuildSource) DecoratorFuncDef ImportFromMypyFileOverloadedFuncDef SymbolNode SymbolTableTypeInfo)Options)semantic_analysis_for_sccsemantic_analysis_for_targets)SymbolSnapshotcompare_symbol_table_snapshotssnapshot_symbol_table) merge_asts)SavedAttributes strip_target)get_dependencies_of_targetmerge_dependencies)trigger_to_target) WILDCARD_TAG make_trigger) type_state)is_stdlib_file module_prefix split_targetirMAX_ITER)mypy_extensionstyping_extensionsczeZdZddZ d d dZd dZd dZ d dZ ddZy)FineGrainedBuildManagerc|j}||_|j|_t|j|_|j|_t |jt|j |jj|_ |jj|_ d|_g|_d|j_g|_g|_g|_g|_y)aYInitialize fine-grained build based on a batch build. Args: result: Result from the initialized build. The manager and graph will be taken over by this class. manager: State of the build (mutated by this class) graph: Additional state of the build (mutated by this class) NF)managergraphget_module_to_path_mapprevious_modulesfg_depsdepsr(load_fine_grained_depsr errorstargetsprevious_targets_with_errorscopyprevious_messagesblocking_errorstale cache_enabled triggeredchanged_modulesupdated_modulesprocessed_targets)selfresultr6s X/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/mypy/server/update.py__init__z FineGrainedBuildManager.__init__s.. \\ 6tzz BOO 799:JKTYYW,3NN,B,B,D),2MM,>,>,@6:,. &+ "%'68*,,.c X|jj||z}|Dchc]\}}| }}}||_|s |jS|jj jg|_g|_t||jz}|Dchc]\}}| }}}|jjddjd|Dz|jrFt|jr1|jjdt|jzd} |jrZ|jjd|jdt|jg|z}|jd} d|_ |j!|||| |} | \}\} } } | | | f|_||_ | }n|st#|j|j$|j&t)| h|j|j}t|}|sN|jj*j-|_ |jj*j/}nt1||j}|j3|_|Scc}}wcc}}w)aJUpdate previous build result by processing changed modules. Also propagate changes to other modules as needed, but only process those parts of other modules that are affected by the changes. Retain the existing ASTs and symbol tables of unaffected modules. Reuses original BuildManager and Graph. Args: changed_modules: Modules changed since the previous update/build; each is a (module id, path) tuple. Includes modified and added modules. Assume this is correct; it's not validated here. removed_modules: Modules that have been deleted since the previous update or removed from the build. followed: If True, the modules were found through following imports Returns: A list of errors. z==== update %s ====z, c38K|]\}}t|ywN)repr).0id_s rK z1FineGrainedBuildManager.update..s-T52qd2h-Tsz previous targets with errors: %sNzexisting blocker: r)rHclearrFrAr6find_module_cacherErGdedupe_modulesrClog_fine_grainedjoinr? is_verbosesortedrB update_one$propagate_changes_using_dependenciesr7r;setr=r> new_messages#sort_messages_preserving_file_orderr@)rIrFremoved_modulesfollowedmodulerT removed_setrS initial_setrBrJnext_id next_pathblocker_messagesmessagess rKupdatezFineGrainedBuildManager.updates2 $$&)O;/>?)&!v? ?.)) ) &&,,.!(4::)EF'67eb!r7 7 %% !DII-TO-T$T T   , ,DLL1I LL ) )2VD<]<]5^^     LL ) ),>t?R?RST?U>V*W X,d.A.A-B_-TUO!003N"&D __k>8FGM CO1gy3C+'. &:#, +# #GLLJJIIEI55**##1"A&8< 8K8K8S8S8UD5#||22??AHIL7xAWAWX!)M@8s J  J&c |jjjt|j|j|j t t |j|hzg}|jjj|_|jjjj|_ |j|gS)zkTrigger a specific target explicitly. This is intended for use by the suggestions engine. ) r6r=resetr^r7r;r_r?r>r`r@rArk)rItargetrFs rKtriggerzFineGrainedBuildManager.trigger2s !!#> LL JJ II E E  - - 8  -1LL,?,?,G,G,I)!%!4!4!A!A!C!H!H!J{{?B//rMcL|jjjy)zFlush AST cache. This needs to be called after each increment, or file changes won't be detected reliably. N)r6 ast_cacherV)rIs rK flush_cachez#FineGrainedBuildManager.flush_cacheFs $$&rMc tj}|jd\}}||k(r8||jvr*||vr&|jj d|d|||fdfS|j ||||v|} | \} \}}} |D cgc]\} } | |k7s | | f}} } t | |z}tj}|jj d|d||z ddt|d |||f| fScc} } w) aRProcess a module from the list of changed modules. Returns: Tuple with these items: - Updated list of pending changed modules as (module id, path) tuples - Module which was actually processed as (id, path) tuple - If there was a blocking error, the error messages from it rzskip z1 (module with blocking error not in import graph)Nz update once: z in z.3fzs - z left)timepopr9r6rY update_modulerXlen)rIrFrfrerBrct0rgrhrJ remainingrirSpatht1s rKr]z"FineGrainedBuildManager.update_oneNs1"YY[,003 ~ %t444{* LL ) ){"ST #Wi$8$> >##GY;8NPXYz||vr1||jA|j||jC| tE|||j||htG|j&z } tj}|jI||z ||z |j>jK|j"jMt/||_| ||fdfScc}w)aUpdate a single modified module. If the module contains imports of previously unseen modules, only process one of the new modules and return the remaining work to be done. Args: module: Id of the module path: File system path of the module force_removed: If True, consider module removed from the build even if path exists (used for removing an existing file from the build) followed: Was this found via import following? Returns: Tuple with these items: - Remaining modules to process as (module id, path) tuples - Module which was actually processed as (id, path) tuple - If there was a blocking error, the error messages from it z--- update single z ---Nz__> triggered: )targets_with_errorsrH)update_isolated_timepropagate_time)'r6rYrGappendr-optionsabs_custom_typeshed_dirSENSITIVE_INTERNAL_MODULESr9r7ensure_deps_loadedr;ensure_trees_loadedrtmodulesr#namesr=rmrHupdate_module_isolated isinstance BlockedUpdater8 NormalUpdatecalculate_active_triggersr[endswithr\rEextendr?update_fine_grained_deps free_stater^r_ add_statsrkr>)rIrdrz force_removedrcr6r9r7rx old_snapshotssnapshotrJryr=treer{rErofilteredt2s rKrvz%FineGrainedBuildManager.update_module{s, %%(:6*D&IJ ##F+ 4<<//GG N33~t+ +,,00 6499e4 GUVH5 YY[>@ W__ $,VW__V5L5R5RSH$,M& ! %%f-' D'#3UM8  fm ,.4 +FD)V$:5$AD !vtnf4 4&,///(.%iYY[-g}vtnU dll #/8XG@P@PQV@WXHX LL ) )Kx8H7K*L M i$*K*KKL U? &M 2 2499 = &M $ $ &9   II  H #"44  YY[rBwrBwO ))001G1G1IJ 6u =64.$..-Ys L)LN)rJr returnNone)F)rFlist[tuple[str, str]]rbrrcboolr list[str])rnstrrrrr) rFrrfset[str]rerrB str | Nonercrr?tuple[list[tuple[str, str]], tuple[str, str], list[str] | None]) rdrrzrrrrcrrr) __name__ __module__ __qualname__rLrkrorrr]rvrMrKr4r4s"/P a.a/a a  aF0('+G.+G+G +G # +G  +G I+GZZ/Z/!$Z/59Z/EIZ/ HZ/rMr4c8t|}t}g}|r|j}||vs||vr|j|||jvrE||j xsg}|j ||j|z|j||r|S)aFind all the deps of the nodes in initial that haven't had their tree loaded. The key invariant here is that if a module is loaded, so are all of their dependencies. This means that when we encounter a loaded module, we don't need to explore its dependencies. (This invariant is slightly violated when dependencies are added, which can be handled by calling find_unloaded_deps directly on the new dependencies.) ) listr_ruaddr ancestorsr dependenciesr)r6r7initialworklistseenunloadednoders rKfind_unloaded_depsrsG}HUDH ||~ 4<4u,   w &d --3I OOE$K44y@ A OOD !  OrMc&||vr||jry|jd}tt|D]U}dj |d|dz}||vs||jr/t ||j |d||_Wy)aEnsure that the dependencies on a module are loaded. Dependencies are loaded into the 'deps' dictionary. This also requires loading dependencies from any parent modules, since dependencies will get stored with parent modules when a module doesn't exist. N.T)fine_grained_deps_loadedsplitrangerwrZr(r<)rdr;r7partsibases rKrrs5=AA LL E 3u: 8xxgA' 5=t!E!E uT{AACT J37E$K 0 8rMct|||}|rLt|r3|jdjt |t |t |||yy)zDEnsure that the modules in initial and their deps have loaded trees.z4Calling process_fresh_modules on set of size {} ({})N)rr[rYformatrwr\r)r6r7r to_processs rKrrsZ$GUG.restoreYse B[ Y&/#w&OOB'[ Z&b u"I rMrz--> z (newly imported)zfile must be at least parsed) semanal_timetypecheck_timefinish_passes_time)rrrr)$rYfscacheisfile delete_moduler get_sourcesmissing_modulesremovegetrrrmodule_with_blockerrSrrjrrxpathrwfind_relative_leaf_module parse_filerrtrr=!replace_modules_with_new_variants type_checkerrmtype_check_first_passtype_check_second_passdetect_possibly_undefined_varsgenerate_unused_ignore_notes"generate_ignore_without_code_notes finish_passesr)rdrzr6r9r7rrcsourcesr new_moduleserrstrFremaining_modulesrSrTstaterxnew_modules_dictr{rt3rrrs ` ` @@@rKrr1sl0U  ;vj!9: ?? ! !$ '=fdE73FD"d33'//+;vtn=MxXG (((&&v.K6"J##F+I   "KN U?f 7GUK8f (B(BC4??Rrxx(?O? ?a0%H ~.+!23A34  4z1B!CD &ME  :: !A#AA ! BL!%%((W^^D5;EJJ3G%gu{I6NP`a B   !   " ((* &&( ,,. B  B 2727WY\^W^_E&M &7 DDy N&&&&K8bBEE8889S44dB MM N@4 LVT+ HHRL MM2t* %& MrMcj|jDcic]\}}||jc}}Scc}}wrP)itemsr)r7rdrs rKr8r8s)38;;= A<64FDJJ  AA As/c ~g}|D]5\}}|j|s|jt||d|7|S)N)rc)rrr)rrrFrcrrSrzs rKrrsH G#KD >>$  NN;tRI JK NrMct}|D],}|j|}||j|i}||}|&t|t }|j|nt||j }t |||}|jd} |jD]} | jd| dzkr.| jdddvr|j|tz| jd| dzkDs`|j| jdddtz||z}/|D chc] } t| c} Scc} w)zDetermine activated triggers by comparing old and new symbol tables. For example, if only the signature of function m.f is different in the new symbol table, return {''}. rrr) __builtins____file__r __package____doc__r) r_rrr#rrr"countr@rr*rsplitr+) r6rrrrS snapshot1new snapshot2diffpackage_nesting_levelitemnames rKrrsNeE!!%%b)   IIbMI"o ;-b+-@I IIbM-b#))?% @(  C!D,1 14L  11 1sEc|D]Y}|j|}||}|s|t||j||j||j|<|||_[y)aReplace modules with newly builds versions. Retain the identities of externally visible AST nodes in the old ASTs so that references to the affected modules from other modules will still be valid (unless something was deleted or replaced with an incompatible definition, in which case there will be dangling references that will be handled by propagate_changes_using_dependencies). N)rr$rrr)r6r7 old_modulesrrSpreserved_module new_modules rKrr'sh.&??2. _  6 ')9)?)?ZM]M] ^"2GOOB -E"IN .rMc d}g}|s|r`|dz }|tkDrtdtzt||||\} } } |jfdt | D|D]^} t | } | | |vs| | vr t | | <|jd| t|| \}}| | j|`t }| D]}tj|t | jdD]\} }| |vsJ|t|| |||z} t }t }t|r|jdt||r\|r`|S) aiTransitively rechecks targets based on triggers and the dependency map. Returns a list (module id, path) tuples representing modules that contain a target that needs to be reprocessed but that has not been parsed yet. Processed targets should be appended to processed_targets (used in tests only, to test the order of processing targets). rrz5Max number of iterations (%d) reached (endless loop?)c3@K|]}||jfywrP)r)rRrSr7s rKrUz7propagate_changes_using_dependencies.._s R2"eBioo!6 Rszprocess target with error: c |dSNrr)xs rKz6propagate_changes_using_dependencies..rs AaDrMkeyr})r0 RuntimeErrorfind_targets_recursiverr\r.r_rY lookup_targetrkr,reset_subtype_caches_forrreprocess_nodesr[r)r6r7r;rEup_to_date_modulesr~rHnum_iterrtodor stale_protosrnrS more_nodesrTinfonodess ` rKr^r^?s$H/1 *A  h VYaab b'= UIt-?( $h    RAQ RR* ,Fuf-B~",>">T>"uDH((+Fvh)OP -gv > AR + ,E ! 6D  / / 5 6  .A ]IB// // %UDJ[\ \I ] !U!e g   $ ${4 ?2E%F GK *N rMci}|}t}t}t} |r||z}|} t}| D]} | jdrEt|t| } | r t | ||||j | t|z z}Zt|| } | i| |vrn| |j vs|j | jr| j| | |vr t|| <|jd| t|| \} }|r|j||| j| |r|| |fS)zFind names of all targets that need to reprocessed, given some triggers. Returns: A tuple containing a: * Dictionary from module id to a set of stale targets. * A set of module ids for unparsed modules with stale targets. DHHVSU3i??)%8 $ 22W__4y1CC #&&y1F*(+F9%((9VH)=>(5gv(F%+ $$[1y!((2? 3 J >< //rMcf||vr|jd|ztS|j|}t|j|j }|j D cic]\}} || j}}} t|j|j } d d} t|| } ||} | j}|jj|j|j|jxs | j |jj#|j|j$t}| D],}t'||j(}||j+|.|jj-|j||D]7}||k(s ||j.D]}|jj1|9i}| D]=}|j3|j(jt5|j(|?t7||| ||t|j|j }|D]}||vst9||||||||j;}|j=d|_d|_ |jC| d}|r*d}||j;jCdrd}|r*|jjDr,|jFjI||jKt|j|j }tM|j| |}|Dchc] }tO|}}tQ|| |||||jS||jU|Scc} }wcc}w) zQReprocess a set of nodes within a single module. Return fired triggers. z-%s not in graph (blocking errors or deleted?)c.|jjSrP)rline)rs rKrzreprocess_nodes..keysyy~~rMr rF)allow_constructor_cacheT)rrrint)+rYr_rfind_symbol_tables_recursivefullnamerrr@r#r\rr=set_file_ignored_linesrz ignored_lines ignore_errors ignore_allset_skipped_lines skipped_linestarget_from_noderrclear_errors_in_targets early_errorsadd_error_inforr&r r$rrmpass_num last_passcheck_second_pass export_types all_typesrktype_mapr"r+ update_depsverify_dependenciesr)r6r7rnodesetr;rH file_node old_symbolsrrold_symbols_snapshotrrrrr>rrnr saved_attrsr# new_symbolscheckermorenew_symbols_snapshotchanged new_triggereds rKrrst  !PS\!\]u  *I.y/A/A9??SK9D9J9J9LM+$4%MKM01C1CY__U 7 $E ) EmmG NN)) //1F1F1Z%JZJZ NN$$Y^^Y5L5LMeG !)TYY7   KK   NN**9>>7C4 Y i(55 4--d3 44 $&K1  !7!78X]]K01"% "2E5+N/y/A/A9??SKS ;  y+d"3Y D@Q RS I++-G MMOGG  $ $UE $ JD    ( ( * < s rKr=r=3s <}}#,,.Y$$G!GG- tT8W-C-C !) 0 < GW OOGSU + 2 27 ; < <##D)rMc dfd }j}t|}| |gdfS|\}}|r|jd}ng}||}d} d} |D]} t|tr|} t|t r|} t|t tfr| |j vr |gdfcS|j | jrgdfcS|j | j}t|tr| J|jk7r |gdfSt| dg} d} |jr|} |j jD]H\}}|j}t|ts#tdz|z\}}| j|J| | fSt|t r |j"}t|tt t$fs |gdfS|jk7r |gdfSt|| gdfS)aLook up a target by fully-qualified name. The first item in the return tuple is a list of deferred nodes that needs to be reprocessed. If the target represents a TypeInfo corresponding to a protocol, return it as a second item in the return tuple, otherwise None. c0jddy)NzCan't find matching target for z (stale dependency?))rY)r6rnsrK not_foundz lookup_target..not_foundRs  #B6(J^!_`rMNrr)rr/rrrrrplugin_generatedrr,r is_protocolrrrrrfuncr)r6rnrTrrrdrestrrfile active_classcrJ stale_inforsymnodemethodrTs`` rKrrHs aooG & )E } 4xLFD ZZ_  %foD DL  " dH %L dH %D$8 45$**9L Kt8O ::a= ) )t8Ozz!}!! "$!  ==F " Kt8O)$56&*   J!ZZ--/ &MD'<>rMcD|jjdk\xstS)Nr)r verbosityr )r6s rKr[r[s ?? $ $ ) ?-??rMct|tr||jk7ry|S|jr%|jjd|jS|d|jS)a'Return the target name corresponding to a deferred node. Args: module: Must be module id of the module that defines 'node' Returns the target name, or None if the node is not a valid target in the given module (for example, if it's actually defined in another module). Nr)rrr,rr)rdrs rKr3r3s^$! T]] " 99ii(()499+6 6XQtyyk* *rMwin32)z /__init__.pyz /__init__.pyi INIT_SUFFIXESz __init__.pyz __init__.pyicd}||jtsytjj |} |j |}|D]} | jdr%| jds| jddk7r;| jdd|dzz} t| } t|||| |vst|| D]} |j| } | st|| }||j|} | s9| j+| jJ|| j| j}| j}|sJ|j D]}t#|t$s|j|k(s$t'fd|j(DsC| | j*vsR| j,j/| | j*j1| |S#t $rg}YwxYw)aLook for submodules that are now suppressed in target package. If a submodule a.b gets added, we need to mark it as suppressed in modules that contain "from a import b". Previously we assumed that 'a.b' is not a module but a regular name. This is only relevant when following imports normally. Args: module: target package in which to look for submodules path: path of the module refresh_file: function that reads the AST of a module (returns error messages) Return a list of errors from refresh_file() if it was called. If the return value is None, we didn't call refresh_file(). N)z.pyz.pyiz __init__.rrrc3.K|] \}}|k(ywrPr)rRrrT shortnames rKrUz0refresh_suppressed_submodules..s'SgdA (9'Ss)rrcosrzdirnamelistdirFileNotFoundErrorrrrr+rrr.rrSimportsrranyrsuppressed_set suppressedrr)rdrzr;r7r refresh_filerjpkgdirentriesfnam submodulerodepr dep_modulerimprfs @rKrefresh_suppressed_submodulesrws0H |4==7 WW__T "F//&)(D o.{+zz#!# JJsOA& SL9, y) 64/ d?G} D #!.uc!:J!- % * 5zz) %zz555#/%**#E ::DK4#||D%c:6 #& 0$''S'S$S$-U5I5I$I % 0 0 7 7 B % 4 4 8 8 CD# D(DR OW sG&& G54G5cVtjd|}|r|jdSy)Nz([^:]+):[0-9]+: (error|note): r)rematchgroup)messagems rKextract_fnam_from_messager~s' 2G.;s !A$rMr )r~rwrrrrr\r) rj prev_messagesnordermsgrrgroupsr maybe_fnamr{rJrs rKraras A E(- D%E$K FA F A c(m qk7<   AH %6xAGuT-hq1uo>F Q228<Q Xa[) AH %6xAGuT-hq1uo>F Q228<  uyyQ/78 Q c(m "F /F F U e MrM)r6r r7dict[str, State]r Sequence[str]rr)rdrr;dict[str, set[str]]r7rrr)r6r r7rrrrr)rdrrzrr6r r9dict[str, str]r7rrrrcrrr)rrr7rrztuple[str, str]) rrrzrr7rr6r rr)rrrr)r7rrr) rrrrrFrrcrrzlist[BuildSource])r6r rz$dict[str, dict[str, SymbolSnapshot]]rdict[str, MypyFile | None]rr) r6r r7rrrrrrr)r6r r7rr;rrErrrr~rrHrrr) r6r r7rrrr;rrrrzGtuple[dict[str, set[FineGrainedDeferredNode]], set[str], set[TypeInfo]])r6r r7rrrr?zset[FineGrainedDeferredNode]r;rrHrrr)rKrrLrrzdict[str, SymbolTable]) rrrzlist[FineGrainedDeferredNode]r7rr;rrrrr)r6r rnrrz5tuple[list[FineGrainedDeferredNode], TypeInfo | None])r6r rr)rdrrz&FuncDef | MypyFile | OverloadedFuncDefrr)rdrrzrr;rr7rrrrozCallable[[str, str], list[str]]rzlist[str] | None)r|rrr)r|rrr)rjrrrrr)ir __future__rrgrysysrtcollections.abcrtypingrrrrr2r r mypy.buildr r r r rrrr mypy.checkerr mypy.errorsr mypy.fscachermypy.modulefinderr mypy.nodesrrrrrrrr mypy.optionsrmypy.semanal_mainrr mypy.server.astdiffr!r"r#mypy.server.astmerger$mypy.server.aststripr%r&mypy.server.depsr'r(mypy.server.targetr)mypy.server.triggerr*r+mypy.typestater, mypy.utilr-r.r/r0rrr4rrrrrrrrrrXr8rrrr^rrr+r=rr[r3platformrcsepaltseprwr~rrarrMrKrsFpd# $555   1$()   !V ,>K0:%AA%Fk/k/\  "2=J88& :  :"2 :=J :  :.:J!}!<= j=wE wE wEwE% wE  wE  wEwEwEt6/,B     +    -2 -27-2,-2 -2`. . .,., .  .0> > > > > ! > " >!>>B;0 ;0 ;0;0  ;0 ! ;0 M ;0|` ` ``* `  ` ! ``F$** (* *  *  *  **K? K?#&K?:K?\@+*<<7