shell bypass 403

GrazzMean-Shell Shell

Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.143.143.99
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : configparser.cpython-313.pyc
�

*}g����n�SrSSKJrJr SSKJr SSKrSSKrSSK	r	SSK
r
SSKrSSKrSSK
r
SSKrSr\rSrSr"SS	\5r"S
S\5r"SS
\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r "S S!5r!\!"5r"\#"5r$"S"S#5r%"S$S%\%5r&"S&S'\%5r'"S(S)5r("S*S+\)5r*"S,S-\5r+"S.S/\+5r,"S0S1\5r-"S2S3\5r.g)4aaConfiguration 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�ConfigParser�RawConfigParser�
Interpolation�BasicInterpolation�ExtendedInterpolation�SectionProxy�ConverterMapping�DEFAULTSECT�MAX_INTERPOLATION_DEPTH�UNNAMED_SECTION�DEFAULT�
c�,�\rSrSrSrSSjrSr\rSrg)�Error�z'Base class for ConfigParser exceptions.c�:�Xl[RX5 g�N)�message�	Exception�__init__)�self�msgs  �3/opt/alt/python313/lib64/python3.13/configparser.pyr$�Error.__init__�s�������4�%�c��UR$r!�r"�r%s r'�__repr__�Error.__repr__�s���|�|�r)r+N)�)	�__name__�
__module__�__qualname__�__firstlineno__�__doc__r$r-�__str__�__static_attributes__�r)r'rr�s��1�&���Gr)rc��\rSrSrSrSrSrg)r�z2Raised when no section matches a requested option.c�T�[RUSU<35 XlU4Ulg)NzNo section: )rr$�section�args�r%r;s  r'r$�NoSectionError.__init__�s!��
���t��:�;����K��	r))r<r;N�r0r1r2r3r4r$r6r7r)r'rr�s
��<� r)rc�"�\rSrSrSrSSjrSrg)r��z�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�r�[U5S/nUbUS[U5/nUb URSRU55 URS5 URU5 UnOUR	SS5 [
R
USRU55 XlX l	X0l
XU4Ulg)N� already exists�While reading from � [line {0:2d}]z
: section rzSection r/)�repr�append�format�extend�insertrr$�joinr;�source�linenor<)r%r;rLrMr&r"s      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<rMr;rL�NNr?r7r)r'rr�s���.r)rc�"�\rSrSrSrSSjrSrg)r��z�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��[U5S[U5S/nUbUS[U5/nUb URSRU55 URS5 URU5 UnOUR	SS5 [
R
USRU55 XlX l	X0l
X@lXX44Ulg)	Nz in section rCrDrEz	: option rzOption r/)
rFrGrHrIrJrr$rKr;�optionrLrMr<)r%r;rSrLrMr&r"s       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<rMrSr;rLrOr?r7r)r'rr�s���6r)rc��\rSrSrSrSrSrg)r	�z!A requested option was not found.c�h�[RUSU<SU<35 XlX lX4Ulg)Nz
No option z
 in section: �rr$rSr;r<)r%rSr;s   r'r$�NoOptionError.__init__�s.��
���t���)�	*������%��	r)�r<rSr;Nr?r7r)r'r	r	�s
��+�&r)r	c��\rSrSrSrSrSrg)r
iz0Base class for interpolation-related exceptions.c�X�[RX5 XlX lXU4Ulgr!rX)r%rSr;r&s    r'r$�InterpolationError.__init__
s$��
���t�!������c�*��	r)rZNr?r7r)r'r
r
s
��:�+r)r
c��\rSrSrSrSrSrg)rizAA string substitution required a setting which was not available.c�r�SRXXC5n[RXX%5 X@lXX44Ulg)Nz�Bad value substitution: option {!r} in section {!r} contains an interpolation key {!r} which is not a valid option name. Raw value: {!r})rHr
r$�	referencer<)r%rSr;�rawvalr`r&s      r'r$�(InterpolationMissingOptionError.__init__s;��!�!'����!K�	�	�#�#�D�'�?�"���f�8��	r))r<r`Nr?r7r)r'rrs
��K�9r)rc��\rSrSrSrSrg)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.
r7N)r0r1r2r3r4r6r7r)r'r
r
s��r)r
c��\rSrSrSrSrSrg)ri%z0Raised when substitutions are nested too deeply.c�p�SRX[U5n[RXX$5 XU4Ulg)Nz�Recursion limit exceeded in value substitution: option {!r} in section {!r} contains an interpolation key which cannot be substituted in {} steps. Raw value: {!r})rHrr
r$r<)r%rSr;rar&s     r'r$� InterpolationDepthError.__init__(s>����&��*A��!�	�
	�#�#�D�'�?��f�-��	r))r<Nr?r7r)r'rr%s
