hyb
2025-12-23 10f3a1daddfbc7fa3dd2069197d83e8b6ef19176
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
103
104
Ë
@ñúh÷ãó°—ddlmZddlmZddlZddlmZGd„d«Zde    d    e
d
e
d dfd „Z Gd „de
e«Z Gd„de e«ZGd„dee«ZdD] Ze eed«ŒGd„dee«ZdD] Ze eed«ŒGd„dej(j*e«Zed«Zded efd„Ze
e e eeeeeiZded efd„Zded efd„Ze«Ze«Zy) é)Úwraps)ÚTypeVarNé)ÚSetuptoolsDeprecationWarningcó —eZdZUdZdZeed<y)ÚStatica`
    Wrapper for built-in object types that are allow setuptools to identify
    static core metadata (in opposition to ``Dynamic``, as defined :pep:`643`).
 
    The trick is to mark values with :class:`Static` when they come from
    ``pyproject.toml`` or ``setup.cfg``, so if any plugin overwrite the value
    with a built-in, setuptools will be able to recognise the change.
 
    We inherit from built-in classes, so that we don't need to change the existing
    code base to deal with the new types.
    We also should strive for immutability objects to avoid changes after the
    initial parsing.
    FÚ    _mutated_N)Ú__name__Ú
__module__Ú __qualname__Ú__doc__r    ÚboolÚ__annotations__©óúEH:\Change_password\venv_build\Lib\site-packages\setuptools/_static.pyrr    s…ñ ð€IˆtÔrrÚtargetÚmethodÚcopyingÚreturnc󆇇—t||d«Š‰€yt‰«dtfˆˆfd„ «}d|_t    |||«y)a    
    Because setuptools is very flexible we cannot fully prevent
    plugins and user customizations from modifying static values that were
    parsed from config files.
    But we can attempt to block "in-place" mutations and identify when they
    were done.
    NÚselfcób•—d|_tjdd‰›dd¬«‰|g|¢­i|¤ŽS)NTz/Direct modification of value will be disallowedzæ
            In an effort to implement PEP 643, direct/in-place changes of static values
            that come from configuration files are deprecated.
            If you need to modify this value, please first create a copy with z¸
            and make sure conform to all relevant standards when overriding setuptools
            functionality (https://packaging.python.org/en/latest/specifications/).
            )iéé
r)Údue_date)r    rÚemit)rÚargsÚkwargsrÚfns   €€rÚ _replacementz+_prevent_modification.<locals>._replacement'sSø€ðˆŒÜ$×)Ñ)Ø =ðOðPWÈiðX ð ð$õ
    
ñ$Ð(˜Ò( Ñ(Ð(rÚ)Úgetattrrrr Úsetattr)rrrr rs  ` @rÚ_prevent_modificationr$sNù€ô
˜ Ó    &€BØ    €zØä
ˆ2ƒYð)œ6õ)óð)ð"€LÔÜ ˆFF˜LÕ)rcó —eZdZy)ÚStrN©r
r r rrrr&r&=ó„Ørr&có —eZdZy)ÚTupleNr'rrrr*r*Ar(rr*có—eZdZdZy)ÚLista£
    :meta private:
    >>> x = List([1, 2, 3])
    >>> is_static(x)
    True
    >>> x += [0]  # doctest: +IGNORE_EXCEPTION_DETAIL
    Traceback (most recent call last):
    SetuptoolsDeprecationWarning: Direct modification ...
    >>> is_static(x)  # no longer static after modification
    False
    >>> y = list(x)
    >>> y.clear()
    >>> y
    []
    >>> y == x
    False
    >>> is_static(List(y))
    True
    N©r
r r r rrrr,r,Es„òrr,)
Ú __delitem__Ú__iadd__Ú __setitem__ÚappendÚclearÚextendÚinsertÚremoveÚreverseÚpopz `list(value)`có—eZdZdZy)ÚDictaÇ
    :meta private:
    >>> x = Dict({'a': 1, 'b': 2})
    >>> is_static(x)
    True
    >>> x['c'] = 0  # doctest: +IGNORE_EXCEPTION_DETAIL
    Traceback (most recent call last):
    SetuptoolsDeprecationWarning: Direct modification ...
    >>> x._mutated_
    True
    >>> is_static(x)  # no longer static after modification
    False
    >>> y = dict(x)
    >>> y.popitem()
    ('b', 2)
    >>> y == x
    False
    >>> is_static(Dict(y))
    True
    Nr-rrrr9r9ls„òrr9)r.Ú__ior__r0r2r7ÚpopitemÚ
setdefaultÚupdatez `dict(value)`có—eZdZdZy)Ú SpecifierSetz>Not exactly a built-in type but useful for ``requires-python``Nr-rrrr?r?‘s„ÚHrr?ÚTÚvaluecó—|S)z
    >>> noop(42)
    42
    r©rAs rÚnooprD˜s    €ð
€LrcóR—tjt|«t«|«S)zc
    >>> is_static(attempt_conversion("hello"))
    True
    >>> is_static(object())
    False
    )Ú _CONVERSIONSÚgetÚtyperDrCs rÚattempt_conversionrI£s €ô × Ñ œD ›K¬Ó .¨uÓ 5Ð5rcó@—t|t«xr |j S)z°
    >>> is_static(a := Dict({'a': 1}))
    True
    >>> is_static(dict(a))
    False
    >>> is_static(b := List([1, 2, 3]))
    True
    >>> is_static(list(b))
    False
    )Ú
isinstancerr    rCs rÚ    is_staticrL­s€ô eœVÓ $Ò <¨U¯_©_Ð)<Ð<r)Ú    functoolsrÚtypingrÚpackaging.specifiersÚ    packagingÚwarningsrrrHÚstrr$r&Útupler*Úlistr,Ú_methodÚdictr9Ú
specifiersr?r@rDrFrIÚobjectrrLÚ
EMPTY_LISTÚ
EMPTY_DICTrrrú<module>r[s;ðÝÝãå2÷ñð$* $ð*°ð*¸cð*Àdó*ôD    ˆ#ˆvô    ô    ˆE6ô    ôˆ4ôð0 ò :€Gñ˜$ ¨Õ9ð :ôˆ4ôð0    ò
:€Gñ˜$ ¨Õ9ð
:ôI9×'Ñ'×4Ñ4°fôIñ ˆCƒL€ððaóðS˜% ¨¨d°D¸$Ð?€ ð6˜að6 Aó6ð =Vð = ó =ñ‹V€
Ù ‹V
r