Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/configparser.cpython-314.pyc

+
��h�����Rt^RIHtHt^RIHt^RIt^RIt^RI	t	^RI
t
^RIt^RIt^RI
t
R7t]tRt^
t!RR]4t!RR]4t!RR]4t!RR]4t!RR]4t!RR]4t!R R
]4t!R!R]4t!R"R	]4t!R#R]4t!R$R
]4t!R%R]4t!R&R]4t !R'R(4t!!R)R]4t"]!!4t#]$!4t%!R*R4t&!R+R]&4t'!R,R]&4t(!R-R.4t)!R/R0]*4t+!R1R24t,!R3R]4t-!R4R]-4t.!R5R]4t/!R6R]4t0R#)8aaConfiguration file parser.

A configuration file consists of sections, lead by a "[section]" header,
and followed by "name: value" entries, with continuations and such in
the style of RFC 822.

Intrinsic defaults can be specified by passing them into the
ConfigParser constructor as a dictionary.

class:

ConfigParser -- responsible for parsing a list of
                    configuration files, and managing the parsed database.

    methods:

    __init__(defaults=None, dict_type=_default_dict, allow_no_value=False,
             delimiters=('=', ':'), comment_prefixes=('#', ';'),
             inline_comment_prefixes=None, strict=True,
             empty_lines_in_values=True, default_section='DEFAULT',
             interpolation=<unset>, converters=<unset>,
             allow_unnamed_section=False):
        Create the parser. When `defaults` is given, it is initialized into the
        dictionary or intrinsic defaults. The keys must be strings, the values
        must be appropriate for %()s string interpolation.

        When `dict_type` is given, it will be used to create the dictionary
        objects for the list of sections, for the options within a section, and
        for the default values.

        When `delimiters` is given, it will be used as the set of substrings
        that divide keys from values.

        When `comment_prefixes` is given, it will be used as the set of
        substrings that prefix comments in empty lines. Comments can be
        indented.

        When `inline_comment_prefixes` is given, it will be used as the set of
        substrings that prefix comments in non-empty lines.

        When `strict` is True, the parser won't allow for any section or option
        duplicates while reading from a single source (file, string or
        dictionary). Default is True.

        When `empty_lines_in_values` is False (default: True), each empty line
        marks the end of an option. Otherwise, internal empty lines of
        a multiline option are kept as part of the value.

        When `allow_no_value` is True (default: False), options without
        values are accepted; the value presented for these is None.

        When `default_section` is given, the name of the special section is
        named accordingly. By default it is called ``"DEFAULT"`` but this can
        be customized to point to any other valid section name. Its current
        value can be retrieved using the ``parser_instance.default_section``
        attribute and may be modified at runtime.

        When `interpolation` is given, it should be an Interpolation subclass
        instance. It will be used as the handler for option value
        pre-processing when using getters. RawConfigParser objects don't do
        any sort of interpolation, whereas ConfigParser uses an instance of
        BasicInterpolation. The library also provides a ``zc.buildout``
        inspired ExtendedInterpolation implementation.

        When `converters` is given, it should be a dictionary where each key
        represents the name of a type converter and each value is a callable
        implementing the conversion from string to the desired datatype. Every
        converter gets its corresponding get*() method on the parser object and
        section proxies.

        When `allow_unnamed_section` is True (default: False), options
        without section are accepted: the section for these is
        ``configparser.UNNAMED_SECTION``.

    sections()
        Return all the configuration section names, sans DEFAULT.

    has_section(section)
        Return whether the given section exists.

    has_option(section, option)
        Return whether the given option exists in the given section.

    options(section)
        Return list of configuration options for the named section.

    read(filenames, encoding=None)
        Read and parse the iterable of named configuration files, given by
        name.  A single filename is also allowed.  Non-existing files
        are ignored.  Return list of successfully read files.

    read_file(f, filename=None)
        Read and parse one configuration file, given as a file object.
        The filename defaults to f.name; it is only used in error
        messages (if f has no `name` attribute, the string `<???>` is used).

    read_string(string)
        Read configuration from a given string.

    read_dict(dictionary)
        Read configuration from a dictionary. Keys are section names,
        values are dictionaries with keys and values that should be present
        in the section. If the used dictionary type preserves order, sections
        and their keys will be added in order. Values are automatically
        converted to strings.

    get(section, option, raw=False, vars=None, fallback=_UNSET)
        Return a string value for the named option.  All % interpolations are
        expanded in the return values, based on the defaults passed into the
        constructor and the DEFAULT section.  Additional substitutions may be
        provided using the `vars` argument, which must be a dictionary whose
        contents override any pre-existing defaults. If `option` is a key in
        `vars`, the value from `vars` is used.

    getint(section, options, raw=False, vars=None, fallback=_UNSET)
        Like get(), but convert value to an integer.

    getfloat(section, options, raw=False, vars=None, fallback=_UNSET)
        Like get(), but convert value to a float.

    getboolean(section, options, raw=False, vars=None, fallback=_UNSET)
        Like get(), but convert value to a boolean (currently case
        insensitively defined as 0, false, no, off for False, and 1, true,
        yes, on for True).  Returns False or True.

    items(section=_UNSET, raw=False, vars=None)
        If section is given, return a list of tuples with (name, value) for
        each option in the section. Otherwise, return a list of tuples with
        (section_name, section_proxy) for each section, including DEFAULTSECT.

    remove_section(section)
        Remove the given file section and all its options.

    remove_option(section, option)
        Remove the given option from the given section.

    set(section, option, value)
        Set the given option.

    write(fp, space_around_delimiters=True)
        Write the configuration state in .ini format. If
        `space_around_delimiters` is True (the default), delimiters
        between keys and values are surrounded by spaces.
)�Iterable�MutableMapping)�ChainMapN�NoSectionError�DuplicateOptionError�DuplicateSectionError�
NoOptionError�InterpolationError�InterpolationDepthError�InterpolationMissingOptionError�InterpolationSyntaxError�ParsingError�MissingSectionHeaderError�MultilineContinuationError�UnnamedSectionDisabledError�InvalidWriteError�ConfigParser�RawConfigParser�
Interpolation�BasicInterpolation�ExtendedInterpolation�SectionProxy�ConverterMapping�DEFAULTc�8a�]tRt^�toRtRRltRt]tRtVt	R#)�Errorz'Base class for ConfigParser exceptions.c�<�Wn\PW4R#�N)�message�	Exception�__init__��self�msgs&&�HC:\Users\ITO\AppData\Local\Programs\Python\Python314\Lib\configparser.pyr �Error.__init__�s�������4�%�c��VP#r�r�r"s&r$�__repr__�Error.__repr__�s���|�|�r&r(N��)
�__name__�
__module__�__qualname__�__firstlineno__�__doc__r r*�__str__�__static_attributes__�__classdictcell__��
__classdict__s@r$rr�s����1�&���Gr&rc�*a�]tRt^�toRtRtRtVtR#)rz2Raised when no section matches a requested option.c�V�\PVRV:24WnV3VnR#)zNo section: N)rr �section�args�r"r:s&&r$r �NoSectionError.__init__�s!��
���t��:�;����K��	r&)r;r:N�r.r/r0r1r2r r4r5r6s@r$rr�s����<� � r&c�.a�]tRt^�toRtRRltRtVtR#)rz�Raised when a section is repeated in an input source.