��:�.r)rc�V^�\rSrSrSrU4SjrSrSr\S\	S4Sj5r
SrU=r$)	ri2z>Raised when a configuration file does not follow legal syntax.c�>�[TU]SU<35 Xl/UlU4UlU(aUR
"U6 gg)Nz Source contains parsing errors: )�superr$rL�errorsr<rG)r%rLr<�	__class__s   �r'r$�ParsingError.__init__5sA���
���;�F�:�F�G�������J��	���K�K���r)c��URRX45 U=RSU[U54--
slg)Nz
	[line %2d]: %s)rjrGr"rF)r%rM�lines   r'rG�ParsingError.append=s3�������F�>�*����,���T�
�/C�C�C�r)c�\�UH%nURHnUR"U6 M M' U$r!)rjrG)r%�others�other�errors    r'�combine�ParsingError.combineAs-���E��������U�#�&���r)�
exceptionsc��[U5n[R"[5 [	U5RU5e!,(df   g=f)z<
Combine any number of ParsingErrors into one and raise it.
N)�iter�
contextlib�suppress�
StopIteration�nextrt)rvs r'�
_raise_all�ParsingError._raise_allGs;��
�*�%�
�
�
 �
 ��
/��z�"�*�*�:�6�6�0�
/�s�A�
A)r<rjrL)
r0r1r2r3r4r$rGrt�staticmethodrr}r6�
__classcell__�rks@r'rr2s6���H��D���7�x��7�7��7r)rc��\rSrSrSrSrSrg)riRz@Raised when a key-value pair is found before any section header.c�p�[RUSXU4-5 XlX lX0lXU4Ulg)Nz7File contains no section headers.
file: %r, line: %d
%r�rr$rLrMrnr<�r%�filenamerMrns    r'r$�"MissingSectionHeaderError.__init__Us>��
����G�
�t�$�
%�	&������	��t�,��	r)�r<rnrMrLNr?r7r)r'rrRs
��J�-r)rc��\rSrSrSrSrSrg)ri`z@Raised when a key without value is followed by continuation linec�p�[RUSXU4-5 XlX lX0lXU4Ulg)NzHKey without value continued with an indented line.
file: %r, line: %d
%rr�r�s    r'r$�#MultilineContinuationError.__init__bs@��
����
%���
%�
&�	'�
�����	��t�,��	r)r�Nr?r7r)r'rr`s
��J�	-r)rc��\rSrSrSrSrg)�_UnnamedSectionimc��g)Nz<UNNAMED_SECTION>r7r,s r'r-�_UnnamedSection.__repr__os��"r)r7N)r0r1r2r3r-r6r7r)r'r�r�ms��#r)r�c�0�\rSrSrSrSrSrSrSrSr	g)	ri|zBDummy interpolation that passes the value through with no changes.c��U$r!r7)r%�parserr;rS�value�defaultss      r'�
before_get�Interpolation.before_get����r)c��U$r!r7�r%r�r;rSr�s     r'�
before_set�Interpolation.before_set�r�r)c��U$r!r7r�s     r'�before_read�Interpolation.before_read�r�r)c��U$r!r7r�s     r'�before_write�Interpolation.before_write�r�r)r7N)
r0r1r2r3r4r�r�r�r�r6r7r)r'rr|s��L����r)rc�N�\rSrSrSr\R"S5rSrSr	Sr
Srg)	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�/nURXXdX%S5 SRU5$�N�r/��_interpolate_somerK�r%r�r;rSr�r��Ls       r'r��BasicInterpolation.before_get��)�������v�q��A�N��w�w�q�z�r)c��URSS5nURRSU5nSU;a[SXER	S54-5eU$)Nz%%r/�%�1invalid interpolation syntax in %r at position %d��replace�_KEYCRE�sub�
ValueError�find�r%r�r;rSr��	tmp_values      r'r��BasicInterpolation.before_set��^���M�M�$��+�	��L�L�$�$�R��3�	��)���+�.3�^�^�C�5H�-I�J�K�
K��r)c
���URXRSUS9nU[:�a[X%U5eU(GaURS5n	U	S:aUR	U5 gU	S:�aUR	USU	5 XISnUSSn
U
S:XaUR	S5 USSnO�U
S:Xa�UR
R
U5nUc[X%SU-5eURURS55nXKR5SnXln
SU
;aURXX=XVUS-5 O"UR	U
5 O[X%S	U<35eU(aGMgg![a [X%X�5Sef=f)
NT��raw�fallbackr�rr���(�'bad interpolation variable reference %rz+'%' must be followed by '%' or '(', found: )�getrrr�rGr��matchr
�optionxform�group�end�KeyErrorrr�)r%r�rS�accum�restr;�map�depthra�p�c�m�var�vs              r'r��$BasicInterpolation._interpolate_some�s������G����E���*�*�)�&�6�B�B���	�	�#��A��1�u����T�"���1�u����T�"�1�X�&��B�x���Q�q�	�A��C�x����S�!��A�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�#'�*�+�+�?�d��, �@�9���6�;?�@�@�s�?E�E'r7N�r0r1r2r3r4�re�compiler�r�r�r�r6r7r)r'rr�s(��I��j�j�)�*�G��
�'+r)rc�N�\rSrSrSr\R"S5rSrSr	Sr
Srg)	ri�zuAdvanced variant of interpolation, supports the syntax used by
`zc.buildout`. Enables interpolation between sections.z
\$\{([^}]+)\}c	�P�/nURXXdX%S5 SRU5$r�r�r�s       r'r�� ExtendedInterpolation.before_get�r�r)c��URSS5nURRSU5nSU;a[SXER	S54-5eU$)Nz$$r/�$r�r�r�s      r'r�� ExtendedInterpolation.before_set�r�r)c� �URXRSUS9nU[:�a[X%U5eU(Ga�URS5n	U	S:aUR	U5 gU	S:�aUR	USU	5 XISnUSSn
U
S:XaUR	S5 USSnGO4U
S:XGaUR
R
U5nUc[X%SU-5eURS5RS	5nXKR5SnUn
Un[U5S:XaURUS5nXnnOI[U5S:Xa*USn
URUS5nURX�SS
9nO[X%SU<35eSU;a0UR%XX?U
['UR)U
SS
95US-5 O"UR	U5 O[X%SU<35eU(aGM�gg![[[4a [!X%US	R#U55Sef=f)
NTr�r�rr�r��{r��:)r�zMore than one ':' found: z+'$' must be followed by '$' or '{', found: )r�rrr�rGr�r�r
r��splitr��lenr�r�rr	rrKr��dict�items)r%r�rSr�r�r;r�r�rar�r�r��path�sect�optr�s                r'r��'ExtendedInterpolation._interpolate_some�s+�����G����E���*�*�)�&�6�B�B���	�	�#��A��1�u����T�"���1�u����T�"�1�X�&��B�x���Q�q�	�A��C�x����S�!��A�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��!�8��*�*�6��$�+/����T�t��0L�+M�+0�1�9�6��L�L��O�.��G�#'�*�+�+�Y�d��D!�.�-�@�K�9������$��A�FJ�K�K�s�'G�-8G�&G�3H
r7Nr�r7r)r'rr�s'��>��j�j�)�*�G��
�4+r)rc��\rSrSr%\\\S'Sr\\\4S-\S'Sr	\S-\S'Sr
\S-\S'Sr\\S'Sr
\\S	'\\\S
'SrSrg)
�
_ReadStatei�elements_addedN�cursect�sectname�optnamerrM�indent_levelrjc�@�[5Ul[5Ulgr!)�setr��listrjr,s r'r$�_ReadState.__init__'s��!�e����f��r))r�rj)r0r1r2r3r��str�__annotations__r�r�r�r�rM�intr�r�rr$r6r7r)r'r�r�sc����X��&*�G�d�3��8�n�t�#�*� �H�s�T�z� ��G�c�D�j���F�S���L�3��
�,�
��r)r�c�n^�\rSrSrU4SjrSr\RS5r\	S5r
SrSrSr
U=r$)	�_Linei,c�">�[TU]X5$r!)ri�__new__)�cls�valr<�kwargsrks    �r'r��
_Line.__new__.s����w��s�(�(r)c��X lgr!��prefixes)r%r�r�s   r'r$�_Line.__init__1s�� �
r)c�P�UR5=(a UR5$r!)�_strip_full�
_strip_inliner,s r'�clean�_Line.clean4s�����!�:�d�&8�&8�&:�:r)c�<�UR5UR:g$r!)�striprr,s r'�has_comments�_Line.has_comments8s���z�z�|�t�z�z�)�)r)c�(�[R"SRSURR55=(d S5nURU5nUSU(aUR
5R5$SR5$)zS
Search for the earliest prefix at the beginning of the line or following a space.
�|c3�V# �UHnS[R"U5S3v� M! g7f)z(^|\s)(�)N�r��escape)�.0�prefixs  r'�	<genexpr>�&_Line._strip_inline.<locals>.<genexpr>As%���X�CW����	�	�&� 1�2�!�4�CW�s�')z(?!)N)r�r�rKr��inline�search�startr)r%�matcherr�s   r'r�_Line._strip_inline<sv���*�*��H�H�X�4�=�=�CW�CW�X�X�
��
��
���t�$���5�e�U�[�[�]�6�<�<�>�>��6�<�<�>�>r)c��[[UR5RURR
55(aS$S$)Nr/T)�anyr�r�
startswithr��fullr,s r'r��_Line._strip_fullHs5����T�Z�Z�\�4�4�d�m�m�6H�6H�I�J�J�r�T�PT�Tr)r�)r0r1r2r3r�r$�	functools�cached_propertyr�propertyrrr�r6r�r�s@r'r�r�,sL���)�!����;��;��*��*�
?�U�Ur)r�c�^�\rSrSrSrSrSrSr\"5r	\
R"\\
R5r
\
R"\RSS9\
R5r\
R"\RSS9\
R5r\
R"S5rS	S	S	S	S
S
S
S
S.rS\S
4S
SSS	S	\\\S
S.	SjjrSrSrSrSrSrS?SjrS?SjrS@SjrSASjrS
S\S.Sjr Sr!S
S\S.Sjr"S
S\S.Sjr#S
S\S.Sjr$S
S\S.S jr%\S
S4U4S!jjr&S"r'S#r(S$r)S?S%jr*SBS&jr+SCS'jr,S(r-S)r.S*r/S+r0S,r1S-r2S.r3S/r4S0r5S1r6S2r7S3r8S4r9S5r:S6r;S7r<S8r=S9r>S:S:S:S;.S<jr?\@S=5rAS>rBU=rC$)DriLz,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\STF)�1�yes�true�on�0�no�false�offN��=r�)�#�;)	�
delimiters�comment_prefixes�inline_comment_prefixes�strict�empty_lines_in_values�default_section�
interpolation�
converters�allow_unnamed_sectionc	���X lUR5UlUR5Ul[U5UlUR5Ul[
X	5UR
U	'[U5UlUS:Xa%U(aUROURUlO�SRSU55n
U(aB[R"URR!U
S9[R"5UlOA[R"UR$R!U
S9[R"5Ul[&R("[U=(d S5[U=(d S5S9UlXplX0lX�lX�lX�lUR4[6LaUR8UlUR4c[;5Ul[=UR4[:5(d![?S[AUR4535eU[6LaURRCU5 U(aUREU5 X�l#g)Nr)rc3�N# �UHn[R"U5v� M g7fr!r)r
�ds  r'r�+RawConfigParser.__init__.<locals>.<genexpr>�s���:�z�!����1���z�s�#%rr7)rrzSinterpolation= must be None or an instance of Interpolation; got an object of type )$�_dict�	_sections�	_defaultsr�_converters�_proxiesr�tuple�_delimiters�	OPTCRE_NV�OPTCRE�_optcrerKr�r��_OPT_NV_TMPLrH�VERBOSE�	_OPT_TMPL�types�SimpleNamespace�	_prefixes�_strict�_allow_no_value�_empty_lines_in_valuesr2�_interpolation�_UNSET�_DEFAULT_INTERPOLATIONr�
isinstance�	TypeError�type�update�_read_defaults�_allow_unnamed_section)r%r��	dict_type�allow_no_valuer-r.r/r0r1r2r3r4r5r8s              r'r$�RawConfigParser.__init__us����
�������������+�D�1����
�
���
�)5�d�)L��
�
�o�&� ��,�����#�-;�4�>�>����D�L����:�z�:�:�A��!�z�z�$�*;�*;�*B�*B��*B�*K�*,�*�*� 6��� "�z�z�$�.�.�*?�*?�a�*?�*H�*,�*�*� 6����.�.��'�-�2�.��0�6�B�7�
�����-��&;�#�,��+�����&�(�"&�"=�"=�D�����&�"/�/�D���$�-�-�}�=�=��*�*.�t�/B�/B�*C�)D�F��
��V�#����#�#�J�/������)�&;�#r)c��UR$r!)r<r,s r'r��RawConfigParser.defaults�s���~�~�r)c�H�[URR55$)z3Return a list of section names, excluding [DEFAULT])r�r;�keysr,s r'�sections�RawConfigParser.sections�s���D�N�N�'�'�)�*�*r)c���XR:Xa[SU-5eXR;a[U5eUR	5URU'[X5URU'g)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)r2r�r;rr:rr>r=s  r'�add_section�RawConfigParser.add_section�s]���*�*�*��7�'�A�B�B��n�n�$�'��0�0�"&�*�*�,����w��!-�d�!<��
�
�g�r)c��XR;$)znIndicate whether the named section is present in the configuration.

The DEFAULT section is not acknowledged.
)r;r=s  r'�has_section�RawConfigParser.has_section�s��
�.�.�(�(r)c���URUR5nUR	UR
5 [
UR55$![a
 [U5Sef=f)z9Return a list of option names for the given section name.N)r;�copyr�rrSr<r�r\)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��[U[[[R45(aU/n[
R"U5n/nUHmn[XBS9nURXT5 SSS5 [U[R5(a[R"U5nURU5 Mo U$!,(df   NZ=f![a M�f=f)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)rPr��bytes�os�PathLike�io�
text_encoding�open�_read�OSError�fspathrG)r%�	filenamesrk�read_okr��fps      r'�read�RawConfigParser.read�s����i�#�u�b�k�k�!:�;�;�"��I��#�#�H�-����!�H�
��(�6�"��J�J�r�,�7��(�B�K�K�0�0��9�9�X�.���N�N�8�$�"���7�6���
��
�s0�	C�B;�'C�;
C		�C�	C�
C�Cc�j�Uc
URnURX5 g![a SnN f=f)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�AttributeErrorrr)r%�frLs   r'�	read_file�RawConfigParser.read_file�s;���>�
!�����	
�
�
�1���"�
!� ��
!�s�#�2�2c�R�[R"U5nURX25 g)z'Read configuration from a given string.N)ro�StringIOr~)r%�stringrL�sfiles    r'�read_string�RawConfigParser.read_string�s�����F�#�����u�%r)c��[5nUR5H�upE[U5nURU5 URU5 UR5HuupgUR[U55nUb[U5nUR(aXF4U;a[XFU5eURXF45 URXFU5 Mw M� g![[
4a UR(aXC;aeN�f=f)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�r`rr�rJ�addr�r)r%�
dictionaryrLr�r;r\�keyr�s        r'�	read_dict�RawConfigParser.read_dict�s������'�-�-�/�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�r��varsr�c�(�URX5nURU5nXbnU(dUcU$URRXX'U5$![a U[LaeUs$f=f![a U[La[X!5eUs$f=f)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_valuesrrNr�r�r	rMr�)r%r;rSr�r�r�r8r�s        r'r��RawConfigParser.gets���	 ��"�"�7�1�A��!�!�&�)��	 ��I�E��%�-��L��&�&�1�1�$��23�5�
5��#�	 ��6�!����		 ���	 ��6�!�#�F�4�4���		 �s"�A�A.�A+�*A+�. B�Bc�4�U"UR"X40UD65$r!)r�)r%r;�convrSr�s     r'�_get�RawConfigParser._get?s���D�H�H�W�7��7�8�8r)c�t�UR"XU4XES.UD6$![[4a U[LaeUs$f=f)N)r�r�)r�rr	rN)r%r;rSr�r�r�r�r�s        r'�	_get_conv�RawConfigParser._get_convBsO��	��9�9�W�F�'��'�%�'�
'���
�.�	��6�!���O�	�s��7�7c�8�UR"X[4X4US.UD6$�Nr�)r�r��r%r;rSr�r�r�r�s       r'�getint�RawConfigParser.getintMs)���~�~�g�s�;��'/�;�39�;�	;r)c�8�UR"X[4X4US.UD6$r�)r��floatr�s       r'�getfloat�RawConfigParser.getfloatRs)���~�~�g�u�;�#�'/�;�39�;�	;r)c�D�UR"XUR4X4US.UD6$r�)r��_convert_to_booleanr�s       r'�
getboolean�RawConfigParser.getbooleanWs3���~�~�g�t�/G�/G�O�"%�8�O�GM�O�	Or)c�>^^^	�T[La[T
T]	5$TRR	5m	T	RTRT5 [T	R55nU(a-UR5HupVUT	TRU5'M U	UU4SjnU(aU	4SjnUVs/sHo�U"U54PM sn$![a TTR:wa[T5eN�f=fs snf)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�H>�TRRTTUTUT5$r!)rMr�)rSr8r;r%s ���r'�<lambda>�'RawConfigParser.items.<locals>.<lambda>ts%���d�&9�&9�&D�&D�T��V�Q�v�Y��'+r)c�>�TU$r!r7)rSr8s �r'r�r�ws	���!�F�)r))
rNrir�r<rfrSr;r�r2rr�r\r�)r%r;r�r��	orig_keysr�r��value_getterrSr8rks``       @�r'r��RawConfigParser.items\s�����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�;C<�%C9�8C9c�N�UR5HnXnX	X4s $ [e)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.
)r]r��r%r�r�s   r'�popitem�RawConfigParser.popitemzs/���=�=�?�C��I�E��	��:��#��r)c�"�UR5$r!)�lower)r%�	optionstrs  r'r��RawConfigParser.optionxform�s����� � r)c��U(aXR:XaURU5nX R;$XR;agURU5nX RU;=(d X R;$)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)r2r�r<r;)r%r;rSs   r'�
has_option�RawConfigParser.has_option�so���'�%9�%9�9��%�%�f�-�F��^�^�+�+�
�N�N�
*���%�%�f�-�F��n�n�W�5�5�0����/�
1r)c��U(aURRXUU5nU(aXR:Xa
URnOURUnX4URU5'g![
a
 [
U5Sef=f)zSet an option.N)rMr�r2r<r;r�rr�)r%r;rSr��sectdicts     r'r��RawConfigParser.set�s����'�'�2�2�4�&�38�:�E��'�%9�%9�9��~�~�H�
8��>�>�'�2��.3��!�!�&�)�*���
8�$�W�-�4�7�
8�s�	A,�,Bc�&�U(aSRURS5nOURSnUR(a5URXRURR5U5 [UR;a6URU[UR[R5USS9 URH<nU[LaMURXURUR5U5 M> g)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 {} rT)�unnamedN)rHr@r<�_write_sectionr2r�rr;)r%rw�space_around_delimitersr8r;s     r'�write�RawConfigParser.write�s���#��
�
�d�.�.�q�1�2�A�� � ��#�A��>�>�����$8�$8�$(�N�N�$8�$8�$:�A�
?��d�n�n�,�����O�T�^�^�O�5T�5Z�5Z�5\�^_�im��n��~�~�G��/�)������ $���w� 7� =� =� ?��
D�&r)c�n�U(d URSRU55 UHwupgURRXUU5nUcUR(dU[U5R
SS5-nOSnURSRXg55 My URS5 g)z-Write a single section to the specified `fp'.z[{}]
N�
z
	r/z{}{}
)r�rHrMr�rKr�r�)r%rw�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���U(aXR:Xa
URnOURUnURU5nX#;nU(aX2	U$![a
 [	U5Sef=f)zRemove an option.N)r2r<r;r�rr�)r%r;rSr��existeds     r'�
remove_option�RawConfigParser.remove_option�sr���'�%9�%9�9��~�~�H�
8��>�>�'�2���!�!�&�)���$���� ����
�
8�$�W�-�4�7�
8�s�A�A+c�d�XR;nU(aURU	URU	U$)zRemove a file section.)r;r>)r%r;r�s   r'�remove_section�RawConfigParser.remove_section�s.���^�^�+������w�'��
�
�g�&��r)c��XR:wa!URU5(d[U5eURU$r!)r2rcr�r>�r%r�s  r'�__getitem__�RawConfigParser.__getitem__�s7���&�&�&�t�/?�/?��/D�/D��3�-���}�}�S�!�!r)c���X;aXULagXR:XaURR5 O,XR;aURUR5 UR	X05 gr!)r2r<�clearr;r�r�s   r'�__setitem__�RawConfigParser.__setitem__�s`���;�4�9��-���&�&�&��N�N� � �"�
�N�N�
"��N�N�3��%�%�'�����|�$r)c��XR:Xa[S5eURU5(d[U5eUR	U5 g)Nz"Cannot remove the default section.)r2r�rcr�r�r�s  r'�__delitem__�RawConfigParser.__delitem__�sC���&�&�&��A�B�B�����$�$��3�-�����C� r)c�N�XR:H=(d URU5$r!)r2rcr�s  r'�__contains__�RawConfigParser.__contains__�s!���*�*�*�C�d�.>�.>�s�.C�Cr)c�2�[UR5S-$)Nr�)r�r;r,s r'�__len__�RawConfigParser.__len__s���4�>�>�"�Q�&�&r)c�v�[R"UR4URR	55$r!)�	itertools�chainr2r;r\r,s r'�__iter__�RawConfigParser.__iter__s)������ 4� 4�6����8K�8K�8M�N�Nr)c��[RURX55 UR5 g!UR5 f=f)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)rr}�_read_inner�_join_multiline_values)r%rw�fpnames   r'rr�RawConfigParser._reads9��$	*��#�#�D�$4�$4�R�$@�A��'�'�)��D�'�'�)�s	�$7�A	c���[5n[R"[URS9n[[
XA5SS9GHuUlnUR(d�UR(arUR(d`URbSUR(aBURURb(URURRS5 O[RUlM�UR"R%U5nU(aUR'5OSUlUR+X5U5(aGM
UR-X5U5 GM UR.$)Nr�r�)rr/r)r�r�partialr�rI�	enumerater�rMrrLrr�r�rG�sys�maxsizer��NONSPACECRErr�cur_indent_level�_handle_continuation_line�_handle_restrj)r%rwr��st�Linern�first_nonspaces       r'r��RawConfigParser._read_inners��
�\��� � �����@��(��T��a�@�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��/�+ A�.�y�y�r)c�Z�URSL=(a, UR=(a URUR:�nU(abURURc[	X1R
U5eURURR
UR5 U$r!)r�r�r�r�rrMrGr)r%r�rnr��is_continues     r'r��)RawConfigParser._handle_continuation_line;s����z�z��-�2�"�*�*�2����"�/�/�1�	���z�z�"�*�*�%�-�0����D�I�I��J�J�r�z�z�"�)�)�$�*�*�5��r)c��UR(a�URc�[UlUR	5UlURUR
UR'[
XR5URUR'URRUR5 URUlURRUR5nU(d#URc[X1R U5eU(aUR#XU5 gUR%XU5 gr!)rUr�rr�r:r;rr>r�r�r�r��SECTCREr�rrrM�_handle_header�_handle_option)r%r�rnr��mos     r'r��RawConfigParser._handle_restEs����&�&�2�:�:�+=�)�B�K�����B�J�*,�*�*�D�N�N�2�;�;�'�)5�d�K�K�)H�D�M�M�"�+�+�&����!�!�"�+�+�.��-�-���
�\�\�
�
��
�
�
+���b�j�j�(�+�F�I�I�t�D�D�/1����B�F�+�t�7J�7J�2�U[�7\r)c��URS5UlURUR;a�UR(a;URUR;a![URUUR5eURURUlURRUR5 O�URUR:XaURUlO�UR5UlURURUR'[XR5URUR'URRUR5 SUlg)N�header)r�r�r;rJr�rrMr�r�r2r<r:rr>r�)r%r�r�r�s    r'r��RawConfigParser._handle_headerWs����h�h�x�(���
�;�;�$�.�.�(��|�|����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��URUlURRUR5nU(d0UR
R
[X1RU55 gURSSS5uUl
pVUR(d/UR
R
[X1RU55 URURR55Ul
UR(aQURUR4UR;a+[!URURX1R5eURR#URUR45 Ub+UR%5nU/UR&UR'gSUR&UR'g)NrS�vir�)r�r�rCr�rrjrGrrMr�r�r��rstriprJr�r�rr�rr�)r%r�rnr�r�r�optvals       r'r��RawConfigParser._handle_optionisF���-�-���
�\�\�
�
��
�
�
+���

�I�I���\�&�)�)�T�B�C��!#���(�D�'�!B���
�B��z�z��I�I���\�&�)�)�T�B�C��%�%�b�j�j�&7�&7�&9�:��
��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��URUR4n[R"U4URR55nUHqup4UR5HXupV[
U[5(aSRU5R5nURRUUXV5XE'MZ Ms g)Nr�)r2r<r�r�r;r�rPr�rKrrMr�)r%r��all_sectionsr;rhr{r�s       r'r��&RawConfigParser._join_multiline_values�s����'�'����7�� ����{�'+�~�~�';�';�'=�?�� ,��G�$�]�]�_�	���c�4�(�(��)�)�C�.�/�/�1�C� $� 3� 3� ?� ?��@G�@D�!K��
�-�!-r)c�p�UR5H"up#X0RURU5'M$ g)zLRead the defaults passed in the initializer.
Note: values can be non-string.N)r�r<r�)r%r�r�r�s    r'rT�RawConfigParser._read_defaults�s.��#�.�.�*�J�C�49�N�N�4�+�+�C�0�1�+r)c�.�0nURUn0nU(a:UR	5H&upVUb[U5nXdUR
U5'M( [XCUR5$![a XR:wa[U5SeN�f=f)zxCreate a sequence of lookups with 'vars' taking priority over
the 'section' which takes priority over the DEFAULTSECT.

N)	r;r�r2rr�r�r��	_ChainMapr<)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�A,�,%B�Bc��UR5UR;a[SU-5eURUR5$)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)r/)r;rSr�c��[U[5(d[S5e[U[5(d[S5eUR(aU(a![U[5(d[S5egg)a�Raises a TypeError for non-string values.

The only legal non-string value if we allow valueless
options is None, so we need to check if the value is a
string if:
- we do not allow valueless options, or
- we allow valueless options but the value is not None

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().
zsection names must be stringszoption keys must be stringszoption values must be stringsN)rPr�rQrK)r%r;rSr�s    r'�_validate_value_types�%RawConfigParser._validate_value_types�sd���'�3�'�'��;�<�<��&�#�&�&��9�:�:��#�#�u��e�S�)�)�� ?�@�@�*�(-r)c��UR$r!)r=r,s r'r4�RawConfigParser.converters�s�����r))rKrUr=r<r@r:rLrMrCrIr>r;rJr2r!)z<string>)z<dict>)T)F)Dr0r1r2r3r4�
_SECT_TMPLrFrDrrOr�r�rEr�rHrBrAr�r�
_default_dictrrNr$r�r]r`rcrhrxr~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�rTr�r�rrr4r6r�r�s@r'rrLs���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���d�$� ���e�M�N�!%�
� %�/<�5?�",�d��D�!,�%�&�',�
/<�b�+�
=�)�!��6
�&�
.�>+0�d�V�#5�J9�7<�$�!��.3���;�
05�4� �;�
27�T�"�O�
#��D�H�<�!�1�3�D�2�
��"�
%�!�D�'�O�*�.�:�]�$�$*�>
K�:�?�(2�02�"�B�A�*� �� r)rc�P^�\rSrSrSr\"5rSU4SjjrU4SjrSr	Sr
U=r$)ri�z(ConfigParser implementing interpolation.c�D>�URX#S9 [TU]	XU5 g)zeSet an option.  Extends RawConfigParser.set by validating type and
interpolation syntax on the value.�rSr�N)rrir�)r%r;rSr�rks    �r'r��ConfigParser.set�s$���	
�"�"�&�"�>�
���G�U�+r)c�B>�URUS9 [TU]	U5 g)z~Create a new section in the configuration.  Extends
RawConfigParser.add_section by validating if the section name is
a string.)r;N)rrir`)r%r;rks  �r'r`�ConfigParser.add_section�s#���	
�"�"�7�"�3�
���G�$r)c��URn[5UlURURU05 X lg!WUlf=f)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)rMrr�r2)r%r��hold_interpolations   r'rT�ConfigParser._read_defaults�sD��	5�!%�!4�!4��"/�/�D���N�N�D�0�0�(�;�<�"4���"4�D��s�8A�	A
)rMr!)r0r1r2r3r4rrOr�r`rTr6r�r�s@r'rr�s#���2�/�1��,�%�5�5r)rc��\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
\S5r\S
5rSSSSS.SjjrSrg)ri�z+A proxy for a single section from a parser.c��XlX lURH<nSU-n[R"UR
[
X5S9n[XU5 M> g)z@Creates a view on a section of the specified `name` in `parser`.r���_implN)�_parser�_namer4rr�r��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�SRUR5$)Nz
<Section: {}>)rHr)r,s r'r-�SectionProxy.__repr__�s���%�%�d�j�j�1�1r)c��URRURU5(d[U5eURR	URU5$r!)r(r�r)r�r�r�s  r'r��SectionProxy.__getitem__�sB���|�|�&�&�t�z�z�3�7�7��3�-���|�|����
�
�C�0�0r)c��URRXS9 URRURX5$)Nr)r(rr�r)r�s   r'r��SectionProxy.__setitem__s2�����*�*�#�*�C��|�|����
�
�C�7�7r)c���URRURU5(a+URRURU5(d[	U5egr!)r(r�r)r�r�r�s  r'r��SectionProxy.__delitem__sG�����'�'��
�
�C�8�8����*�*�4�:�:�s�;�;��3�-��<r)c�N�URRURU5$r!)r(r�r)r�s  r'r��SectionProxy.__contains__s���|�|�&�&�t�z�z�3�7�7r)c�4�[UR55$r!)r��_optionsr,s r'r��SectionProxy.__len__s���4�=�=�?�#�#r)c�>�UR5R5$r!)r9r�r,s r'r��SectionProxy.__iter__s���}�}��'�'�)�)r)c���URURR:wa%URRUR5$URR	5$r!)r)r(r2rhr�r,s r'r9�SectionProxy._optionssD���:�:����5�5�5��<�<�'�'��
�
�3�3��<�<�(�(�*�*r)c��UR$r!)r(r,s r'r��SectionProxy.parsers���|�|�r)c��UR$r!)r)r,s r'r{�SectionProxy.name s���z�z�r)NF)r�r�r'c�j�U(dURRnU"URU4X4US.UD6$)zjGet an option value.

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

r�)r(r�r))r%rSr�r�r�r'r�s       r'r��SectionProxy.get%s=����L�L�$�$�E��T�Z�Z��2�S�&�2�*0�2�	2r))r)r(r!)r0r1r2r3r4r$r-r�r�r�r�r�r�r9rr�r{r�r6r7r)r'rr�sp��5�'�2�1�
8� �
8�$�*�+���������
2��D��
2�
2r)rc�`�\rSrSrSr\R"S5rSrSr	Sr
SrSrS	r
S
rg)ri5aEnables 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�"�Xl0Ul[UR5HinURR	U5nU(a$[[
URU55(dMKSURURS5'Mk g)Nr{)r(�_data�dir�	GETTERCREr��callabler*r�)r%r�r,r�s    r'r$�ConverterMapping.__init__?sf������
��$�,�,�'�F����$�$�V�,�A��H�W�T�\�\�6�%B�C�C��*.�D�J�J�q�w�w�v��'�	(r)c� �URU$r!)rGr�s  r'r��ConverterMapping.__getitem__Hs���z�z�#��r)c	���SU-nUS:Xa[S5eX RU'[
R"URRUS9nX$l	[URX45 URR5H.n[
R"URUS9n[XSU5 M0 g![a% [SRU[U555ef=f)Nr�zIncompatible key: {} (type: {})z)Incompatible key: cannot use "" as a name)r�r&)
rQr�rHrRrGrr�r(r��	converterr+�valuesr�)r%r�r��k�func�proxyr,s       r'r��ConverterMapping.__setitem__Ks���	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�B8�8/C'c�*�SU=(d S-nURU	[R"UR
4UR
R
55Hn[X25 M g![a [U5ef=f![a M:f=f)Nr�)	rQr�rGr�r�r(rP�delattrr|)r%r�rQ�insts    r'r��ConverterMapping.__delitem__[s���	 �����%�A�
�J�J�s�O��O�O�T�\�\�O�T�\�\�5H�5H�5J�K�D�
��� �L���	 ��3�-��	 ��"�
��
�s�A+�B�+B�
B�Bc�,�[UR5$r!)rxrGr,s r'r��ConverterMapping.__iter__is���D�J�J��r)c�,�[UR5$r!)r�rGr,s r'r��ConverterMapping.__len__ls���4�:�:��r))rGr(N)r0r1r2r3r4r�r�rIr$r�r�r�r�r�r6r7r)r'rr5s6����
�
�/�0�I�/��&� � �r)r)/r4�collections.abcrr�collectionsrr
ryrror�rmr�r�rG�__all__r�rrrr#rrrrr	r
rr
rrrrr�r�objectrNrrrr�r�r�rrrrr7r)r'�<module>raso��O�f5�-���	��	�	�
��H���
�����

�I�
� �U� �.�E�.�46�5�6�6&�E�&�+��+�	9�&8�	9��1��
.�0�
.�7�5�7�@-��-�-��-�#�#�"�#��
���
�
� E+��E+�PG+�M�G+�T��U�C�U�@@
 �n�@
 �F5�?�5�@C2�>�C2�L8�~�8r)
© 2025 GrazzMean-Shell