/opt/alt/python-internal/lib64/python3.11/json/__pycache__
NameSizeModeActions
decoder.cpython-311.opt-1.pyc152090644editdlrm
decoder.cpython-311.opt-2.pyc112440644editdlrm
decoder.cpython-311.pyc152090644editdlrm
encoder.cpython-311.opt-1.pyc168210644editdlrm
encoder.cpython-311.opt-2.pyc125190644editdlrm
encoder.cpython-311.pyc168210644editdlrm
scanner.cpython-311.opt-1.pyc36690644editdlrm
scanner.cpython-311.opt-2.pyc36320644editdlrm
scanner.cpython-311.pyc36690644editdlrm
tool.cpython-311.opt-1.pyc47720644editdlrm
tool.cpython-311.opt-2.pyc44780644editdlrm
tool.cpython-311.pyc47720644editdlrm
__init__.cpython-311.opt-1.pyc142420644editdlrm
__init__.cpython-311.opt-2.pyc49580644editdlrm
__init__.cpython-311.pyc142420644editdlrm
Edit: /opt/alt/python-internal/lib64/python3.11/json/__pycache__/encoder.cpython-311.pyc (16821B)
§ V?XÃÜìáã óú—dZddlZ ddlmZn #e$rdZYnwxYw ddlmZn #e$rdZYnwxYw ddlmZ n #e$rdZ YnwxYwej d¦«Z ej d¦«Z ej d¦«Z d d d d d dddœZed¦«D]4Ze ee¦«d e¦«¦«Œ5[ed¦«Zd„ZepeZd„ZepeZGd„de¦«Zeeeeeeee e!ej"f d„Z#dS)zImplementation of JSONEncoder éN)Úencode_basestring_ascii)Úencode_basestring)Ú make_encoderz[\x00-\x1f\\"\b\f\n\r\t]z([\\"]|[^\ -~])s[€-ÿ]z\\z\"z\bz\fz\nz\rz\t)ú\ú"úú ú ú ú é ú \u{0:04x}ÚinfcóJ—d„}dt ||¦«zdzS)z5Return a JSON representation of a Python string cóB—t| d¦«S)Nr)Ú ESCAPE_DCTÚgroup)Úmatchs ú9/opt/alt/python-internal/lib64/python3.11/json/encoder.pyÚreplacez%py_encode_basestring..replace)s€Ý˜%Ÿ+š+ a™.œ.Ô)Ð)ór)ÚESCAPEÚsub©Úsrs rÚpy_encode_basestringr%s/€ð*ð*ð*à •—’˜G QÑ'Ô'Ñ '¨#Ñ -Ð-rcóJ—d„}dt ||¦«zdzS)zAReturn an ASCII-only JSON representation of a Python string có—| d¦«} t|S#t$r]t|¦«}|dkrd |¦«cYS|dz}d|dz dzz}d|dzz}d ||¦«cYSwxYw) NririØé iÿiÜz\u{0:04x}\u{1:04x})rrÚKeyErrorÚordÚformat)rrÚnÚs1Ús2s rrz+py_encode_basestring_ascii..replace5s±€Ø �KŠK˜‰NŒNˆð =ݘa”=Ð øÝð =ð =ð =Ý�A‘”ˆAØ�7Š{ˆ{Ø#×*Ò*¨1Ñ-Ô-Ð-Ð-Ð-ð�W‘ �Ø  R¡¨5Ñ0Ñ1�ؘq 5™yÑ)�Ø-×4Ò4°R¸Ñ<Ô<Ð<Ð<Ð<ð =øøøs— $¤4B Á.B  B r)Ú ESCAPE_ASCIIrrs rÚpy_encode_basestring_asciir'1s3€ð=ð=ð=ð •×!Ò! '¨1Ñ-Ô-Ñ -°Ñ 3Ð3rc óH—eZdZdZdZdZdddddddddœd„Zd „Zd „Zd d „Z dS) Ú JSONEncodera[Extensible JSON encoder for Python data structures. Supports the following objects and types by default: +-------------------+---------------+ | Python | JSON | +===================+===============+ | dict | object | +-------------------+---------------+ | list, tuple | array | +-------------------+---------------+ | str | string | +-------------------+---------------+ | int, float | number | +-------------------+---------------+ | True | true | +-------------------+---------------+ | False | false | +-------------------+---------------+ | None | null | +-------------------+---------------+ To extend this to recognize other objects, subclass and implement a ``.default()`` method with another method that returns a serializable object for ``o`` if possible, otherwise it should call the superclass implementation (to raise ``TypeError``). z, z: FTN)ÚskipkeysÚ ensure_asciiÚcheck_circularÚ allow_nanÚ sort_keysÚindentÚ separatorsÚdefaultcó¦—||_||_||_||_||_||_|�|\|_|_n |�d|_|� ||_dSdS)aÇConstructor for JSONEncoder, with sensible defaults. If skipkeys is false, then it is a TypeError to attempt encoding of keys that are not str, int, float or None. If skipkeys is True, such items are simply skipped. If ensure_ascii is true, the output is guaranteed to be str objects with all incoming non-ASCII characters escaped. If ensure_ascii is false, the output can contain non-ASCII characters. If check_circular is true, then lists, dicts, and custom encoded objects will be checked for circular references during encoding to prevent an infinite recursion (which would cause an RecursionError). Otherwise, no such check takes place. If allow_nan is true, then NaN, Infinity, and -Infinity will be encoded as such. This behavior is not JSON specification compliant, but is consistent with most JavaScript based encoders and decoders. Otherwise, it will be a ValueError to encode such floats. If sort_keys is true, then the output of dictionaries will be sorted by key; this is useful for regression tests to ensure that JSON serializations can be compared on a day-to-day basis. If indent is a non-negative integer, then JSON array elements and object members will be pretty-printed with that indent level. An indent level of 0 will only insert newlines. None is the most compact representation. If specified, separators should be an (item_separator, key_separator) tuple. The default is (', ', ': ') if *indent* is ``None`` and (',', ': ') otherwise. To get the most compact JSON representation, you should specify (',', ':') to eliminate whitespace. If specified, default is a function that gets called for objects that can't otherwise be serialized. It should return a JSON encodable version of the object or raise a ``TypeError``. Nú,) r*r+r,r-r.r/Úitem_separatorÚ key_separatorr1) Úselfr*r+r,r-r.r/r0r1s rÚ__init__zJSONEncoder.__init__isq€ðV!ˆŒ Ø(ˆÔØ,ˆÔØ"ˆŒØ"ˆŒØˆŒ Ø Ð !Ø6@Ñ 3ˆDÔ  Ô!3Ð!3Ø Ð Ø"%ˆDÔ Ø Ð Ø"ˆDŒLˆLˆLð Ð rcó<—td|jj›d�¦«‚)abImplement this method in a subclass such that it returns a serializable object for ``o``, or calls the base implementation (to raise a ``TypeError``). For example, to support arbitrary iterators, you could implement default like this:: def default(self, o): try: iterable = iter(o) except TypeError: pass else: return list(iterable) # Let the base class default method raise the TypeError return super().default(o) zObject of type z is not JSON serializable)Ú TypeErrorÚ __class__Ú__name__)r6Úos rr1zJSONEncoder.default¡s1€õ&ð4¨!¬+Ô*>ð4ð4ð4ñ5ô5ð 5rcó$—t|t¦«r%|jrt|¦«St |¦«S| |d¬¦«}t|t tf¦«st |¦«}d |¦«S)z×Return a JSON string representation of a Python data structure. >>> from json.encoder import JSONEncoder >>> JSONEncoder().encode({"foo": ["bar", "baz"]}) '{"foo": ["bar", "baz"]}' T)Ú _one_shotÚ) Ú isinstanceÚstrr+rrÚ iterencodeÚlistÚtupleÚjoin)r6r<Úchunkss rÚencodezJSONEncoder.encode·s…€õ �a�Ñ Ô ð ,ØÔ ð ,Ý.¨qÑ1Ô1Ð1å(¨Ñ+Ô+Ð+ð—’ ¨d�Ñ3Ô3ˆÝ˜&¥4­ -Ñ0Ô0ð "ݘ&‘\”\ˆFØ�wŠw�v‰ŒÐrc ó¤—|jri}nd}|jrt}nt}|jt jtt fd„}|rIt�B|j €;t||j ||j |j |j |j |j|j¦ « }n6t||j ||j ||j |j |j |j|¦ « }||d¦«S)zØEncode the given object and yield each string representation as available. For example:: for chunk in JSONEncoder().iterencode(bigobject): mysocket.write(chunk) Ncó”—||krd}n||krd}n||krd}n ||¦«S|stdt|¦«z¦«‚|S)NÚNaNÚInfinityz -Infinityz2Out of range float values are not JSON compliant: )Ú ValueErrorÚrepr)r<r-Ú_reprÚ_infÚ_neginfÚtexts rÚfloatstrz(JSONEncoder.iterencode..floatstràss€ð �AŠvˆvØ��Ø�d’�Ø!��Ø�g’�Ø"��à�u˜Q‘x”x�àð Ý ØHݘ‘G”GññôððˆKrr)r,r+rrr-ÚfloatÚ__repr__ÚINFINITYÚc_make_encoderr/r1r5r4r.r*Ú_make_iterencode)r6r<r>ÚmarkersÚ_encoderrRÚ _iterencodes rrBzJSONEncoder.iterencodeÍsí€ð Ô ð ØˆGˆGàˆGØ Ô ð )Ý.ˆHˆHå(ˆHà"&¤.Ý”n­8½h¸Yð ð ð ð ð. ð *�.Ð4Ø”KÐ'Ý(ؘœ x°´ØÔ" DÔ$7¸¼Ø” ˜tœ~ñ/ô/ˆKˆKõ +ؘœ x°´¸hØÔ" DÔ$7¸¼Ø” ˜yñ*ô*ˆKðˆ{˜1˜aÑ Ô Ð r)F) r;Ú __module__Ú __qualname__Ú__doc__r4r5r7r1rGrB©rrr)r)Js‰€€€€€ððð8€NØ€MØ#(°tب4¸5Ø D°$ð6#ð6#ð6#ð6#ð6#ðp5ð5ð5ð,ððð,5!ð5!ð5!ð5!ð5!ð5!rr)cóà‡‡‡‡‡‡‡‡‡‡ ‡ ‡ ‡ ‡‡‡‡‡‡‡‡‡—‰�‰‰‰¦«sd‰zŠˆ ˆˆˆˆˆˆˆˆˆ ˆ ˆ ˆˆˆˆˆˆfd„Šˆ ˆˆˆˆˆˆˆˆˆˆˆˆ ˆ ˆ ˆˆˆˆˆˆfd„Šˆ ˆˆˆˆˆˆˆˆ ˆ ˆ ˆˆˆˆˆˆfd„ЉS)Nú c3ó|•K—|sdV—dS‰�‰|¦«}|‰vr ‰ d¦«‚|‰|<d}‰ �|dz }d‰ |zz}‰|z}||z }nd}‰}d}|D]Î}|rd}n|}‰|‰¦«r|‰ |¦«zV—Œ&|€|dzV—Œ0|dur|d zV—Œ<|dur|d zV—ŒH‰|‰¦«r|‰ |¦«zV—Œe‰|‰¦«r|‰ |¦«zV—Œ‚|V—‰|‰‰f¦«r ‰||¦«}n%‰|‰¦«r ‰||¦«}n ‰||¦«}|Ed{V—†ŒÏ|�|dz}d‰ |zzV—d V—‰�‰|=dSdS) Nz[]úCircular reference detectedú[ér TFÚnullÚtrueÚfalseú]r^)ÚlstÚ_current_indent_levelÚmarkeridÚbufÚnewline_indentÚ separatorÚfirstÚvaluerFrLrYÚ _floatstrÚ_indentÚ_intstrÚ_item_separatorrZÚ_iterencode_dictÚ_iterencode_listÚdictrSÚidÚintr@rCrXrArDs €€€€€€€€€€€€€€€€€€rrvz*_make_iterencode.._iterencode_listsƒøèè€Øð ØˆJˆJˆJØ ˆFØ Ð Ø�r˜#‘w”wˆHؘ7Ð"Ð"Ø �jÐ!>Ñ?Ô?Ð?Ø #ˆG�HÑ ØˆØ Ð Ø ! QÑ &Ð !Ø! GÐ.CÑ$CÑCˆNØ'¨.Ñ8ˆIØ �>Ñ !ˆCˆCà!ˆNØ'ˆI؈Øð "ð "ˆEØð Ø��à�؈z˜% Ñ%Ô%ð "ؘH˜H U™OœOÑ+Ð+Ð+Ð+Ð+Ø�ؘF‘lÐ"Ð"Ð"Ð"ؘ$��ؘF‘lÐ"Ð"Ð"Ð"ؘ%��ؘG‘mÐ#Ð#Ð#Ð#Ø�˜E 3Ñ'Ô'ð "ð˜G˜G E™NœNÑ*Ð*Ð*Ð*Ð*Ø�˜E 5Ñ)Ô)ð "à˜I˜I eÑ,Ô,Ñ,Ð,Ð,Ð,Ð,à� � � Ø�:˜e d¨E ]Ñ3Ô3ðGØ-Ð-¨eÐ5JÑKÔK�F�FØ�Z  tÑ,Ô,ðGØ-Ð-¨eÐ5JÑKÔK�F�Fà(˜[¨Ð0EÑFÔF�FØ!Ð!Ð!Ð!Ð!Ð!Ð!Ð!Ð!Ø Ð %Ø ! QÑ &Ð !ؘÐ#8Ñ8Ñ8Ð 8Ð 8Ð 8؈ ˆ ˆ Ø Ð Ø˜Ð!Ð!Ð!ð Ð rc3óЕK—|sdV—dS‰�‰|¦«}|‰vr ‰ d¦«‚|‰|<dV—‰ �|dz }d‰ |zz}‰|z}|V—nd}‰}d}‰r"t| ¦«¦«}n| ¦«}|D�]>\}}‰|‰¦«rnb‰|‰¦«r ‰ |¦«}nJ|durd}nC|durd }n<|€d }n7‰|‰¦«r ‰|¦«}n‰rŒYtd |jj›�¦«‚|rd}n|V—‰ |¦«V—‰V—‰|‰¦«r‰ |¦«V—Œ©|€d V—Œ°|durdV—Œ¹|durd V—ŒÂ‰|‰¦«r‰|¦«V—ŒÜ‰|‰¦«r‰ |¦«V—Œö‰|‰‰f¦«r ‰||¦«} n%‰|‰¦«r ‰||¦«} n ‰||¦«} | Ed{V—†�Œ@|�|dz}d‰ |zzV—d V—‰�‰|=dSdS) Nz{}rbú{rdr TrfFrgrez0keys must be str, int, float, bool or None, not ú})ÚsortedÚitemsr9r:r;)Údctrjrkrmr4ror~ÚkeyrprFrLrYrqrrrsrtrZrurvÚ_key_separatorÚ _skipkeysÚ _sort_keysrwrSrxryr@rCrXrArDs €€€€€€€€€€€€€€€€€€€€€rruz*_make_iterencode.._iterencode_dictNsxøèè€Øð ØˆJˆJˆJØ ˆFØ Ð Ø�r˜#‘w”wˆHؘ7Ð"Ð"Ø �jÐ!>Ñ?Ô?Ð?Ø #ˆG�HÑ Øˆ ˆ ˆ Ø Ð Ø ! QÑ &Ð !Ø! GÐ.CÑ$CÑCˆNØ,¨~Ñ=ˆNØ Ð Ð Ð Ð à!ˆNØ,ˆNØˆØ ð ݘ3Ÿ9š9™;œ;Ñ'Ô'ˆEˆEà—I’I‘K”KˆEØð1 "ñ1 "‰JˆC�؈z˜#˜sÑ#Ô#ð AØð�˜C Ñ'Ô'ð Aà�i ‘n”n��ؘ��Ø��ؘ��Ø��Ø�Ø��Ø�˜C Ñ%Ô%ð Aà�g˜c‘l”l��Øð AØåð!@Ø'*¤}Ô'=ð!@ð!@ñAôAðAàð %Ø��à$Ð$Ð$Ð$Ø�(˜3‘-”-Ð Ð Ð Ø Ð Ð Ð Øˆz˜% Ñ%Ô%ð "Ø�h˜u‘o”oÐ%Ð%Ð%Ð%Ø�Ø� � � � ؘ$��Ø� � � � ؘ%��Ø� � � � Ø�˜E 3Ñ'Ô'ð "à�g˜e‘n”nÐ$Ð$Ð$Ð$Ø�˜E 5Ñ)Ô)ð "à�i Ñ&Ô&Ð&Ð&Ð&Ð&à�:˜e d¨E ]Ñ3Ô3ðGØ-Ð-¨eÐ5JÑKÔK�F�FØ�Z  tÑ,Ô,ðGØ-Ð-¨eÐ5JÑKÔK�F�Fà(˜[¨Ð0EÑFÔF�FØ!Ð!Ð!Ð!Ð!Ð!Ð!Ð!Ñ!Ø Ð %Ø ! QÑ &Ð !ؘÐ#8Ñ8Ñ8Ð 8Ð 8Ð 8؈ ˆ ˆ Ø Ð Ø˜Ð!Ð!Ð!ð Ð rc3óô•K—‰|‰¦«r‰|¦«V—dS|€dV—dS|durdV—dS|durdV—dS‰|‰¦«r‰|¦«V—dS‰|‰ ¦«r‰|¦«V—dS‰|‰‰f¦«r‰ ||¦«Ed{V—†dS‰|‰ ¦«r‰ ||¦«Ed{V—†dS‰�‰ |¦«}|‰vr ‰d¦«‚|‰|<‰|¦«}‰||¦«Ed{V—†‰�‰|=dSdS)NreTrfFrgrbr^)r<rjrkrLÚ_defaultrYrqrsrZrurvrwrSrxryr@rCrXrArDs €€€€€€€€€€€€€€€€€rrZz%_make_iterencode.._iterencodežsÚøèè€Ø ˆ:�a˜Ñ Ô ð &Ø�(˜1‘+”+Ð Ð Ð Ð Ð Ø ˆY؈LˆLˆLˆLˆLØ �$ˆYˆY؈LˆLˆLˆLˆLØ �%ˆZˆZ؈MˆMˆMˆMˆMØ ˆZ˜˜3Ñ Ô ð &à�'˜!‘*”*Ð Ð Ð Ð Ð Ø ˆZ˜˜5Ñ !Ô !ð &à�)˜A‘,”,Ð Ð Ð Ð Ð Ø ˆZ˜˜D %˜=Ñ )Ô )ð &Ø'Ð'¨Ð+@ÑAÔAÐ AÐ AÐ AÐ AÐ AÐ AÐ AÐ AÐ AØ ˆZ˜˜4Ñ Ô ð &Ø'Ð'¨Ð+@ÑAÔAÐ AÐ AÐ AÐ AÐ AÐ AÐ AÐ AÐ AàÐ"ؘ2˜a™5œ5�ؘwÐ&Ð&Ø$˜*Ð%BÑCÔCÐCØ$%�˜Ñ!Ø�˜‘ ” ˆAØ"�{ 1Ð&;Ñ<Ô<Ð <Ð <Ð <Ð <Ð <Ð <Ð <ØÐ"ؘHÐ%Ð%Ð%ð#Ð"rr^)rXr…rYrrrqr�rtrƒr‚r>rLrwrSrxryr@rCrArDrsrZrurvs````````` ``````````@@@rrWrWs±øøøøøøøøøøøøøøøøøøøøøø€ðР: :¨g°sÑ#;Ô#;ÐØ˜‘-ˆð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ð6"ðpN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ðN"ð`&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð&ð: Ðr)$r]ÚreÚ_jsonrÚc_encode_basestring_asciiÚ ImportErrorrÚc_encode_basestringrrVÚcompilerr&ÚHAS_UTF8rÚrangeÚiÚ setdefaultÚchrr"rSrUrr'Úobjectr)rLrwrxryr@rCrArDrTrWr^rrúr’s=ðððà € € € ð%ØJÐJÐJÐJÐJÐJÐJøØð%ð%ð%Ø $ÐÐÐð%øøøðØ>Ð>Ð>Ð>Ð>Ð>Ð>øØðððØÐÐÐðøøøðØ4Ð4Ð4Ð4Ð4Ð4Ð4øØðððØ€N€N€Nðøøøð ˆŒÐ/Ñ 0Ô 0€ØˆrŒzÐ,Ñ-Ô-€ Ø ˆ2Œ:�nÑ %Ô %€à Ø Ø Ø Ø Ø Ø ðð€ 𠈈t‰Œð:ð:€AØ×Ò˜#˜#˜a™&œ& ,×"5Ò"5°aÑ"8Ô"8Ñ9Ô9Ð9Ð9àà ˆ5�‰<Œ<€ð.ð.ð.ð)Ð@Ð,@Ðð4ð4ð4ð.Ð;Ð!;ððx!ðx!ðx!ðx!ðx!�&ñx!ôx!ðx!ðzØ ØØ Ø ØØ Ø ØØ” ðwðwðwðwðwðws'ˆ�˜�$¤.­.²9¹AÁA