Possible repetitions that raise this exception are: multiple creation
using the API or in strict parsers when a section is found more than once
in a single input file, string or dictionary.
Nc�x�\V4R.pVeWR\V4.pVe!VPRPV44VPR4VPV4TpMVP	^R4\
P
VRPV44WnW n	W0n
WV3VnR#)� already existsN�While reading from � [line {0:2d}]z
: section zSection r-)�repr�append�format�extend�insertrr �joinr:�source�linenor;)r"r:rJrKr#rs&&&&  r$r �DuplicateSectionError.__init__�s����G�}�/�0����,�d�6�l�;�G��!����/�6�6�v�>�?��N�N�<�(��N�N�3���C��J�J�q�*�%�
���t�R�W�W�S�\�*��������f�-��	r&)r;rKr:rJ�NNr>r6s@r$rr�s�����.�.r&c�.a�]tRt^�toRtRRltRtVtR#)rz�Raised by strict parsers when an option is repeated in an input source.

Current implementation raises this exception only when an option is found
more than once in a single file, string or dictionary.
Nc��\V4R\V4R.pVeWR\V4.pVe!VPRPV44VPR4VPV4TpMVP	^R4\
P
VRPV44WnW n	W0n
W@nWW43VnR#)z in section rANrBrCz	: option zOption r-)
rDrErFrGrHrr rIr:�optionrJrKr;)r"r:rPrJrKr#rs&&&&&  r$r �DuplicateOptionError.__init__�s����F�|�^�T�'�]� �"����,�d�6�l�;�G��!����/�6�6�v�>�?��N�N�;�'��N�N�3���C��J�J�q�)�$�
���t�R�W�W�S�\�*����������f�5��	r&)r;rKrPr:rJrMr>r6s@r$rr�s�����6�6r&c�*a�]tRt^�toRtRtRtVtR#)rz!A requested option was not found.c�j�\PVRV:RV:24WnW nW3VnR#)z
No option z
 in section: N�rr rPr:r;)r"rPr:s&&&r$r �NoOptionError.__init__�s.��
���t���)�	*������%��	r&�r;rPr:Nr>r6s@r$rr�s����+�&�&r&c�*a�]tRtRtoRtRtRtVtR#)r	iz0Base class for interpolation-related exceptions.c�Z�\PW4WnW nWV3VnR#rrT)r"rPr:r#s&&&&r$r �InterpolationError.__init__	s$��
���t�!������c�*��	r&rVNr>r6s@r$r	r	s����:�+�+r&c�*a�]tRtRtoRtRtRtVtR#)rizAA string substitution required a setting which was not available.c�t�RPWWC4p\PWW%4W@nWW43VnR#)z�Bad value substitution: option {!r} in section {!r} contains an interpolation key {!r} which is not a valid option name. Raw value: {!r}N)rFr	r �	referencer;)r"rPr:�rawvalr\r#s&&&&& r$r �(InterpolationMissingOptionError.__init__s;��!�!'����!K�	�	�#�#�D�'�?�"���f�8��	r&)r;r\Nr>r6s@r$rrs����K�9�9r&c��]tRtRtRtRtR#)riz�Raised when the source text contains invalid syntax.

Current implementation raises this exception when the source text into
which substitutions are made does not conform to the required syntax.
�N)r.r/r0r1r2r4r`r&r$rrs��r&c�*a�]tRtRtoRtRtRtVtR#)r
i$z0Raised when substitutions are nested too deeply.c�r�RPW\V4p\PWW$4WV3VnR#)z�Recursion limit exceeded in value substitution: option {!r} in section {!r} contains an interpolation key which cannot be substituted in {} steps. Raw value: {!r}N)rF�MAX_INTERPOLATION_DEPTHr	r r;)r"rPr:r]r#s&&&& r$r � InterpolationDepthError.__init__'s>����&��*A��!�	�
	�#�#�D�'�?��f�-��	r&)r;Nr>r6s@r$r
r
$s����:�.�.r&c�^aa�]tRtRtoRtV3RltRtRt]V3RlRl4t	Rt
VtV;t#)	r
i1z>Raised when a configuration file does not follow legal syntax.c�<�\SV`RV:24Wn.VnV3VnV'dVP
!V!R#R#)z Source contains parsing errors: N)�superr rJ�errorsr;rE)r"rJr;�	__class__s&&*�r$r �ParsingError.__init__4sA���
���;�F�:�F�G�������J��	���K�K���r&c��VPPW34V;PRV\V43,,
unR#)z
	[line %2d]: %sN)rhrErrD)r"rK�lines&&&r$rE�ParsingError.append<s3�������F�>�*����,���T�
�/C�C�C�r&c�^�VF&pVPFpVP!V!K	K(	V#r)rhrE)r"�others�other�errors&&  r$�combine�ParsingError.combine@s-���E��������U�#�&���r&c�.<�V^8�dQhRS[R,/#)��
exceptionsr
)r)rFr7s"�r$�__annotate__�ParsingError.__annotate__Gs���7�7�x��7�7r&c��\V4p\P!\4;_uu_4\	V4PV4h +'giR#;i)z<
Combine any number of ParsingErrors into one and raise it.
N)�iter�
contextlib�suppress�
StopIteration�nextrr)rvs&r$�
_raise_all�ParsingError._raise_allFsA��
�*�%�
�
�
 �
 ��
/�
/��z�"�*�*�:�6�6�0�
/�
/�s�A	�	A	)r;rhrJ)
r.r/r0r1r2r rErr�staticmethodrr4r5�
__classcell__�rir7s@@r$r
r
1s1����H��D���7��7�7r&c�*a�]tRtRtoRtRtRtVtR#)riQz@Raised when a key-value pair is found before any section header.c�z�\PVRWV3,4WnW nW0nWV3VnR#)z7File contains no section headers.
file: %r, line: %d
%rN�rr rJrKrlr;�r"�filenamerKrls&&&&r$r �"MissingSectionHeaderError.__init__Ts>��
����G�
�t�$�
%�	&������	��t�,��	r&�r;rlrKrJNr>r6s@r$rrQs����J�-�-r&c�*a�]tRtRtoRtRtRtVtR#)ri_z@Raised when a key without value is followed by continuation linec�z�\PVRWV3,4WnW nW0nWV3VnR#)zHKey without value continued with an indented line.
file: %r, line: %d
%rNr�r�s&&&&r$r �#MultilineContinuationError.__init__as@��
����
%���
%�
&�	'�
�����	��t�,��	r&r�Nr>r6s@r$rr_s����J�	-�	-r&c�*a�]tRtRtoRtRtRtVtR#)rimzPRaised when an attempt to use UNNAMED_SECTION is made with the
feature disabled.c�2�\PVR4R#)z(Support for UNNAMED_SECTION is disabled.N�rr r)s&r$r �$UnnamedSectionDisabledError.__init__ps��
���t�G�Hr&r`Nr>r6s@r$rrms�����I�Ir&c�&a�]tRtRtoRtRtVtR#)�_UnnamedSectionitc��R#)z<UNNAMED_SECTION>r`r)s&r$r*�_UnnamedSection.__repr__vs��"r&r`N)r.r/r0r1r*r4r5r6s@r$r�r�ts����#�#r&r�c�.a�]tRtRtoRtRRltRtVtR#)riyz�Raised when attempting to write data that the parser would read back differently.
ex: writing a key which begins with the section header pattern would read back as a
new section c�0�\PW4R#rr�r!s&&r$r �InvalidWriteError.__init__~s��
���t�!r&r`Nr,r>r6s@r$rrys�����"�"r&c�<a�]tRtRtoRtRtRtRtRtRt	Vt
R#)	ri�zBDummy interpolation that passes the value through with no changes.c��V#rr`)r"�parserr:rP�value�defaultss&&&&&&r$�
before_get�Interpolation.before_get�����r&c��V#rr`�r"r�r:rPr�s&&&&&r$�
before_set�Interpolation.before_set�r�r&c��V#rr`r�s&&&&&r$�before_read�Interpolation.before_read�r�r&c��V#rr`r�s&&&&&r$�before_write�Interpolation.before_write�r�r&r`N)r.r/r0r1r2r�r�r�r�r4r5r6s@r$rr�s!����L�����r&c�Za�]tRtRtoRt]P!R4tRtRt	Rt
RtVtR#)	ri�aInterpolation as implemented in the classic ConfigParser.

