hyb
2026-01-30 15bc7727b58bf9ca0c8f21702fa893daac232b8d
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
Ë
ñúhÃãó\—ddlmZddlZddlmZddlmZmZmZerddl    m
Z
Gd„d«Z y)é)Ú annotationsN)ÚNamedTemporaryFile)Ú TYPE_CHECKINGÚAnyÚCallable)Ú HTTPResponsecóN—eZdZdZ                        d    d„Zd
d„Zd d„Zd d„Zd dd„Zdd„Z    y)ÚCallbackFileWrappera
    Small wrapper around a fp object which will tee everything read into a
    buffer, and when that file is closed it will execute a callback with the
    contents of that buffer.
 
    All attributes are proxied to the underlying file object.
 
    This class uses members with a double underscore (__) leading prefix so as
    not to accidentally shadow an attribute.
 
    The data is stored in a temporary file until it is all available.  As long
    as the temporary files directory is disk-based (sometimes it's a
    memory-backed-``tmpfs`` on Linux), data will be unloaded to disk if memory
    pressure is high.  For small files the disk usually won't be used at all,
    it'll all be in the filesystem memory cache, so there should be no
    performance impact.
    cóD—tdd¬«|_||_||_y)Nzrb+T)Údelete)rÚ_CallbackFileWrapper__bufÚ_CallbackFileWrapper__fpÚ_CallbackFileWrapper__callback)ÚselfÚfpÚcallbacks   úWH:\Change_password\venv_build\Lib\site-packages\pip/_vendor/cachecontrol/filewrapper.pyÚ__init__zCallbackFileWrapper.__init__!s €ô(¨°dÔ;ˆŒ
؈Œ    Ø"ˆócó<—|jd«}t||«S)Nr)Ú__getattribute__Úgetattr)rÚnamers   rÚ __getattr__zCallbackFileWrapper.__getattr__(s"€ð× "Ñ "Ð#=Ó >ˆÜr˜4ӠРrc󢗠   |jjduS#t$rYnwxYw    |jj}|S#t$rYywxYw)NF)rrÚAttributeErrorÚclosed)rrs  rÚ__is_fp_closedz"CallbackFileWrapper.__is_fp_closed4s\€ð    Ø—9‘9—<‘< 4Ð'Ð 'øäò    Ù ð    úð    ØŸ9™9×+Ñ+ˆF؈Møäò    Ø ðð     ús‚š    &¥&ªAÁ    AÁ Acó†—|jr”|jj«dk(rd}nc|jjdd«t    t j
|jj «dt
j¬««}|j|«d|_|jj«y)Nrr)Úaccess)    rr ÚtellÚseekÚ
memoryviewÚmmapÚfilenoÚ ACCESS_READÚclose)rÚresults  rÚ_closezCallbackFileWrapper._closeFs‹€Ø ?Š?؏z‰z‰Ó  AÒ%à‘ð —
‘
—‘  1Ô%Ü#Ü—I‘I˜dŸj™j×/Ñ/Ó1°1¼T×=MÑ=MÔNóð O‰O˜FÔ #ðˆŒð     
‰
×ÑÕrNcó¶—|jj|«}|r|jj|«|j    «r|j «|S©N)rÚreadr ÚwriteÚ"_CallbackFileWrapper__is_fp_closedr)©rÚamtÚdatas   rr,zCallbackFileWrapper.readasE€Ø—i‘i—n‘n SÓ)ˆÙ ð J‰J× Ñ ˜TÔ "Ø × Ñ Ô  Ø K‰KŒMàˆ rcóʗ|jj|«}|dk(r|dk(r|S|jj|«|j    «r|j «|S)Nés
)rÚ
_safe_readr r-r.r)r/s   rr4zCallbackFileWrapper._safe_readlsV€Ø—i‘i×*Ñ*¨3Ó/ˆØ !Š8˜ šðˆKà 
‰
×Ñ˜ÔØ × Ñ Ô  Ø K‰KŒMàˆ r)rrrzCallable[[bytes], None] | NoneÚreturnÚNone)rÚstrr5r)r5Úbool)r5r6r+)r0z
int | Noner5Úbytes)r0Úintr5r9)
Ú__name__Ú
__module__Ú __qualname__Ú__doc__rrr.r)r,r4©rrr
r
s=„ñð$#Øð#Ø*Hð#à     ó#ó
!óó$ô6    ô rr
) Ú
__future__rr$ÚtempfilerÚtypingrrrÚ http.clientrr
r?rrú<module>rDs(ðõ#ã Ý'ß/Ñ/áÝ(÷iòir