hyb
2026-01-30 44480e71b27aa9d4cb8441f50c873f1b110e9691
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Ë
·^iÑ%ãó´—dZddlZddlZddlZddlZddlZddlZddlmZm    Z    m
Z
m Z m Z ddl mZddlmZmZddddddœde
ed    e    e
ed
e    ed e    ed e    ej(d e    edej fd„Z            dd ej(deee eefded    e    e
ede    e ej d e    edej fd„Z    dde
ededeefd„Zy)zBase implementation.éN)ÚListÚOptionalÚSequenceÚSetÚUnioné)Ú
_staggered)Ú AddrInfoTypeÚSocketFactoryType)Úlocal_addr_infosÚhappy_eyeballs_delayÚ
interleaveÚloopÚsocket_factoryÚ
addr_infosr r rrrÚreturnc    ƒóƇ‡‡‡‡‡‡K—|xŠstj«Št|«dk(}||€d}|r|s t||«}d}gŠ||r"|D]}    t    ‰‰|‰d‰«ƒd{–—†}n|nzt«Š    tjˆˆˆˆˆfd„|D«|«ƒd{–—†\}}    }    ‰D]9}
|
|usŒtjt «5|
j«ddd«Œ;dŠ|€ê‰D  cgc] } | D]} | ‘ŒŒ } } }     | d}t| «dk(r|‚t|«Štˆfd„| D««r|‚djdj!d„| D«««}t#|t «r,|j$Štˆfd    „| D««r9t ‰|«‚t#|t
«rtd
„| D««r t |«‚t |«‚|S7Œq#t
t f$rYŒwxYw7ŒP#1swYŒRxYw#‰D]E}
|
|usŒtjt «5|
j«ddd«Œ;#1swYŒDxYwdŠwxYwcc} } w#d} dŠwxYw­w) aM
    Connect to a TCP server.
 
    Create a socket connection to a specified destination.  The
    destination is specified as a list of AddrInfoType tuples as
    returned from getaddrinfo().
 
    The arguments are, in order:
 
    * ``family``: the address family, e.g. ``socket.AF_INET`` or
        ``socket.AF_INET6``.
    * ``type``: the socket type, e.g. ``socket.SOCK_STREAM`` or
        ``socket.SOCK_DGRAM``.
    * ``proto``: the protocol, e.g. ``socket.IPPROTO_TCP`` or
        ``socket.IPPROTO_UDP``.
    * ``canonname``: the canonical name of the address, e.g.
        ``"www.python.org"``.
    * ``sockaddr``: the socket address
 
    This method is a coroutine which will try to establish the connection
    in the background. When successful, the coroutine returns a
    socket.
 
    The expected use case is to use this method in conjunction with
    loop.create_connection() to establish a connection to a server::
 
            socket = await start_connection(addr_infos)
            transport, protocol = await loop.create_connection(
                MyProtocol, sock=socket, ...)
    rNc