The option values can contain format strings which refer to other values in
the same section, or values in the special default section.

For example:

    something: %(dir)s/whatever

would resolve the "%(dir)s" to the value of dir.  All reference
expansions are done late, on demand. If a user needs to use a bare % in
a configuration file, she can escape it by writing %%. Other % usage
is considered a user error and raises `InterpolationSyntaxError`.z
%\(([^)]+)\)sc	�P�.pVPWWdW%^4RPV4#��r-��_interpolate_somerI�r"r�r:rPr�r��Ls&&&&&& r$r��BasicInterpolation.before_get��)�������v�q��A�N��w�w�q�z�r&c��VPRR4pVPPRV4pRV9d#\RWEP	R43,4hV#)z%%r-�%�1invalid interpolation syntax in %r at position %d��replace�_KEYCRE�sub�
ValueError�find�r"r�r:rPr��	tmp_values&&&&& r$r��BasicInterpolation.before_set��^���M�M�$��+�	��L�L�$�$�R��3�	��)���+�.3�^�^�C�5H�-I�J�K�
K��r&c
��VPWRRVR7pV\8�d
\W%V4hV'Ed4VPR4p	V	^8dVP	V4R#V	^8�dVP	VRV	4WIRpVR,p
V
R8XdVP	R4VR,pKV
R8Xd�VP
P
V4pVf\W%RV,4hVPVP^44pWKP4RpWl,p
RT
9dTPYY=YVT^,4EKTP	T
4EK,\W%RV:24hR# \d\Y%Y�4Rhi;i)	T��raw�fallbackr�N�r�ruN�ruNN�(�'bad interpolation variable reference %rz+'%' must be followed by '%' or '(', found: )�getrcr
r�rEr��matchr�optionxform�group�end�KeyErrorrr�)r"r�rP�accum�restr:�map�depthr]�p�c�m�var�vs&&&&&&&&      r$r��$BasicInterpolation._interpolate_some�s������G����E���*�*�)�&�6�B�B��d��	�	�#��A��1�u����T�"���1�u����T�"�1�X�&��B�x���S�	�A��C�x����S�!��B�x���c���L�L�&�&�t�,���9�2�6�A�D�H�J�J��(�(������4���E�E�G�H�~��@���A��!�8��*�*�6�5�+2����D��L�L��O�.��G�#'�*�+�+�?��, �@�9���6�;?�@�@�s�E*�*Fr`N�
r.r/r0r1r2�re�compiler�r�r�r�r4r5r6s@r$rr�s0����I��j�j�)�*�G��
�'+�'+r&c�Za�]tRtRtoRt]P!R4tRtRt	Rt
RtVtR#)	ri�zuAdvanced variant of interpolation, supports the syntax used by
`zc.buildout`. Enables interpolation between sections.z
\$\{([^}]+)\}c	�P�.pVPWWdW%^4RPV4#r�r�r�s&&&&&& r$r�� ExtendedInterpolation.before_get�r�r&c��VPRR4pVPPRV4pRV9d#\RWEP	R43,4hV#)z$$r-�$r�r�r�s&&&&& r$r�� ExtendedInterpolation.before_set�r�r&c��VPWRRVR7pV\8�d
\W%V4hV'Ed�VPR4p	V	^8dVP	V4R#V	^8�dVP	VRV	4WIRpVR,p
V
R8XdVP	R4VR,pKV
R8XEdKVP
P
V4pVf\W%RV,4hVP^4PR4pWKP4RpTp
Tp\V4^8Xd"VPV^,4pWn,pMU\V4^8Xd6V^,p
VPV^,4pVPW�RR	7pM\W%R
V:24hVfEK}RV9d:VP%WW?V
\'VP)V
RR	74V^,4EK�VP	V4EK�\W%RV:24hR# \\\3d\!Y%TRP#T44Rhi;i)Tr�r�Nr�r��{r��:)r�zMore than one ':' found: z+'$' must be followed by '$' or '{', found: )r�rcr
r�rEr�r�rr��splitr��lenr�r�rrrrIr��dict�items)r"r�rPr�r�r:r�r�r]r�r�r��path�sect�optr�s&&&&&&&&        r$r��'ExtendedInterpolation._interpolate_some�s/�����G����E���*�*�)�&�6�B�B��d��	�	�#��A��1�u����T�"���1�u����T�"�1�X�&��B�x���S�	�A��C�x����S�!��B�x���c���L�L�&�&�t�,���9�2�6�A�D�H�J�J��w�w�q�z�'�'��,���E�E�G�H�~������K��4�y�A�~�$�0�0��a��9���H���T��a��#�A�w��$�0�0��a��9��"�J�J�t�d�J�;��6�"�G�=A�C�E�E��9���!�8��*�*�6��$�+/����T�t��0L�+M�+0�1�9�6��L�L��O�.��G�#'�*�+�+�]��D!�.�-�@�K�9������$��A�FJ�K�K�s�0H�
AH�H�4Ir`Nr�r6s@r$rr�s/����>��j�j�)�*�G��
�6+�6+r&c�Fa�]tRtRtoRtRtRt^t^tRt	V3Rlt
RtVtR#)�
_ReadStatei/Nc�B�\4Vn\4VnR#r)�set�elements_added�listrhr)s&r$r �_ReadState.__init__8s��!�e����f��r&c��<�V^8�dQh/S[S[,;R&S[S[S[3,R,;R&S[R,;R&S[R,;R&S[;R&S[;R&S[S[,;R&#)	rur�N�cursect�sectname�optnamerK�indent_levelrh)r��strr��intr�r
)rFr7s"�r$rw�_ReadState.__annotate__/sz������X����3��8�n�t�#�*���T�z� ���D�j��	�
�����
��,�
��r&)r�rh)
r.r/r0r1r�r�r�rKr�r �__annotate_func__r4r5r6s@r$r�r�/s*����&*�G� �H��G��F��L���r&r�c�<aa�]tRtRtoRtV3RltRtRtVtV;t	#)�_Linei=c�"<�\SV`W4#r)rg�__new__)�cls�valr;�kwargsris&&*,�r$r�
_Line.__new__@s����w��s�(�(r&c�x�VP4pVPV4VnW0P8gVnR#r)�strip�clean�has_comments)r"r�comments�trimmeds&&& r$r �_Line.__init__Cs,���)�)�+���^�^�G�,��
�#�z�z�1��r&)rr	)
r.r/r0r1�	__slots__rr r4r5r�r�s@@r$r�r�=s����'�I�)�2�2r&r�c�2a�]tRtRtoRtRtRtRtVtR#)�_CommentSpeciIc��RV4pRV4p\P!RP\P!W4444VnR#)c3�V"�TFpR\P!V4R2x�K!	R#5i)z^(z).*N�r��escape��.0�prefixs& r$�	<genexpr>�(_CommentSpec.__init__.<locals>.<genexpr>Ks,���
�(���"�)�)�F�#�$�C�(�'���')c3�V"�TFpR\P!V4R2x�K!	R#5i)z(^|\s)(z.*)Nrrs& r$rrPs,���
�*���r�y�y��(�)��-�)�r�|N)r�r�rI�	itertools�chain�pattern)r"�
full_prefixes�inline_prefixes�
full_patterns�inline_patternss&&&  r$r �_CommentSpec.__init__JsH��
�(�
�
�

�*�
��
�z�z�#�(�(�9�?�?�=�+Z�"[�\��r&c�V�VPPRV4P4#r,)rr��rstrip�r"�texts&&r$r�_CommentSpec.stripWs"���|�|����D�)�0�0�2�2r&c��\W4#r)r�r&s&&r$�wrap�_CommentSpec.wrapZs
���T� � r&)rN)	r.r/r0r1r rr*r4r5r6s@r$rrIs����]�3�!�!r&rc�Jaa�]tRtRtoRtRtRtRt]!4t	]
P!]]
P4t
]
P!]PRR7]
P4t]
P!]PRR7]
P4t]
P!R4tR	R
RR
RR
R
R
RRRRRRRR/tR]R3RRQRRRRRRR
RR
R]R]R]RR/	RlltRtRtR tR!tR"tRSR#ltRSR$ltRTR%ltRUR&ltR'RR(RR)]/R*lt R+t!R'RR(RR)]/R,lt"R'RR(RR)]/R-lt#R'RR(RR)]/R.lt$R'RR(RR)]/R/lt%]RR3V3R0llt&R1t'R2t(R3t)RSR4lt*RVR5lt+RWR6lt,R7t-R8t.R9t/R:t0R;t1R<t2R=t3R>t4R?t5R@t6RAt7RBt8RCt9RDt:REt;RFt<RGt=RHt>RIt?RJRKRLRKRMRK/RNlt@]ARO4tBRPtCVtDV;tE#)Xri^z,ConfigParser that does not do interpolation.z�
        \[                                 # [
        (?P<header>.+)                     # very permissive!
        \]                                 # ]
        a�
        (?P<option>.*?)                    # very permissive!
        \s*(?P<vi>{delim})\s*              # any number of space/tab,
                                           # followed by any of the
                                           # allowed delimiters,
                                           # followed by any space/tab
        (?P<value>.*)$                     # everything up to eol
        a�
        (?P<option>.*?)                    # very permissive!
        \s*(?:                             # any number of space/tab,
        (?P<vi>{delim})\s*                 # optionally followed by
                                           # any of the allowed
                                           # delimiters, followed by any
                                           # space/tab
        (?P<value>.*))?$                   # everything up to eol
        z=|:��delimz\S�1T�yes�true�on�0F�no�false�offN�
delimiters�comment_prefixes�inline_comment_prefixes�strict�empty_lines_in_values�default_section�
interpolation�
converters�allow_unnamed_sectionc	��W nVP4VnVP4Vn\V4VnVP4Vn\
W	4VP
V	&\V4VnVR8Xd'V'd
VPMVPVnM�RPRV44p
V'dF\P!VPP!V
R7\P"4VnMD\P!VP$P!V
R7\P"4Vn\'T;'gRT;'gR4VnWpnW0nW�nW�nW�nVP2\4JdVP6VnVP2f\94Vn\;VP2\84'g"\=R\?VP2424hV\4JdVPPAV4V'dVPCV4W�n"R#)�=rc3�N"�TFp\P!V4x�K	R#5irr)r�ds& r$r�+RawConfigParser.__init__.<locals>.<genexpr>�s���:�z�!����1���z�s�#%r-NzSinterpolation= must be None or an instance of Interpolation; got an object of type �rAr�r`)#�_dict�	_sections�	_defaultsr�_converters�_proxiesr�tuple�_delimiters�	OPTCRE_NV�OPTCRE�_optcrerIr�r��_OPT_NV_TMPLrF�VERBOSE�	_OPT_TMPLr�	_comments�_strict�_allow_no_value�_empty_lines_in_valuesr<�_interpolation�_UNSET�_DEFAULT_INTERPOLATIONr�
isinstance�	TypeError�type�update�_read_defaults�_allow_unnamed_section)r"r��	dict_type�allow_no_valuer7r8r9r:r;r<r=r>r?rCs&&&&$$$$$$$$$ r$r �RawConfigParser.__init__�s����
�������������+�D�1����
�
���
�)5�d�)L��
�
�o�&� ��,�����#�-;�4�>�>����D�L����:�z�:�:�A��!�z�z�$�*;�*;�*B�*B��*B�*K�*,�*�*� 6��� "�z�z�$�.�.�*?�*?�a�*?�*H�*,�*�*� 6���%�&6�&<�&<�"�>U�>[�>[�Y[�\�����-��&;�#�,��+�����&�(�"&�"=�"=�D�����&�"/�/�D���$�-�-�}�=�=��*�*.�t�/B�/B�*C�)D�F��
��V�#����#�#�J�/������)�&;�#r&c��VP#r)rHr)s&r$r��RawConfigParser.defaults�s���~�~�r&c�H�\VPP44#)z3Return a list of section names, excluding [DEFAULT])r�rG�keysr)s&r$�sections�RawConfigParser.sections�s���D�N�N�'�'�)�*�*r&c�.�WP8Xd\RV,4hV\JdVP'g\hWP
9d\
V4hVP4VP
V&\W4VPV&R#)z�Create a new section in the configuration.

Raise DuplicateSectionError if a section by the specified name
already exists. Raise ValueError if name is DEFAULT.
zInvalid section name: %rN)
r<r��UNNAMED_SECTIONr_rrGrrFrrJr<s&&r$�add_section�RawConfigParser.add_section�sw���*�*�*��7�'�A�B�B��o�%��.�.�.�1�1��n�n�$�'��0�0�"&�*�*�,����w��!-�d�!<��
�
�g�r&c��WP9#)znIndicate whether the named section is present in the configuration.

The DEFAULT section is not acknowledged.
)rGr<s&&r$�has_section�RawConfigParser.has_section�s��
�.�.�(�(r&c���VPV,P4pTP	TP
4\
TP44# \d\T4Rhi;i)z9Return a list of option names for the given section name.N)rG�copyr�rr]rHr�rf)r"r:�optss&& r$�options�RawConfigParser.options�s_��	4��>�>�'�*�/�/�1�D�	
���D�N�N�#��D�I�I�K� � ���	4� ��)�t�3�	4�s�!A�A/c���\V\\\P34'dV.p\
P!V4p.pVFyp\WBR7;_uu_4pVPWT4RRR4\T\P4'd\P!T4pTPT4K{	V# +'giL];i \dK�i;i)a�Read and parse a filename or an iterable of filenames.