3ó\•K—|]#}tjt‰‰|‰‰‰«–—Œ%y­w©N)Ú    functoolsÚpartialÚ _connect_sock)Ú.0ÚaddrinfoÚ current_loopÚ
exceptionsr Ú open_socketsrs  €€€€€õhH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\aiohappyeyeballs/impl.pyú    <genexpr>z#start_connection.<locals>.<genexpr>Xs;øèø€ò ð!ô×%Ñ%Ü%Ø$Ø"Ø Ø(Ø$Ø&÷ñ ùsƒ),rc3ó:•K—|]}t|«‰k(–—Œy­wr©Ústr)rÚexcÚmodels  €rrz#start_connection.<locals>.<genexpr>~søèø€ÒC¨S”s˜3“x 5Õ(ÑCùsƒzMultiple exceptions: {}z, c3ó2K—|]}t|«–—Œy­wrr!©rr#s  rrz#start_connection.<locals>.<genexpr>ƒsèø€ÒA¨3œc #ŸhÑAùs‚c3ó`•K—|]%}t|t«xr|j‰k(–—Œ'y­wr)Ú
isinstanceÚOSErrorÚerrno)rr#Ú first_errnos  €rrz#start_connection.<locals>.<genexpr>‰s1øèø€òàô# 3¬Ó0ÒM°S·Y±YÀ+Ñ5MÓMñùsƒ+.c3ó<K—|]}t|t«–—Œy­wr)r(Ú RuntimeErrorr&s  rrz#start_connection.<locals>.<genexpr>Žsèø€òGØ69”J˜s¤L×1ñGùs‚)ÚasyncioÚget_running_loopÚlenÚ_interleave_addrinfosrr-r)Úsetr    Ústaggered_raceÚ
contextlibÚsuppressÚcloser"ÚallÚformatÚjoinr(r*)rr r rrrÚsingle_addr_infoÚsockrÚ_ÚsÚsubr#Úall_exceptionsÚfirst_exceptionÚmsgrrr+r$rs `   `          @@@@@rÚstart_connectionrBs¸þèø€ðN!Ð  ˆLÐ  Ü×/Ñ/Ó1ˆ ä˜:“¨!Ñ+ÐàÐ'¨JÐ,>àˆ
áÑ*Ü*¨:°zÓBˆ
à$(€Dà;=€JØÐ#Ñ'7à"ò     ˆHð Ü*Ø ØØØ$ØØ"ó ÷ññ     ô,/«5ˆ ð     Ü)×8Ñ8÷ ð%/ô ð%ó ÷‰JˆD!Qð0"ò "Ø˜D’=Ü#×,Ñ,¬WÓ5ñ"ØŸ™œ    ÷"ð"ð "ð ˆLà €|Ø)3×C #¸sÒC¸š#ÐC˜#ÐCˆÑCð!    Ø,¨QÑ/ˆOܐ>Ó" aÒ'Ø%Ð%ô˜OÓ,ÜÓC°NÔCÔCØ)Ð)ð0×6Ñ6Ø—I‘IÑA°.ÔAÓAóô
˜o¬wÔ7Ø"1×"7Ñ"7KÜóà#1ôôô& k°3Ó7Ð7Ü ´Ô>Ä3ñGØ=KôGôDô' sÓ+Ð+ô˜c“lÐ"ð
€Kðcúô!¤'Ð*ò Úð úð
ù÷4"ñ"ûð"ò "Ø˜D’=Ü#×,Ñ,¬WÓ5ñ"ØŸ™œ    ÷"÷"ñ"úð "ð ‰LüóDøðB"ˆN؉JüsljA
I!ÁGÁ'GÁ(GÁ,I!Á;&HÂ!G1Â"HÂ*    I!Â4I!Ã G4ÃI!Ã1IÄI!ÄCIÇI!ÇGÇG.Ç*I!Ç-G.Ç.I!Ç1HÇ4G>    Ç9I!È
IÈ IÈ%H?    È6    IÈ?I É IÉ    I!ÉIÉI!rÚ    addr_inforcƒóúK—g}|j|«|\}}}    }
} d}     |    ||«} ntj|||    ¬«} ||j| «| jd«|G|D]!\} }
}
}
}| |k7rŒ    | j    |«n"|r|j«‚t d|›d«‚|j| | «ƒd{–—†| dx}}S#t
$rU}d|›d|j xsdj«›}t |j|«}|j|«Yd}~Œ¾d}~wwxYw7Œk#tt
f$ra}|j|«| H||j| «    | j«‚#t
$r}|j|«‚d}~wwxYw‚d}~w| H||j| «    | j«‚#t
$r}|j|«‚d}~wwxYw‚xYw#dx}}wxYw­w)    aq
    Create, bind and connect one socket.
 
    If open_sockets is passed, add the socket to the set of open sockets.
    Any failure caught here will remove the socket from the set and close it.
 
    Callers can use this set to close any sockets that are not the winner
    of all staggered tasks in the result there are runner up sockets aka
    multiple winners.
    N)ÚfamilyÚtypeÚprotoFz*error while attempting to bind on address z: Úz&no matching local address with family=z found)ÚappendÚsocketÚaddÚ setblockingÚbindr)ÚstrerrorÚlowerr*ÚpopÚ sock_connectr-Úremover6)rrrCr rrÚ my_exceptionsrEÚtype_rGr<Úaddressr;ÚlfamilyÚladdrr#rAÚes                  rrrsHèø€ð$9;€MØ×ѐmÔ$Ø'0Ñ$€FˆE5˜!˜WØ €Dð5*Ø Ð %Ù! )Ó,‰Dä—=‘=¨°UÀ%ÔHˆDØ Ð #Ø × Ñ ˜TÔ "Ø ×Ñ˜ÔØ Ð 'Ø+;ò UÑ'˜˜A˜q %à˜fÒ$Øð