Files that cannot be opened are silently ignored; this is
designed so that you can specify an iterable of potential
configuration file locations (e.g. current directory, user's
home directory, systemwide directory), and all existing
configuration files in the iterable will be read.  A single
filename may also be given.

Return list of successfully read files.
)�encodingN)rZr��bytes�os�PathLike�io�
text_encoding�open�_read�OSError�fspathrE)r"�	filenamesrv�read_okr��fps&&&   r$�read�RawConfigParser.read�s����i�#�u�b�k�k�!:�;�;�"��I��#�#�H�-����!�H�
��(�6�6�"��J�J�r�,�7��(�B�K�K�0�0��9�9�X�.���N�N�8�$�"���7�6���
��
�s0�
C�!C�3C�C�C�C�C*�)C*c�p�VfVPpVPW4R# \dRpL"i;i)a(Like read() but the argument must be a file-like object.

The `f` argument must be iterable, returning one line at a time.
Optional second argument is the `source` specifying the name of the
file being read. If not given, it is taken from f.name. If `f` has no
`name` attribute, `<???>` is used.
Nz<???>)�name�AttributeErrorr})r"�frJs&&&r$�	read_file�RawConfigParser.read_file�s;���>�
!�����	
�
�
�1���"�
!� ��
!�s�%�
5�5c�T�\P!V4pVPW24R#)z'Read configuration from a given string.N)rz�StringIOr�)r"�stringrJ�sfiles&&& r$�read_string�RawConfigParser.read_string	s�����F�#�����u�%r&c� �\4pVP4F�wrE\V4pVPV4VPV4VP4FxwrgVP\V44pVe\V4pVP'dWF3V9d
\WFV4hVPWF34VPWFV4Kz	K�	R# \\
3dTP'dYC9dhL�i;i)a�Read configuration from a dictionary.

Keys are section names, values are dictionaries with keys and values
that should be present in the section. If the used dictionary type
preserves order, sections and their keys will be added in order.

All types held in the dictionary are converted to strings during
reading, including section names, option names and keys.

Optional second argument is the `source` specifying the name of the
dictionary being read.
N)
r�r�r�rkrr�rT�addr�r)r"�
dictionaryrJr�r:rf�keyr�s&&&     r$�	read_dict�RawConfigParser.read_dicts������'�-�-�/�M�G��'�l�G�
�� � ��)�
���w�'�"�j�j�l�
���&�&�s�3�x�0���$���J�E��<�<�<�W�N�n�$D�.�w�V�D�D��"�"�G�>�2�����u�-�+�0��*�:�6�
��<�<�<�G�$=���
�s�C � "D
�D
�D
r��varsr�c�<�VPW4pTPT4pYb,pT'gTfT#TPPYY'T4# \dT\JdhTu#i;i \dT\Jd\Y!4hTu#i;i)aGet an option value for a given section.

If `vars` is provided, it must be a dictionary. The option is looked up
in `vars` (if provided), `section`, and in `DEFAULTSECT` in that order.
If the key is not found and `fallback` is provided, it is used as
a fallback value. `None` can be provided as a `fallback` value.

If interpolation is enabled and the optional argument `raw` is False,
all interpolations are expanded in the return values.

Arguments `raw`, `vars`, and `fallback` are keyword only.

The section DEFAULT is special.
)�
_unify_valuesrrXr�r�rrWr�)r"r:rPr�r�r�rCr�s&&&$$$  r$r��RawConfigParser.get-s���	 ��"�"�7�1�A��!�!�&�)��	 ��I�E��%�-��L��&�&�1�1�$��23�5�
5��#�	 ��6�!����		 ���	 ��6�!�#�F�4�4���		 �s"�A�A6�A3�2A3�6"B�Bc�4�V!VP!W3/VB4#r)r�)r"r:�convrPrs&&&&,r$�_get�RawConfigParser._getRs���D�H�H�W�7��7�8�8r&c�|�VP!WV3RVRV/VB# \\3dT\JdhTu#i;i)r�r�)r�rrrX)r"r:rPr�r�r�r�rs&&&&$$$,r$�	_get_conv�RawConfigParser._get_convUsV��	��9�9�W�F�'��'�$�'�%�'�
'���
�.�	��6�!���O�	�s��;�;c	�>�VP!W\3RVRVRV/VB#�r�r�r�)r�r��r"r:rPr�r�r�rs&&&$$$,r$�getint�RawConfigParser.getint`s5���~�~�g�s�;��;�$�;�'/�;�39�;�	;r&c	�>�VP!W\3RVRVRV/VB#r�)r��floatr�s&&&$$$,r$�getfloat�RawConfigParser.getfloates5���~�~�g�u�;�#�;�D�;�'/�;�39�;�	;r&c	�J�VP!WVP3RVRVRV/VB#r�)r��_convert_to_booleanr�s&&&$$$,r$�
getboolean�RawConfigParser.getbooleanjsC���~�~�g�t�/G�/G�O�"%�O�,0�O�;C�O�GM�O�	Or&c�<aaa	�S\Jd\S
S`	4#SPP	4o	S	PSPS,4\S	P44pV'd.VP4FwrVVS	SPV4&K	V	VV3RlpV'dV	3RlpVUu.uFq�V!V43NK	up# \d SSP8wd\S4hL�i;iuupi)a�Return a list of (name, value) tuples for each option in a section.

All % interpolations are expanded in the return values, based on the
defaults passed into the constructor, unless the optional argument
`raw` is true.  Additional substitutions may be provided using the
`vars` argument, which must be a dictionary whose contents overrides
any pre-existing defaults.

The section DEFAULT is special.
c�P<�SPPSSVSV,S4#r)rWr�)rPrCr:r"s&���r$�<lambda>�'RawConfigParser.items.<locals>.<lambda>�s%���d�&9�&9�&D�&D�T��V�Q�v�Y��'+r&c�<�SV,#rr`)rPrCs&�r$r�r��s	���!�F�)r&)
rXrgr�rHrqr]rGr�r<rr�rfr�)r"r:r�r��	orig_keysr�r��value_getterrPrCrisff&&     @�r$r��RawConfigParser.itemsos�����f���7�=�?�"��N�N���!��	.�
�H�H�T�^�^�G�,�-������N�	��"�j�j�l�
��+0��$�"�"�3�'�(�+�+���3�L�=F�G�Y�6��f�-�.�Y�G�G���	.��$�.�.�.�$�W�-�-�/�	.��Hs�"C�D�'D�Dc�V�VP4FpW,pWW3u#	\h)z�Remove a section from the parser and return it as
a (section_name, section_proxy) tuple. If no section is present, raise
KeyError.