.Ø—I‘I˜eÔ$Ùð  Uñ !Ø'×+Ñ+Ó-Ð-ä!Ð$KÀFÀ9ÈFÐ"SÓTÐTØ×Ñ  gÓ.×.Ð.Øð.&*Ð)ˆ
‘]øôKò.ð#Ø#( )¨2ØŸL™LÒ.¨B×5Ñ5Ó7Ð8ð:ðô
" #§)¡)¨SÓ1CØ!×(Ñ(¨×-Ñ-ûð.úð    /ùä œ'Ð "ò
Ø×јSÔ!Ø Ð ØÐ'Ø×#Ñ# DÔ)ð Ø—
‘
” ð    øôò Ø×$Ñ$ QÔ'Øûð úð    ûð    Ø Ð ØÐ'Ø×#Ñ# DÔ)ð Ø—
‘
” ð    øôò Ø×$Ñ$ QÔ'Øûð úð    ûà%)Ð)ˆ
‘]üs´‚G;¡AD4Á<C 9D4ÃD2ÃD4à G;à   D/ÃA D*Ä%D4Ä*D/Ä/D4Ä4G/Å&FÅ*E;Å:FÅ;    FÆFÆFÆFÆG/Æ:G Ç
G/Ç     G+ÇG&Ç&G+Ç+G/Ç/G2Ç2G8Ç8G;Ú    addrinfosÚfirst_address_family_countcó”—tj«}|D]$}|d}||vrg||<||j|«Œ&t|j    ««}g}|dkDr%|j |dd|dz
«|dd|dz
…=|j d„t jjt j|Ž«D««|S)z-Interleave list of addrinfo tuples by family.rrNc3ó$K—|]}||–—Œ
y­wr©)rÚas  rrz(_interleave_addrinfos.<locals>.<genexpr>þsèø€òà Ø ˆ=ô    
ñùs‚)
Ú collectionsÚ OrderedDictrIÚlistÚvaluesÚextendÚ    itertoolsÚchainÚ from_iterableÚ zip_longest)rYrZÚaddrinfos_by_familyÚaddrrEÚaddrinfos_listsÚ    reordereds       rr1r1ësð€ô     ×ÑÓ!ððò1ˆØa‘ˆØ Ð,Ñ ,Ø*,Ð  Ñ 'ؘFÑ#×*Ñ*¨4Õ0ð    1ô
Ð.×5Ñ5Ó7Ó8€Oà$&€IØ! AÒ%Ø×ј¨Ñ+Ð,LÐ.HÈ1Ñ.LÐMÔNØ ˜AÑ Ð?Ð!;¸aÑ!?Ð?Ð @Ø ×Ññä—‘×.Ñ.¬y×/DÑ/DÀoÐ/VÓWôôð
Ðó)NNN)r)Ú__doc__r.r_r4rrdrJÚtypingrrrrrrHr    Útypesr
r ÚfloatÚintÚAbstractEventLooprBr)r-rr1r]rlrú<module>rsszðÙãÛÛÛÛÛ ß7Õ7åß2ð :>Ø,0Ø $Ø04Ø26òKؘÑ&ðKð˜x¨ Ñ5Ñ6ðKð# 5™/ð    Kð
˜‘ ð Kð 7×,Ñ,Ñ
-ð KðÐ.Ñ/ðKð ‡]]óKðd:>Ø15Ø26ñ K*Ø
#ðK*àT˜% ¨Р5Ñ6Ñ7Ñ8ðK*ððK*ð˜x¨ Ñ5Ñ6ð    K*ð
˜3˜vŸ}™}Ñ-Ñ.ð K*ð Ð.Ñ/ð K*ð ‡]]óK*ð^JKñؘ Ñ%ðØCFðà    ˆ,Ñôrl