The section DEFAULT is never returned because it cannot be removed.
)rgr��r"r�r�s&  r$�popitem�RawConfigParser.popitem�s/���=�=�?�C��I�E��	��:��#��r&c�"�VP4#r)�lower)r"�	optionstrs&&r$r��RawConfigParser.optionxform�s����� � r&c��V'dWP8Xd VPV4pW P9#WP9dR#VPV4pW PV,9;'gW P9#)z�Check for the existence of a given option in a given section.
If the specified `section` is None or an empty string, DEFAULT is
assumed. If the specified `section` does not exist, returns False.F)r<r�rHrG)r"r:rPs&&&r$�
has_option�RawConfigParser.has_option�st���'�%9�%9�9��%�%�f�-�F��^�^�+�+�
�N�N�
*���%�%�f�-�F��n�n�W�5�5�0�0����/�
1r&c��V'dVPPWVV4pV'dWP8XdVPpMVPV,pW4VPV4&R# \
d\
T4Rhi;i)zSet an option.N)rWr�r<rHrGr�rr�)r"r:rPr��sectdicts&&&& r$r��RawConfigParser.set�s����'�'�2�2�4�&�38�:�E��'�%9�%9�9��~�~�H�
8��>�>�'�2��.3��!�!�&�)�*���
8�$�W�-�4�7�
8�s�A4�4Bc��V'd$RPVP^,4pMVP^,pVP'd6VPWPVPP4V4\VP9d[VP\,'d>VPV\VP\,P4VRR7VPFApV\JdKVPWVPV,P4V4KC	R#)a'Write an .ini-format representation of the configuration state.

If `space_around_delimiters` is True (the default), delimiters
between keys and values are surrounded by spaces.

Please note that comments in the original configuration file are not
preserved when writing the configuration back.
z {} T)�unnamedN)rFrLrH�_write_sectionr<r�rjrG)r"r��space_around_delimitersrCr:s&&&  r$�write�RawConfigParser.write�s���#��
�
�d�.�.�q�1�2�A�� � ��#�A��>�>�>�����$8�$8�$(�N�N�$8�$8�$:�A�
?��d�n�n�,�����1P�1P�����O�T�^�^�O�5T�5Z�5Z�5\�^_�im��n��~�~�G��/�)������ $���w� 7� =� =� ?��
D�&r&c��V'g!VPRPV44VF�wrgVPV4VPP	WVV4pVfVP
'g$V\
V4PRR4,pMRpVPRPWg44K�	VPR4R#)z-Write a single section to the specified 'fp'.z[{}]
N�
z
	r-z{}{}
)r�rF�_validate_key_contentsrWr�rUr�r�)r"r��section_name�
section_items�	delimiterr�r�r�s&&&&&&  r$r��RawConfigParser._write_section�s�����H�H�X�_�_�\�2�3�'�J�C��'�'��,��'�'�4�4�T��5:�<�E�� ��(<�(<�(<�!�C��J�$6�$6�t�V�$D�D�����H�H�X�_�_�S�0�1�(�	����r&c���V'dWP8XdVPpMVPV,pVPV4pW#9pV'dW2V# \d\	T4Rhi;i)zRemove an option.N)r<rHrGr�rr�)r"r:rPr��existeds&&&  r$�
remove_option�RawConfigParser.remove_option�sr���'�%9�%9�9��~�~�H�
8��>�>�'�2���!�!�&�)���$���� ����
�
8�$�W�-�4�7�
8�s�A�A3c�f�WP9pV'dVPVVPVV#)zRemove a file section.)rGrJ)r"r:r�s&& r$�remove_section�RawConfigParser.remove_section�s.���^�^�+������w�'��
�
�g�&��r&c��WP8wd#VPV4'g\V4hVPV,#r)r<rnr�rJ�r"r�s&&r$�__getitem__�RawConfigParser.__getitem__�s7���&�&�&�t�/?�/?��/D�/D��3�-���}�}�S�!�!r&c�
�W9dW,VJdR#WP8XdVPP4M1WP9d"VPV,P4VP	W/4R#r)r<rH�clearrGr�r�s&&&r$�__setitem__�RawConfigParser.__setitem__�s`���;�4�9��-���&�&�&��N�N� � �"�
�N�N�
"��N�N�3��%�%�'�����|�$r&c��WP8Xd\R4hVPV4'g\V4hVP	V4R#)z"Cannot remove the default section.N)r<r�rnr�r�r�s&&r$�__delitem__�RawConfigParser.__delitem__
sC���&�&�&��A�B�B�����$�$��3�-�����C� r&c�P�WP8H;'gVPV4#r)r<rnr�s&&r$�__contains__�RawConfigParser.__contains__s$���*�*�*�C�C�d�.>�.>�s�.C�Cr&c�:�\VP4^,#)r�)r�rGr)s&r$�__len__�RawConfigParser.__len__s���4�>�>�"�Q�&�&r&c�v�\P!VP3VPP	44#r)rrr<rGrfr)s&r$�__iter__�RawConfigParser.__iter__s)������ 4� 4�6����8K�8K�8M�N�Nr&c��\PVPW44VP4R# TP4i;i)a�Parse a sectioned configuration file.

Each section in a configuration file contains a header, indicated by
a name in square brackets (`[]`), plus key/value options, indicated by
`name` and `value` delimited with a specific substring (`=` or `:` by
default).

Values can span multiple lines, as long as they are indented deeper
than the first line of the value. Depending on the parser's mode, blank
lines may be treated as parts of multiline values or ignored.

Configuration files may include comments, prefixed by specific
characters (`#` and `;` by default). Comments may appear on their own
in an otherwise empty line or may be entered in lines holding values or
section names. Please note that comments get stripped off when reading configuration files.
N)r
r�_read_inner�_join_multiline_values)r"r��fpnames&&&r$r}�RawConfigParser._reads9��"	*��#�#�D�$4�$4�R�$@�A��'�'�)��D�'�'�)�s	�$8�A
c���\4p\\VPPV4^R7EF,wVnpVP'g�VP'dVP'glVPe^VP'dLVPVP,e-VPVP,PR4M\PVnK�VPP!V4pV'dVP#4M^VnVP'W4V4'dEKVP)W4V4EK/	VP*#)r�)�startr-)r��	enumerater�rSr*rKrrVr	r�r�rE�sys�maxsizer��NONSPACECRE�searchr��cur_indent_level�_handle_continuation_line�_handle_restrh)r"r�r��strl�first_nonspaces&&&   r$r��RawConfigParser._read_inner1s��
�\��(��T�^�^�-@�-@�"�)E�Q�O�O�O�B�I�t��:�:�:��.�.�.�!�-�-�-��
�
�.��
�
�
��
�
�2�:�:�.�:��
�
�2�:�:�.�5�5�b�9��'*�k�k�B�O��!�-�-�4�4�T�:�N�<J�.�"6�"6�"8�PQ�B���-�-�b��?�?�����b��/�+ P�.�y�y�r&c�r�VPRJ;'d.VP;'dVPVP8�pV'dlVPVP,f\	W1P
V4hVPVP,P
VP4V#r)r�r�r�r�rrKrEr)r"r�rlr��is_continues&&&& r$r��)RawConfigParser._handle_continuation_lineMs����z�z��-�2�2�"�*�*�2�2����"�/�/�1�	���z�z�"�*�*�%�-�0����D�I�I��J�J�r�z�z�"�)�)�$�*�*�5��r&c��VP'd&VPfVPV\V4VPVnVPPVP4pV'g%VPf\W1PV4hV'd$VPWPR4V4R#VPWV4R#)N�header)
r_r��_handle_headerrjr�r��SECTCREr�rrrKr��_handle_option)r"r�rlr��mos&&&& r$r��RawConfigParser._handle_restWs����&�&�&�2�:�:�+=�����O�V�<��-�-���
�\�\�
�
��
�
�
+���b�j�j�(�+�F�I�I�t�D�D�?A����B���� 2�F�;�t�GZ�GZ�[]�ek�Glr&c���W!nVPVP9d�VP'd=VPVP9d"\	VPVVP
4hVPVP,VnVPPVP4M�VPVP8XdVPVnM�VP4VnVPVPVP&\WP4VPVP&VPPVP4RVn
R#r)r�rGrTr�rrKr�r�r<rHrFrrJr�)r"r�r�r�s&&&&r$r�RawConfigParser._handle_headeres�����
�;�;�$�.�.�(��|�|�|����r�/@�/@� @�+�B�K�K��,.�I�I�7�7�������4�B�J����!�!�"�+�+�.�
�[�[�D�0�0�
0����B�J�����B�J�*,�*�*�D�N�N�2�;�;�'�)5�d�K�K�)H�D�M�M�"�+�+�&����!�!�"�+�+�.���
r&c��VPVnVPPVP4pV'g2VP
P
\W1PV44R#VPRRR4wVn
rVVP'g0VP
P
\W1PV44VPVPP44Vn
VP'dSVPVP3VP9d,\!VPVPW1P4hVPP#VPVP34Ve-VP%4pV.VP&VP&R#RVP&VP&R#)NrP�vir�)r�r�rOr�rrhrEr
rKr�r�r�r%rTr�r�rr�rr�)r"r�rlr�rr�optvals&&&&   r$r�RawConfigParser._handle_optionwsJ���-�-���
�\�\�
�
��
�
�
+���

�I�I���\�&�)�)�T�B�C��!#���(�D�'�!B���
�B��z�z�z��I�I���\�&�)�)�T�B�C��%�%�b�j�j�&7�&7�&9�:��
��L�L�L�
�[�[�"�*�*�%��):�):�:�&�r�{�{�B�J�J�$*�I�I�7�
7�
�����r�{�{�B�J�J�7�8����\�\�^�F�&,�X�B�J�J�r�z�z�"�&*�B�J�J�r�z�z�"r&c��VPVP3p\P!V3VPP44pVFrwr4VP4FYwrV\
V\4'd RPV4P4pVPPVVWV4WE&K[	Kt	R#)r�N)r<rHrrrGr�rZr�rIr%rWr�)r"r��all_sectionsr:rsr�rs&      r$r��&RawConfigParser._join_multiline_values�s����'�'����7�� ����{�'+�~�~�';�';�'=�?�� ,��G�$�]�]�_�	���c�4�(�(��)�)�C�.�/�/�1�C� $� 3� 3� ?� ?��@G�@D�!K��
�-�!-r&c�r�VP4F"wr#W0PVPV4&K$	R#)zLRead the defaults passed in the initializer.
Note: values can be non-string.N)r�rHr�)r"r�r�r�s&&  r$r^�RawConfigParser._read_defaults�s.��#�.�.�*�J�C�49�N�N�4�+�+�C�0�1�+r&c�>�/pVPV,p/pV'd<VP	4F'wrVVe\V4pWdVP
V4&K)	\WCVP4# \d YP8wd
\T4RhL�i;i)zxCreate a sequence of lookups with 'vars' taking priority over
the 'section' which takes priority over the DEFAULTSECT.

N)	rGr�r<rr�r�r��	_ChainMaprH)r"r:r��sectiondict�vardictr�r�s&&&    r$r��RawConfigParser._unify_values�s���
��	8��.�.��1�K�
���"�j�j�l�
���$���J�E�16��(�(��-�.�+���t�~�~�>�>���	8��.�.�.�$�W�-�4�7�/�	8�s�A2�2'B�Bc��VP4VP9d\RV,4hVPVP4,#)zJReturn a boolean value translating from other types if necessary.
        zNot a boolean: %s)r��BOOLEAN_STATESr�)r"r�s&&r$r��#RawConfigParser._convert_to_boolean�s@���;�;�=�� 3� 3�3��0�5�8�9�9��"�"�5�;�;�=�1�1r&c���\P!VPV4'd\RVR24hVPFpW!9gK\RVRV24h	R#)zmRaises an InvalidWriteError for any keys containing
delimiters or that begins with the section header patternzCannot write key z; begins with section patternz; contains delimiter N)r�r�rrrL)r"r�r.s&& r$r��&RawConfigParser._validate_key_contents�sj���8�8�D�L�L�#�&�&�#�#�C�5�(E�F�H�
H��%�%�E��|�'�'��u�,A�%��I�K�K�&r&r:r-rPr�c�J�V\JdVP'g\hM!\V\4'g\R4h\V\4'g\R4hVP'd	V'd$\V\4'g\R4hR#R#)a3Raises a TypeError for illegal non-string values.

Legal non-string values are UNNAMED_SECTION and falsey values if
they are allowed.

For compatibility reasons this method is not used in classic set()
for RawConfigParsers. It is invoked in every case for mapping protocol
access and in ConfigParser.set().
z0section names must be strings or UNNAMED_SECTIONzoption keys must be stringszoption values must be stringsN)rjr_rrZr�r[rU)r"r:rPr�s&$$$r$�_validate_value_types�%RawConfigParser._validate_value_types�s����o�%��.�.�.�1�1�/��G�S�)�)��N�O�O��&�#�&�&��9�:�:��#�#�#�u��e�S�)�)�� ?�@�@�*�(-r&c��VP#r)rIr)s&r$r>�RawConfigParser.converters�s�����r&)rUr_rSrIrHrLrFrVrWrOrJrGrTr<rE)�#�;r)z<string>)z<dict>)T)F)Fr.r/r0r1r2�
_SECT_TMPLrRrPrrYr�r�rQrrFrNrMr�r�
_default_dict�DEFAULTSECTrXr r�rgrkrnrsr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r}r�r�r�rrr�r^r�r�r�r�propertyr>r4r5r�r�s@@r$rr^s�����6��J�
�I��L�+�_���j�j��R�Z�Z�0�G�
�Z�Z�	�(�(�u�(�5�r�z�z�
B�F��
�
�<�.�.�U�.�;�R�Z�Z�H�I��*�*�U�#�K��4���f�d�D�$��5�$��w��u�e�M�N�!%�
� %�,<�5?�,<�",�,<�FJ�,<��,<�59�,<�"-�	,<�
 &�,<�
39�,<�(-�
,<�\�+�
=�$)�!��6
�&�
.�>#5�%�#5�d�#5�V�#5�J9��e��$��!��;�U�;��;��;�
;�u�;�4�;� �;�
O��O�T�O�"�O�
#��D�H�<�!�1�3�D�2
�
��"�
%�!�D�'�O�*�,�8�m��$*�>
K�:�?�(2�	K�A�r�A�"�A�B�A�*� �� � r&c�Zaa�]tRtRtoRt]!4tRV3RlltV3RltRt	Rt
VtV;t#)ri�z(ConfigParser implementing interpolation.c�L<�VPW#R7\SV`	WV4R#)zeSet an option.  Extends RawConfigParser.set by validating type and
interpolation syntax on the value.�rPr�N)rrgr�)r"r:rPr�ris&&&&�r$r��ConfigParser.set�s$���	
�"�"�&�"�>�
���G�U�+r&c�J<�VPVR7\SV`	V4R#)z~Create a new section in the configuration.  Extends
RawConfigParser.add_section by validating if the section name is
a string.)r:N)rrgrk)r"r:ris&&�r$rk�ConfigParser.add_section�s#���	
�"�"�7�"�3�
���G�$r&c��VPp\4VnVPVPV/4W nR# XTni;i)z�Reads the defaults passed in the initializer, implicitly converting
values to strings like the rest of the API.

Does not perform interpolation for backwards compatibility.
N)rWrr�r<)r"r��hold_interpolations&& r$r^�ConfigParser._read_defaults�sD��	5�!%�!4�!4��"/�/�D���N�N�D�0�0�(�;�<�"4���"4�D��s�8A�	A)rWr)
r.r/r0r1r2rrYr�rkr^r4r5r�r�s@@r$rr�s%����2�/�1��,�%�5�5r&c�a�]tRtRtoRtRtRtRtRtRt	Rt
R	tR
tRt
]R4t]R
4tRRRRRRR/RlltRtVtR#)riz+A proxy for a single section from a parser.c���WnW nVPFCpRV,p\P!VP
\
W4R7p\WV4KE	R#)z@Creates a view on a section of the specified `name` in `parser`.r���_implN)�_parser�_namer>�	functools�partialr��getattr�setattr)r"r�r�r�r��getters&&&   r$r �SectionProxy.__init__sJ�����
��%�%�D��$�,�C��&�&�t�x�x�w�v�7K�L�F��D�v�&�&r&c�8�RPVP4#)z
<Section: {}>)rFr7r)s&r$r*�SectionProxy.__repr__s���%�%�d�j�j�1�1r&c��VPPVPV4'g\V4hVPP	VPV4#r)r6r�r7r�r�r�s&&r$r��SectionProxy.__getitem__sB���|�|�&�&�t�z�z�3�7�7��3�-���|�|����
�
�C�0�0r&c��VPPWR7VPPVPW4#)r+)r6rr�r7r�s&&&r$r��SectionProxy.__setitem__s2�����*�*�#�*�C��|�|����
�
�C�7�7r&c���VPPVPV4'd-VPPVPV4'g\	V4hR#r)r6r�r7r�r�r�s&&r$r��SectionProxy.__delitem__ sG�����'�'��
�
�C�8�8����*�*�4�:�:�s�;�;��3�-��<r&c�N�VPPVPV4#r)r6r�r7r�s&&r$r��SectionProxy.__contains__%s���|�|�&�&�t�z�z�3�7�7r&c�4�\VP44#r)r��_optionsr)s&r$r��SectionProxy.__len__(s���4�=�=�?�#�#r&c�>�VP4P4#r)rIr�r)s&r$r��SectionProxy.__iter__+s���}�}��'�'�)�)r&c���VPVPP8wd&VPPVP4#VPP	4#r)r7r6r<rsr�r)s&r$rI�SectionProxy._options.sD���:�:����5�5�5��<�<�'�'��
�
�3�3��<�<�(�(�*�*r&c��VP#r)r6r)s&r$r��SectionProxy.parser4s���|�|�r&c��VP#r)r7r)s&r$r��SectionProxy.name9s���z�z�r&Nr�Fr�r5c	�r�V'gVPPpV!VPV3RVRVRV/VB#)zjGet an option value.

Unless `fallback` is provided, `None` will be returned if the option
is not found.

r�r�r�)r6r�r7)r"rPr�r�r�r5rs&&&$$$,r$r��SectionProxy.get>sI����L�L�$�$�E��T�Z�Z��2�S�2�t�2�&�2�*0�2�	2r&)r7r6r)r.r/r0r1r2r r*r�r�r�r�r�r�rIr(r�r�r�r4r5r6s@r$rrs}����5�'�2�1�
8� �
8�$�*�+���������
2��
2�D�
2��
2�
2r&c�la�]tRtRtoRt]P!R4tRtRt	Rt
RtRtR	t
R
tVtR#)riNaEnables reuse of get*() methods between the parser and section proxies.

If a parser class implements a getter directly, the value for the given
key will be ``None``. The presence of the converter name here enables
section proxies to find and use the implementation on the parser class.
z^get(?P<name>.+)$c�(�Wn/Vn\VP4FkpVPP	V4pV'd&\\
VPV44'gKMRVPVPR4&Km	R#)Nr�)r6�_data�dir�	GETTERCREr��callabler:r�)r"r�r<r�s&&  r$r �ConverterMapping.__init__Xsf������
��$�,�,�'�F����$�$�V�,�A��H�W�T�\�\�6�%B�C�C��*.�D�J�J�q�w�w�v��'�	(r&c�(�VPV,#r)rWr�s&&r$r��ConverterMapping.__getitem__as���z�z�#��r&c	���RV,pTR8Xd\R4hY PT&\
P!TPPTR7pY$n	\TPY44TPP4F1p\
P!TPTR7p\YST4K3	R# \d&\RPT\T444hi;i)r�zIncompatible key: {} (type: {})z)Incompatible key: cannot use "" as a name)r�r4N)
r[r�rFr\rWr8r9r6r��	converterr;�valuesr�)r"r�r��k�func�proxyr<s&&&    r$r��ConverterMapping.__setitem__ds���	8����A�
��:��H�I�I��
�
�3��� � ����!7�!7�e�D��������a�&��\�\�(�(�*�E��&�&�u�y�y��=�F��E�f�%�+���	8�� � &��s�D��I� 6�8�
8�	8�s�	C�0C4c�:�RT;'gR,pTPT\P!TP
3TP
P
44Fp\Y24K	R# \d
\T4hi;i \dK=i;i)r�N)	r[r�rWrrr6r`�delattrr�)r"r�ra�insts&&  r$r��ConverterMapping.__delitem__ts���	 ������%�A�
�J�J�s�O��O�O�T�\�\�O�T�\�\�5H�5H�5J�K�D�
��� �L���	 ��3�-��	 ��"�
��
�s"�	A1�	A1� B�1B�B�Bc�,�\VP4#r)rzrWr)s&r$r��ConverterMapping.__iter__�s���D�J�J��r&c�,�\VP4#r)r�rWr)s&r$r��ConverterMapping.__len__�s���4�:�:��r&)rWr6N)r.r/r0r1r2r�r�rYr r�r�r�r�r�r4r5r6s@r$rrNs>������
�
�/�0�I�/��&� � ��r&)rrrrr	r
rrr
rrrrrrrrrrrr'rcrj)1r2�collections.abcrr�collectionsrrr{r8rzrrxr�r��__all__r�r&r'rcrrrrrrr	rrr
r
rrrr�rrj�objectrXrrrr�r�r�rrrrrr`r&r$�<module>rqs���O�f5�-���	��	�	�
�H���
�����

�I�
� �U� �.�E�.�46�5�6�6&�E�&�+��+�	9�&8�	9��1��
.�0�
.�7�5�7�@-��-�-��-�I�%�I�#�#�
"��"�"�#��
���
�
� E+��E+�PI+�M�I+�X��	2�C�	2�!�!�*G
 �n�G
 �T5�?�5�@C2�>�C2�L8�~�8r&