PK!X_bootlocale.pyca Yӱ1бL@sxdZddlZddlZejdr,d ddZnHz ejWn2eyheedrZd ddZn d d dZYn 0dd dZdS)zA minimal subset of the locale module used at interpreter startup (imported by the _io module), in order to reduce startup time. Don't import directly from third-party code; use the `locale` module instead! NwinTcCstjjr dStdS)NUTF-8)sysflags utf8_mode_locale_getdefaultlocale do_setlocaler ;/usr/local/cpython-exe-builder/lib/python3.9/_bootlocale.pygetpreferredencoding srgetandroidapilevelcCsdS)Nrr r r r r rscCstjjr dSddl}||S)Nrr)rrrlocaler)r rr r r rscCs6|rJtjjrdSttj}|s2tjdkr2d}|S)Nrdarwin)rrrr nl_langinfoCODESETplatform)r resultr r r r!s )T)T)T)T) __doc__rrr startswithrrAttributeErrorhasattrr r r r s      PK!᫦B | |_collections_abc.pyca @sdZddlmZmZddlZeeeZedZ ddZ ee Z [ gdZ dZ eed ZeeeZeeiZeeiZeeiZeegZeeegZeeedZeeed d >ZeeeZeed Z eed Z!eee"Z#eiZ$eiZ%eiZ&eej'Z(eddZ)ddZ*e*Z*ee*Z+e*,[*ddZ-e-Z-ee-Z.[-ddZ/GdddedZ0GdddedZ1Gddde1Z2e23e+GdddedZ4Gdd d e4Z5Gd!d"d"e5Z6e63e.Gd#d$d$edZ7Gd%d&d&e7Z8e83ee83ee83ee83ee83ee83ee83ee83ee83ee83ee83e e83e!e83e#Gd'd(d(e7Z9Gd)d*d*e8Z:e:3e)Gd+d,d,edZ;Gd-d.d.edZd3d4Z?Gd5d6d6edZ@Gd7d8d8e=ZAeA3eBGd9d:d:eAZCeC3eGd;d<dd>e;ZEGd?d@d@eEeAZFeF3e$GdAdBdBeEeAZGeG3e&GdCdDdDeEe=ZHeH3e%GdEdFdFeDZIeI3eJGdGdHdHe9e=ZKeK3eLeK3eMeK3eeK3eNGdIdJdJeKZOeO3ePeO3eGdKdLdLeKZQeQ3eeQ3edS)MzjAbstract Base Classes (ABCs) for collections, according to PEP 3119. Unit tests are in test_collections. )ABCMetaabstractmethodN.cCsdSNrrr@/usr/local/cpython-exe-builder/lib/python3.9/_collections_abc.py_fr) Awaitable Coroutine AsyncIterable AsyncIteratorAsyncGeneratorHashableIterableIterator Generator ReversibleSized ContainerCallable CollectionSet MutableSetMappingMutableMapping MappingViewKeysView ItemsView ValuesViewSequenceMutableSequence ByteStringzcollections.abcrirccsdVSrrrrrr>rr$csdSrrrrrr_coro@rr%cCs dVdSrrrrrr_agFrr&cGsN|j}|D]>}|D],}||jvr|j|dur:tSq qtSq dS)NT)__mro____dict__NotImplemented)CmethodsmromethodBrrr_check_methodsNs   r/c@s(eZdZdZeddZeddZdS)rrcCsdSNrrselfrrr__hash__^szHashable.__hash__cCs|turt|dStS)Nr3)rr/r)clsr*rrr__subclasshook__bs zHashable.__subclasshook__N)__name__ __module__ __qualname__ __slots__rr3 classmethodr6rrrrrZs  r) metaclassc@s0eZdZdZeddZeddZeeZ dS)r rccs dVdSrrr1rrr __await__mszAwaitable.__await__cCs|turt|dStS)Nr=)r r/r)r4rrrr6qs zAwaitable.__subclasshook__N) r7r8r9r:rr=r;r6 GenericAlias__class_getitem__rrrrr is   r c@s>eZdZdZeddZed ddZddZed d Z dS) r rcCstdS)zcSend a value into the coroutine. Return next yielded value or raise StopIteration. N StopIterationr2valuerrrsend~szCoroutine.sendNcCs4|dur|dur||}|dur,||}|dS)zgRaise an exception in the coroutine. Return next yielded value or raise StopIteration. Nwith_tracebackr2typvaltbrrrthrows zCoroutine.throwc Cs2z|tWnttfy$Yn 0tddS).Raise GeneratorExit inside coroutine. zcoroutine ignored GeneratorExitNrK GeneratorExitrA RuntimeErrorr1rrrcloses zCoroutine.closecCs|turt|ddddStS)Nr=rDrKrP)r r/r)r4rrrr6szCoroutine.__subclasshook__)NN) r7r8r9r:rrDrKrPr;r6rrrrr zs   r c@s0eZdZdZeddZeddZeeZ dS)r rcCstSr)r r1rrr __aiter__szAsyncIterable.__aiter__cCs|turt|dStS)NrQ)r r/r)r4rrrr6s zAsyncIterable.__subclasshook__N) r7r8r9r:rrQr;r6r>r?rrrrr s   r c@s0eZdZdZeddZddZeddZdS) r rcstdS)z@Return the next item or raise StopAsyncIteration when exhausted.NStopAsyncIterationr1rrr __anext__szAsyncIterator.__anext__cCs|Srrr1rrrrQszAsyncIterator.__aiter__cCs|turt|ddStS)NrTrQ)r r/r)r4rrrr6s zAsyncIterator.__subclasshook__N) r7r8r9r:rrTrQr;r6rrrrr s  r c@sFeZdZdZddZeddZed ddZd d Ze d d Z dS)r rcs|dIdHS)zpReturn the next item from the asynchronous generator. When exhausted, raise StopAsyncIteration. N)asendr1rrrrTszAsyncGenerator.__anext__cstdS)zuSend a value into the asynchronous generator. Return next yielded value or raise StopAsyncIteration. NrRrBrrrrUszAsyncGenerator.asendNcs4|dur|dur||}|dur,||}|dS)zyRaise an exception in the asynchronous generator. Return next yielded value or raise StopAsyncIteration. NrErGrrrathrows zAsyncGenerator.athrowc s8z|tIdHWnttfy*Yn 0tddS)rLNz,asynchronous generator ignored GeneratorExit)rVrNrSrOr1rrracloses zAsyncGenerator.aclosecCs|turt|dddddStS)NrQrTrUrVrW)r r/r)r4rrrr6s zAsyncGenerator.__subclasshook__)NN) r7r8r9r:rTrrUrVrWr;r6rrrrr s   r c@s0eZdZdZeddZeddZeeZ dS)rrccsdSrrr1rrr__iter__szIterable.__iter__cCs|turt|dStS)NrX)rr/r)r4rrrr6s zIterable.__subclasshook__N) r7r8r9r:rrXr;r6r>r?rrrrrs   rc@s0eZdZdZeddZddZeddZdS) rrcCstdS)zKReturn the next item from the iterator. When exhausted, raise StopIterationNr@r1rrr__next__szIterator.__next__cCs|Srrr1rrrrXszIterator.__iter__cCs|turt|ddStS)NrXrY)rr/r)r4rrrr6s zIterator.__subclasshook__N) r7r8r9r:rrYrXr;r6rrrrrs  rc@s(eZdZdZeddZeddZdS)rrccsdSrrr1rrr __reversed__6szReversible.__reversed__cCs|turt|ddStS)NrZrX)rr/r)r4rrrr6;s zReversible.__subclasshook__N)r7r8r9r:rrZr;r6rrrrr2s  rc@sFeZdZdZddZeddZed ddZd d Ze d d Z dS)rrcCs |dS)z^Return the next item from the generator. When exhausted, raise StopIteration. N)rDr1rrrrYFszGenerator.__next__cCstdS)zcSend a value into the generator. Return next yielded value or raise StopIteration. Nr@rBrrrrDLszGenerator.sendNcCs4|dur|dur||}|dur,||}|dS)zgRaise an exception in the generator. Return next yielded value or raise StopIteration. NrErGrrrrKSs zGenerator.throwc Cs2z|tWnttfy$Yn 0tddS)z.Raise GeneratorExit inside generator. zgenerator ignored GeneratorExitNrMr1rrrrP`s zGenerator.closecCs|turt|dddddStS)NrXrYrDrKrP)rr/r)r4rrrr6js zGenerator.__subclasshook__)NN) r7r8r9r:rYrrDrKrPr;r6rrrrrBs   rc@s(eZdZdZeddZeddZdS)rrcCsdSr0rr1rrr__len__ysz Sized.__len__cCs|turt|dStS)Nr[)rr/r)r4rrrr6}s zSized.__subclasshook__N)r7r8r9r:rr[r;r6rrrrrus  rc@s0eZdZdZeddZeddZeeZ dS)rrcCsdSNFr)r2xrrr __contains__szContainer.__contains__cCs|turt|dStS)Nr^)rr/r)r4rrrr6s zContainer.__subclasshook__N) r7r8r9r:rr^r;r6r>r?rrrrrs   rc@seZdZdZeddZdS)rrcCs|turt|dddStS)Nr[rXr^)rr/r)r4rrrr6szCollection.__subclasshook__N)r7r8r9r:r;r6rrrrrsrcsPeZdZdZdZddZefddZfddZd d Z fd d Z Z S) _CallableGenericAliasz Represent `Callable[argtypes, resulttype]`. This sets ``__args__`` to a tuple containing the flattened``argtypes`` followed by ``resulttype``. Example: ``Callable[[int, str], float]`` sets ``__args__`` to ``(int, str, float)``. rc Cs`z|||WStyZ}z4ddl}|t|dtt||WYd}~Sd}~00dS)Nrz. (This will raise a TypeError in Python 3.10.)) _CallableGenericAlias__create_ga TypeErrorwarningswarnstrDeprecationWarningr>)r5originargsexcrbrrr__new__sz_CallableGenericAlias.__new__csXt|trt|dkrtd|\}}t|ttfrDt||f}n|}t|||S)Nz6Callable must be used as Callable[[arg, ...], result].) isinstancetuplelenralistsuperri)r5rfrgt_argst_resultga_args __class__rr __create_gasz!_CallableGenericAlias.__create_gacs\t|jdkr&|jdtur&tSdddd|jddDdt|jdd S) Nrjrzcollections.abc.Callable[[z, cSsg|] }t|qSr) _type_repr).0arrr rz2_CallableGenericAlias.__repr__..z], ])rm__args__Ellipsisro__repr__joinrvr1rsrrr~s  z_CallableGenericAlias.__repr__cCsB|j}t|dkr|dtus6t|dd|df}tt|ffS)Nrjrrz)r|rmr}rnr_r)r2rgrrr __reduce__sz _CallableGenericAlias.__reduce__cs8t|}|j}|d}|dd}||f}tt|S)Nrz)ro __getitem__r|r_r)r2itemgargrqrprsrrrs   z!_CallableGenericAlias.__getitem__) r7r8r9__doc__r:rir;r`r~rr __classcell__rrrsrr_s   r_cCsbt|trt|St|tr>|jdkr,|jS|jd|jS|turJdSt|trZ|jSt|S)zReturn the repr() of an object, special-casing types (internal helper). Copied from :mod:`typing` since collections.abc shouldn't depend on that module. builtins.z...) rkr>reprtyper8r9r} FunctionTyper7)objrrrrvs    rvc@s0eZdZdZeddZeddZeeZ dS)rrcOsdSr\r)r2rgkwdsrrr__call__szCallable.__call__cCs|turt|dStS)Nr)rr/r)r4rrrr6s zCallable.__subclasshook__N) r7r8r9r:rrr;r6r_r?rrrrrs   rc@seZdZdZdZddZddZddZd d Zd d Z e d dZ ddZ e Z ddZddZeZddZddZddZeZddZdS)raZA set is a finite, iterable container. This class provides concrete generic implementations of all methods except for __contains__, __iter__ and __len__. To override the comparisons (presumably for speed, as the semantics are fixed), redefine __le__ and __ge__, then the other operations will automatically follow suit. rcCs>t|tstSt|t|kr"dS|D]}||vr&dSq&dSNFTrkrr)rmr2otherelemrrr__le__s z Set.__le__cCs(t|tstSt|t|ko&||Srrkrr)rmrr2rrrr__lt__s z Set.__lt__cCs(t|tstSt|t|ko&||Sr)rkrr)rm__ge__rrrr__gt__!s z Set.__gt__cCs>t|tstSt|t|kr"dS|D]}||vr&dSq&dSrrrrrrr&s z Set.__ge__cCs(t|tstSt|t|ko&||Srrrrrr__eq__0s z Set.__eq__cCs||S)zConstruct an instance of the class from any iterable input. Must override this method if the class constructor signature does not accept an iterable for an input. rr5itrrr_from_iterable5szSet._from_iterablecs&t|tstSfdd|DS)Nc3s|]}|vr|VqdSrrrwrCr1rr ArzSet.__and__..rkrr)rrrr1r__and__>s z Set.__and__cCs|D]}||vrdSqdS)z1Return True if two sets have a null intersection.FTr)r2rrCrrr isdisjointEszSet.isdisjointcCs*t|tstSdd||fD}||S)Ncss|]}|D] }|Vq qdSrr)rwserrrrOrzSet.__or__..r)r2rchainrrr__or__Ls z Set.__or__cs:tts"ttstS||fdd|DS)Nc3s|]}|vr|VqdSrrrrrrrYszSet.__sub__..rkrrr)rrrrr__sub__Ts    z Set.__sub__cs:t|ts"t|tstS|}fdd|DS)Nc3s|]}|vr|VqdSrrrr1rrraszSet.__rsub__..rrrr1r__rsub__\s    z Set.__rsub__cCs2t|ts"t|tstS||}||||BSrrrrrr__xor__ds    z Set.__xor__cCstj}d|d}t|}d|d}||M}|D],}t|}|||d>AdAdN}||M}q2||d?|d?AN}|d d }||M}||kr||d8}|d krd }|S) a+Compute the hash value of a set. Note that we don't define __hash__: not all sets are hashable. But if you define a hashable set type, its __hash__ should call this function. This must be compatible __eq__. All sets ought to compare equal if they contain the same elements, regardless of how they are implemented, and regardless of the order of the elements; so there's not much freedom for __eq__ or __hash__. We match the algorithm used by the built-in frozenset type. rjr"iMriM[l4~2 i i6rzi8#)sysmaxsizermhash)r2MAXMASKnhr]hxrrr_hashms"     z Set._hashN)r7r8r9rr:rrrrrr;rr__rand__rr__ror__rrr__rxor__rrrrrrs&    rc@sdeZdZdZdZeddZeddZddZd d Z d d Z d dZ ddZ ddZ ddZdS)raA mutable set is a finite, iterable container. This class provides concrete generic implementations of all methods except for __contains__, __iter__, __len__, add(), and discard(). To override the comparisons (presumably for speed, as the semantics are fixed), all you have to do is redefine __le__ and then the other operations will automatically follow suit. rcCstdS)zAdd an element.NNotImplementedErrorrBrrraddszMutableSet.addcCstdS)z8Remove an element. Do not raise an exception if absent.NrrBrrrdiscardszMutableSet.discardcCs||vrt|||dS)z5Remove an element. If not a member, raise a KeyError.N)KeyErrorrrBrrrremoveszMutableSet.removecCs<t|}z t|}Wnty,tdYn0|||S)z2Return the popped value. Raise KeyError if empty.N)iternextrArrr2rrCrrrpops    zMutableSet.popcCs&z|qWnty Yn0dS)z6This is slow (creates N new iterators!) but effective.N)rrr1rrrclears zMutableSet.clearcCs|D]}||q|Sr)rrrrr__ior__s zMutableSet.__ior__cCs||D]}||q|Sr)rrrrr__iand__s  zMutableSet.__iand__cCsR||ur|n D[k] if k in D, else d. d defaults to None.Nrr2rdefaultrrrgets  z Mapping.getcCs*z ||Wnty YdS0dSdSrrrrrrr^s   zMapping.__contains__cCst|S)z:D.keys() -> a set-like object providing a view on D's keys)rr1rrrkeyssz Mapping.keyscCst|S)z a set-like object providing a view on D's items)rr1rrritems sz Mapping.itemscCst|S)z6D.values() -> an object providing a view on D's values)rr1rrrvaluesszMapping.valuescCs&t|tstSt|t|kSr)rkrr)dictrrrrrrs zMapping.__eq__)N) r7r8r9r:rrrr^rrrrrZrrrrrs   rc@s0eZdZdZddZddZddZeeZ dS) r_mappingcCs ||_dSrr)r2mappingrrr__init__"szMappingView.__init__cCs t|jSr)rmrr1rrrr[%szMappingView.__len__cCs d|S)Nz&{0.__class__.__name__}({0._mapping!r}))formatr1rrrr~(szMappingView.__repr__N) r7r8r9r:rr[r~r;r>r?rrrrrs rc@s,eZdZdZeddZddZddZdS) rrcCst|Srsetrrrrr2szKeysView._from_iterablecCs ||jvSrrrrrrr^6szKeysView.__contains__ccs|jEdHdSrrr1rrrrX9szKeysView.__iter__Nr7r8r9r:r;rr^rXrrrrr.s  rc@s,eZdZdZeddZddZddZdS) rrcCst|SrrrrrrrDszItemsView._from_iterablecCs@|\}}z|j|}Wnty*YdS0||up:||kSdSr\)rr)r2rrrCvrrrr^Hs  zItemsView.__contains__ccs |jD]}||j|fVqdSrrrrrrrXQs zItemsView.__iter__Nrrrrrr@s   rc@s eZdZdZddZddZdS)rrcCs0|jD]$}|j|}||us$||krdSqdSNTFr)r2rCrrrrrr^]s   zValuesView.__contains__ccs|jD]}|j|VqdSrrrrrrrXds zValuesView.__iter__N)r7r8r9r:r^rXrrrrrYsrc@s^eZdZdZeddZeddZeZefddZ dd Z d d Z dd d Z dddZ dS)rrcCstdSrrr2rrCrrr __setitem__yszMutableMapping.__setitem__cCstdSrrrrrr __delitem__}szMutableMapping.__delitem__cCs>z ||}Wn"ty.||jur&|YS0||=|SdS)zD.pop(k[,d]) -> v, remove specified key and return the corresponding value. If key is not found, d is returned if given, otherwise KeyError is raised. N)r_MutableMapping__marker)r2rrrCrrrrs    zMutableMapping.popcCs@ztt|}Wnty(tdYn0||}||=||fS)zD.popitem() -> (k, v), remove and return some (key, value) pair as a 2-tuple; but raise KeyError if D is empty. N)rrrArrrrrpopitems  zMutableMapping.popitemcCs&z|qWnty Yn0dS)z,D.clear() -> None. Remove all items from D.N)rrr1rrrrs zMutableMapping.clearcKs|t|tr"|D]}||||<qn None. Update D from mapping/iterable E and F. If E present and has a .keys() method, does: for k in E: D[k] = E[k] If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k, v in F.items(): D[k] = v rN)rkrhasattrrr)r2rrrrCrrrupdates     zMutableMapping.updateNcCs*z ||WSty$|||<Yn0|S)z@D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in Drrrrr setdefaults   zMutableMapping.setdefault)r)N)r7r8r9r:rrrobjectrrrrrrrrrrrls      rc@sJeZdZdZdZeddZddZddZd d Z dd dZ ddZ d S)rzAll the operations on a read-only sequence. Concrete subclasses must override __new__ or __init__, __getitem__, and __len__. rcCstdSr IndexErrorr2indexrrrrszSequence.__getitem__ccs:d}z||}|V|d7}qWnty4YdS0dS)Nrr"r)r2irrrrrXs zSequence.__iter__cCs$|D]}||us||krdSqdSrr)r2rCrrrrr^szSequence.__contains__ccs$ttt|D]}||VqdSr)reversedrangerm)r2rrrrrZszSequence.__reversed__rNcCs|dur"|dkr"tt||d}|dur>|dkr>|t|7}|}|dusR||krz"||}||usl||krr|WSWntyYqYn0|d7}qBtdS)zS.index(value, [start, [stop]]) -> integer -- return first index of value. Raises ValueError if the value is not present. Supporting start and stop arguments is optional, but recommended. Nrr")maxrmr ValueError)r2rCstartstoprrrrrrs     zSequence.indexcstfdd|DS)zBS.count(value) -> integer -- return number of occurrences of valuec3s"|]}|us|krdVqdS)r"Nr)rwrrCrrrrz!Sequence.count..)sumrBrrrcountszSequence.count)rN) r7r8r9rr:rrrXr^rZrrrrrrrs   rc@seZdZdZdZdS)r!zMThis unifies bytes and bytearray. XXX Should add all their methods. rN)r7r8r9rr:rrrrr! sr!c@sneZdZdZeddZeddZeddZdd Zd d Z d d Z ddZ dddZ ddZ ddZdS)r rcCstdSrrr2rrCrrrr"szMutableSequence.__setitem__cCstdSrrrrrrr&szMutableSequence.__delitem__cCstdS)z3S.insert(index, value) -- insert value before indexNrrrrrinsert*szMutableSequence.insertcCs|t||dS)z:S.append(value) -- append value to the end of the sequenceN)rrmrBrrrappend/szMutableSequence.appendcCs&z|qWnty Yn0dS)z,S.clear() -> None -- remove all items from SN)rrr1rrrr3s zMutableSequence.clearcCsHt|}t|dD].}|||d||||<|||d<qdS)z!S.reverse() -- reverse *IN PLACE*rjr"N)rmr)r2rrrrrreverse;szMutableSequence.reversecCs(||urt|}|D]}||qdS)zMS.extend(iterable) -- extend sequence by appending elements from the iterableN)rnr)r2rrrrrextendAszMutableSequence.extendrzcCs||}||=|S)zS.pop([index]) -> item -- remove and return item at index (default last). Raise IndexError if list is empty or index is out of range. r)r2rrrrrrHszMutableSequence.popcCs|||=dS)zvS.remove(value) -- remove first occurrence of value. Raise ValueError if the value is not present. N)rrBrrrrPszMutableSequence.removecCs|||Sr)r)r2rrrr__iadd__Vs zMutableSequence.__iadd__N)rz)r7r8r9r:rrrrrrrrrrrrrrrr s     r )Rrabcrrrrrnintr> EllipsisTyperr__all__r7rbytes_iterator bytearraybytearray_iteratorrdict_keyiteratorrdict_valueiteratorrdict_itemiterator list_iteratorrlist_reverseiteratorrrange_iteratorlongrange_iteratorr set_iterator str_iteratortuple_iteratorzip zip_iterator dict_keys dict_values dict_itemsr( mappingproxy generatorr% coroutinerPr&async_generatorr/rr r registerr r r rrrrrrrr_rvrr frozensetrrrrrrrrrrlrd memoryviewr!bytesr rrrrs          ) 0              0  = P 3    T >      D PK!(<>;DD_weakrefset.pyca mE@s>ddlmZddlmZdgZGdddZGdddZdS)ref) GenericAliasWeakSetc@s$eZdZddZddZddZdS)_IterationGuardcCst||_dSN)r weakcontainer)selfrr ;/usr/local/cpython-exe-builder/lib/python3.9/_weakrefset.py__init__sz_IterationGuard.__init__cCs |}|dur|j||Sr)r _iteratingadd)r wr r r __enter__s z_IterationGuard.__enter__cCs0|}|dur,|j}|||s,|dSr)rr remove_commit_removals)r etbrsr r r __exit__s  z_IterationGuard.__exit__N)__name__ __module__ __qualname__r rrr r r r r src@s&eZdZd@ddZddZddZdd Zd d Zd d ZddZ ddZ ddZ ddZ ddZ ddZddZddZddZeZd d!Zd"d#Zd$d%ZeZd&d'Zd(d)Zd*d+ZeZd,d-Zd.d/ZeZd0d1Zd2d3Zd4d5Z e Z!d6d7Z"d8d9Z#d:d;Z$e$Z%dd?Z'e(e)Z*dS)ArNcCsBt|_t|fdd}||_g|_t|_|dur>||dS)NcSs2|}|dur.|jr"|j|n |j|dSr)r _pending_removalsappenddatadiscard)itemselfrefr r r r _remove's z!WeakSet.__init__.._remove)setrrr!rr update)r rr!r r r r %szWeakSet.__init__cCs>|jj}|jj}z |}Wnty.YdS0||qdSr)rpoprr IndexError)r r$rrr r r r5s  zWeakSet._commit_removalsccsLt|0|jD]}|}|dur|VqWdn1s>0YdSr)rrr itemrefrr r r __iter__?s   zWeakSet.__iter__cCst|jt|jSr)lenrrr r r r __len__HszWeakSet.__len__cCs,z t|}Wnty YdS0||jvS)NF)r TypeErrorr)r rwrr r r __contains__Ks   zWeakSet.__contains__cCs|jt|ft|ddfS)N__dict__) __class__listgetattrr*r r r __reduce__Rs  zWeakSet.__reduce__cCs&|jr||jt||jdSr)rrrrrr!r rr r r rVsz WeakSet.addcCs|jr||jdSr)rrrclearr*r r r r5[sz WeakSet.clearcCs ||Srr0r*r r r copy`sz WeakSet.copycCsR|jr|z|j}Wnty8tddYn0|}|dur|SqdS)Nzpop from empty WeakSet)rrrr$KeyErrorr&r r r r$cs z WeakSet.popcCs"|jr||jt|dSr)rrrrrr4r r r roszWeakSet.removecCs"|jr||jt|dSr)rrrrrr4r r r rtszWeakSet.discardcCs&|jr||D]}||qdSr)rrr)r otherelementr r r r#yszWeakSet.updatecCs|||Sr)r#r r9r r r __ior__s zWeakSet.__ior__cCs|}|||Sr)r7difference_updater r9newsetr r r differences zWeakSet.differencecCs||dSr)__isub__r;r r r r=szWeakSet.difference_updatecCs<|jr|||ur"|jn|jdd|D|S)Ncss|]}t|VqdSrr.0rr r r z#WeakSet.__isub__..)rrrr5r=r;r r r rAs  zWeakSet.__isub__csfdd|DS)Nc3s|]}|vr|VqdSrr rBr*r r rDrEz'WeakSet.intersection..r6r;r r*r intersectionszWeakSet.intersectioncCs||dSr)__iand__r;r r r intersection_updateszWeakSet.intersection_updatecCs(|jr||jdd|D|S)Ncss|]}t|VqdSrrrBr r r rDrEz#WeakSet.__iand__..)rrrrHr;r r r rGszWeakSet.__iand__cCs|jdd|DS)Ncss|]}t|VqdSrrrBr r r rDrEz#WeakSet.issubset..)rissubsetr;r r r rIszWeakSet.issubsetcCs|jttt|kSrrr"maprr;r r r __lt__szWeakSet.__lt__cCs|jdd|DS)Ncss|]}t|VqdSrrrBr r r rDrEz%WeakSet.issuperset..)r issupersetr;r r r rMszWeakSet.issupersetcCs|jttt|kSrrJr;r r r __gt__szWeakSet.__gt__cCs$t||jstS|jttt|kSr) isinstancer0NotImplementedrr"rKrr;r r r __eq__s zWeakSet.__eq__cCs|}|||Sr)r7symmetric_difference_updater>r r r symmetric_differences zWeakSet.symmetric_differencecCs||dSr)__ixor__r;r r r rRsz#WeakSet.symmetric_difference_updatecs@jr|ur"jnjfdd|DS)Nc3s|]}t|jVqdSr)rr!rBr*r r rDrEz#WeakSet.__ixor__..)rrrr5rRr;r r*r rTs  zWeakSet.__ixor__cCs|dd||fDS)Ncss|]}|D] }|Vq qdSrr )rCrrr r r rDrEz WeakSet.union..r6r;r r r unionsz WeakSet.unioncCst||dkS)Nr)r)rFr;r r r isdisjointszWeakSet.isdisjointcCs t|jSr)reprrr*r r r __repr__szWeakSet.__repr__)N)+rrrr rr(r+r.r3rr5r7r$rrr#r<r@__sub__r=rArF__and__rHrGrI__le__rLrM__ge__rNrQrS__xor__rRrTrU__or__rVrX classmethodr__class_getitem__r r r r r$sL      N)_weakrefrtypesr__all__rrr r r r s  PK!e*abc.pyca \F;i\@sdZddZGdddeZGdddeZGdddeZz,d d lm Z m Z m Z m Z m Z mZmZmZWn(eyd d lmZm Z d e_Yn0Gd ddeZGdddedZdS)z3Abstract Base Classes (ABCs) according to PEP 3119.cCs d|_|S)a<A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A class that has a metaclass derived from ABCMeta cannot be instantiated unless all of its abstract methods are overridden. The abstract methods can be called using any of the normal 'super' call mechanisms. abstractmethod() may be used to declare abstract methods for properties and descriptors. Usage: class C(metaclass=ABCMeta): @abstractmethod def my_abstract_method(self, ...): ... T)__isabstractmethod__)funcobjr3/usr/local/cpython-exe-builder/lib/python3.9/abc.pyabstractmethodsrcs$eZdZdZdZfddZZS)abstractclassmethodaA decorator indicating abstract classmethods. Deprecated, use 'classmethod' with 'abstractmethod' instead: class C(ABC): @classmethod @abstractmethod def my_abstract_classmethod(cls, ...): ... Tcsd|_t|dSNTrsuper__init__selfcallable __class__rrr +szabstractclassmethod.__init____name__ __module__ __qualname____doc__rr __classcell__rrrrrs rcs$eZdZdZdZfddZZS)abstractstaticmethodaA decorator indicating abstract staticmethods. Deprecated, use 'staticmethod' with 'abstractmethod' instead: class C(ABC): @staticmethod @abstractmethod def my_abstract_staticmethod(...): ... Tcsd|_t|dSrrr rrrr ?szabstractstaticmethod.__init__rrrrrr0s rc@seZdZdZdZdS)abstractpropertyzA decorator indicating abstract properties. Deprecated, use 'property' with 'abstractmethod' instead: class C(ABC): @property @abstractmethod def my_abstract_property(self): ... TN)rrrrrrrrrrDs r)get_cache_token _abc_init _abc_register_abc_instancecheck_abc_subclasscheck _get_dump_reset_registry _reset_caches)ABCMetarabccsReZdZdZfddZddZddZdd Zdd d Zd dZ ddZ Z S)r!aMetaclass for defining Abstract Base Classes (ABCs). Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as 'virtual subclasses' -- these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won't show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()). c s&tj||||fi|}t||S)N)r __new__r)mclsnamebases namespacekwargsclsrrrr#iszABCMeta.__new__cCs t||S)z{Register a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator. )rr)subclassrrrregisternszABCMeta.registercCs t||S)z'Override for isinstance(instance, cls).)r)r)instancerrr__instancecheck__uszABCMeta.__instancecheck__cCs t||S)z'Override for issubclass(subclass, cls).)rr*rrr__subclasscheck__yszABCMeta.__subclasscheck__NcCstd|jd|j|dtdt|dt|\}}}}td||dtd||dtd||dtd||dd S) z'Debug helper to print the ABC registry.zClass: .)filezInv. counter: z_abc_registry: z _abc_cache: z_abc_negative_cache: z_abc_negative_cache_version: N)printrrrr)r)r1 _abc_registry _abc_cache_abc_negative_cache_abc_negative_cache_versionrrr_dump_registry}s zABCMeta._dump_registrycCs t|dS)z.Clear the registry (for debugging or testing).N)rr)rrr_abc_registry_clearszABCMeta._abc_registry_clearcCs t|dS)z,Clear the caches (for debugging or testing).N)r r8rrr_abc_caches_clearszABCMeta._abc_caches_clear)N) rrrrr#r,r.r/r7r9r:rrrrrr!\s  r!c@seZdZdZdZdS)ABCzVHelper class that provides a standard way to create an ABC using inheritance. rN)rrrr __slots__rrrrr;sr;) metaclassN)rr classmethodr staticmethodrpropertyr_abcrrrrrrrr ImportError_py_abcr!rtyper;rrrrs,  6PK!L1yxx codecs.pyca v6}o @sNdZddlZddlZz ddlTWn0eyPZzedeWYdZ[n dZ[00gdZdZdZ Z dZ Z d Z d Zejd kre ZZe Zn e ZZeZe Ze Ze ZeZGd d d eZGdddZGdddeZGdddeZGdddeZGdddeZGdddeZGdddeZ GdddZ!GdddZ"dCd#d$Z#dDd%d&Z$d'd(Z%d)d*Z&d+d,Z'd-d.Z(d/d0Z)d1d2Z*dEd3d4Z+dFd5d6Z,d7d8Z-d9d:Z.z4e/d!Z0e/d;Z1e/d<Z2e/d=Z3e/d>Z4e/d?Z5Wn,e6y dZ0dZ1dZ2dZ3dZ4dZ5Yn0dZ7e7r ddl8Z8e9d@krJe$ej:dAdBe_:e$ej;dBdAe_;dS)Gz codecs -- Python Codec Registry, API and helpers. Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. N)*z%Failed to load the builtin codecs: %s),registerlookupopen EncodedFileBOMBOM_BEBOM_LEBOM32_BEBOM32_LEBOM64_BEBOM64_LEBOM_UTF8 BOM_UTF16 BOM_UTF16_LE BOM_UTF16_BE BOM_UTF32 BOM_UTF32_LE BOM_UTF32_BE CodecInfoCodecIncrementalEncoderIncrementalDecoder StreamReader StreamWriterStreamReaderWriter StreamRecoder getencoder getdecodergetincrementalencodergetincrementaldecoder getreader getwriterencodedecode iterencode iterdecode strict_errors ignore_errorsreplace_errorsxmlcharrefreplace_errorsbackslashreplace_errorsnamereplace_errorsregister_error lookup_errorssssslittlec@s,eZdZdZdZd ddddZddZdS) rz0Codec details when looking up the codec registryTN)_is_text_encodingc CsPt|||||f} || _|| _|| _|| _|| _|| _|| _|durL|| _ | SN) tuple__new__namer#r$incrementalencoderincrementaldecoder streamwriter streamreaderr0) clsr#r$r8r7r5r6r4r0selfr;6/usr/local/cpython-exe-builder/lib/python3.9/codecs.pyr3^szCodecInfo.__new__cCsd|jj|jj|jt|fS)Nz%<%s.%s object for encoding %s at %#x>) __class__ __module__ __qualname__r4idr:r;r;r<__repr__ms   zCodecInfo.__repr__)NNNNN)__name__r>r?__doc__r0r3rBr;r;r;r<rSs rc@s$eZdZdZdddZd ddZdS) ra9 Defines the interface for stateless encoders/decoders. The .encode()/.decode() methods may use different error handling schemes by providing the errors argument. These string values are predefined: 'strict' - raise a ValueError error (or a subclass) 'ignore' - ignore the character and continue with the next 'replace' - replace with a suitable replacement character; Python will use the official U+FFFD REPLACEMENT CHARACTER for the builtin Unicode codecs on decoding and '?' on encoding. 'surrogateescape' - replace with private code points U+DCnn. 'xmlcharrefreplace' - Replace with the appropriate XML character reference (only for encoding). 'backslashreplace' - Replace with backslashed escape sequences. 'namereplace' - Replace with \N{...} escape sequences (only for encoding). The set of allowed values can be extended via register_error. strictcCstdS)a# Encodes the object input and returns a tuple (output object, length consumed). errors defines the error handling to apply. It defaults to 'strict' handling. The method may not store state in the Codec instance. Use StreamWriter for codecs which have to keep state in order to make encoding efficient. The encoder must be able to handle zero length input and return an empty object of the output object type in this situation. NNotImplementedErrorr:inputerrorsr;r;r<r#sz Codec.encodecCstdS)a Decodes the object input and returns a tuple (output object, length consumed). input must be an object which provides the bf_getreadbuf buffer slot. Python strings, buffer objects and memory mapped files are examples of objects providing this slot. errors defines the error handling to apply. It defaults to 'strict' handling. The method may not store state in the Codec instance. Use StreamReader for codecs which have to keep state in order to make decoding efficient. The decoder must be able to handle zero length input and return an empty object of the output object type in this situation. NrFrHr;r;r<r$sz Codec.decodeN)rE)rE)rCr>r?rDr#r$r;r;r;r<rrs rc@s<eZdZdZdddZdddZdd Zd d Zd d ZdS)rz An IncrementalEncoder encodes an input in multiple steps. The input can be passed piece by piece to the encode() method. The IncrementalEncoder remembers the state of the encoding process between calls to encode(). rEcCs||_d|_dS)z Creates an IncrementalEncoder instance. The IncrementalEncoder may use different error handling schemes by providing the errors keyword argument. See the module docstring for a list of possible values. N)rJbufferr:rJr;r;r<__init__szIncrementalEncoder.__init__FcCstdS)zA Encodes input and returns the resulting object. NrFr:rIfinalr;r;r<r#szIncrementalEncoder.encodecCsdS)z: Resets the encoder to the initial state. Nr;rAr;r;r<resetszIncrementalEncoder.resetcCsdS)z: Return the current state of the encoder. rr;rAr;r;r<getstateszIncrementalEncoder.getstatecCsdS)zl Set the current state of the encoder. state must have been returned by getstate(). Nr;r:stater;r;r<setstateszIncrementalEncoder.setstateN)rE)F) rCr>r?rDrNr#rQrRrUr;r;r;r<rs  rc@sDeZdZdZdddZddZddd Zd d Zd d ZddZ dS)BufferedIncrementalEncoderz This subclass of IncrementalEncoder can be used as the baseclass for an incremental encoder if the encoder must keep some of the output in a buffer between calls to encode(). rEcCst||d|_dSNrK)rrNrLrMr;r;r<rNs z#BufferedIncrementalEncoder.__init__cCstdSr1rFr:rIrJrPr;r;r<_buffer_encodesz)BufferedIncrementalEncoder._buffer_encodeFcCs0|j|}|||j|\}}||d|_|Sr1)rLrYrJr:rIrPdataresultconsumedr;r;r<r#s z!BufferedIncrementalEncoder.encodecCst|d|_dSrW)rrQrLrAr;r;r<rQs z BufferedIncrementalEncoder.resetcCs |jpdSNrrLrAr;r;r<rRsz#BufferedIncrementalEncoder.getstatecCs|pd|_dSrWr_rSr;r;r<rUsz#BufferedIncrementalEncoder.setstateN)rE)F) rCr>r?rDrNrYr#rQrRrUr;r;r;r<rVs  rVc@s<eZdZdZdddZdddZdd Zd d Zd d ZdS)rz An IncrementalDecoder decodes an input in multiple steps. The input can be passed piece by piece to the decode() method. The IncrementalDecoder remembers the state of the decoding process between calls to decode(). rEcCs ||_dS)z Create an IncrementalDecoder instance. The IncrementalDecoder may use different error handling schemes by providing the errors keyword argument. See the module docstring for a list of possible values. N)rJrMr;r;r<rNszIncrementalDecoder.__init__FcCstdS)z@ Decode input and returns the resulting object. NrFrOr;r;r<r$szIncrementalDecoder.decodecCsdS)z9 Reset the decoder to the initial state. Nr;rAr;r;r<rQszIncrementalDecoder.resetcCsdS)a  Return the current state of the decoder. This must be a (buffered_input, additional_state_info) tuple. buffered_input must be a bytes object containing bytes that were passed to decode() that have not yet been converted. additional_state_info must be a non-negative integer representing the state of the decoder WITHOUT yet having processed the contents of buffered_input. In the initial state and after reset(), getstate() must return (b"", 0). )rr;rAr;r;r<rRs zIncrementalDecoder.getstatecCsdS)z Set the current state of the decoder. state must have been returned by getstate(). The effect of setstate((b"", 0)) must be equivalent to reset(). Nr;rSr;r;r<rU'szIncrementalDecoder.setstateN)rE)F) rCr>r?rDrNr$rQrRrUr;r;r;r<rs  rc@sDeZdZdZdddZddZddd Zd d Zd d ZddZ dS)BufferedIncrementalDecoderz This subclass of IncrementalDecoder can be used as the baseclass for an incremental decoder if the decoder must be able to handle incomplete byte sequences. rEcCst||d|_dSNr`)rrNrLrMr;r;r<rN5s z#BufferedIncrementalDecoder.__init__cCstdSr1rFrXr;r;r<_buffer_decode:sz)BufferedIncrementalDecoder._buffer_decodeFcCs0|j|}|||j|\}}||d|_|Sr1)rLrcrJrZr;r;r<r$?s z!BufferedIncrementalDecoder.decodecCst|d|_dSrb)rrQrLrAr;r;r<rQGs z BufferedIncrementalDecoder.resetcCs |jdfSr^r_rAr;r;r<rRKsz#BufferedIncrementalDecoder.getstatecCs|d|_dSr^r_rSr;r;r<rUOsz#BufferedIncrementalDecoder.setstateN)rE)F) rCr>r?rDrNrcr$rQrRrUr;r;r;r<ra/s  rac@sTeZdZdddZddZddZdd Zdd d Zefd dZ ddZ ddZ dS)rrEcCs||_||_dS)aw Creates a StreamWriter instance. stream must be a file-like object open for writing. The StreamWriter may use different error handling schemes by providing the errors keyword argument. These parameters are predefined: 'strict' - raise a ValueError (or a subclass) 'ignore' - ignore the character and continue with the next 'replace'- replace with a suitable replacement character 'xmlcharrefreplace' - Replace with the appropriate XML character reference. 'backslashreplace' - Replace with backslashed escape sequences. 'namereplace' - Replace with \N{...} escape sequences. The set of allowed parameter values can be extended via register_error. N)streamrJr:rdrJr;r;r<rN\szStreamWriter.__init__cCs"|||j\}}|j|dS)z> Writes the object's contents encoded to self.stream. N)r#rJrdwrite)r:objectr[r]r;r;r<rfuszStreamWriter.writecCs|d|dS)z[ Writes the concatenated list of strings to the stream using .write(). rKN)rfjoinr:listr;r;r< writelines|szStreamWriter.writelinescCsdS)a2 Resets the codec buffers used for keeping internal state. Calling this method should ensure that the data on the output is put into a clean state, that allows appending of new fresh data without having to rescan the whole stream to recover state. Nr;rAr;r;r<rQs zStreamWriter.resetrcCs*|j|||dkr&|dkr&|dSr^rdseekrQr:offsetwhencer;r;r<rmszStreamWriter.seekcCs ||j|Sz? Inherit all other methods from the underlying stream. rdr:r4getattrr;r;r< __getattr__szStreamWriter.__getattr__cCs|Sr1r;rAr;r;r< __enter__szStreamWriter.__enter__cCs|jdSr1rdcloser:typevaluetbr;r;r<__exit__szStreamWriter.__exit__N)rE)r) rCr>r?rNrfrkrQrmrtrurvr}r;r;r;r<rZs   rc@seZdZeZdddZd ddZd!dd Zd"d d Zd#ddZ ddZ d$ddZ ddZ ddZ efddZddZddZd S)%rrEcCs.||_||_d|_||_|j|_d|_dS)a Creates a StreamReader instance. stream must be a file-like object open for reading. The StreamReader may use different error handling schemes by providing the errors keyword argument. These parameters are predefined: 'strict' - raise a ValueError (or a subclass) 'ignore' - ignore the character and continue with the next 'replace'- replace with a suitable replacement character 'backslashreplace' - Replace with backslashed escape sequences; The set of allowed parameter values can be extended via register_error. r`N)rdrJ bytebuffercharbuffertype_empty_charbuffer charbuffer linebufferrer;r;r<rNs  zStreamReader.__init__cCstdSr1rFrHr;r;r<r$szStreamReader.decodeFc CsP|jr|j|j|_d|_|dkr(|}|dkrBt|j|krBq|dkrV|j}n |j|}|j|}|stqz|||j \}}Wnbt y}zJ|r||d|j |j \}}|j dd} t| dkr؂nWYd}~n d}~00||d|_|j|7_|s(qq(|dkr.|j} |j|_n|jd|} |j|d|_| S)a Decodes data from the stream self.stream and returns the resulting object. chars indicates the number of decoded code points or bytes to return. read() will never return more data than requested, but it might return less, if there is not enough available. size indicates the approximate maximum number of decoded bytes or code points to read for decoding. The decoder can modify this setting as appropriate. The default value -1 indicates to read and decode as much as possible. size is intended to prevent having to decode huge files in one step. If firstline is true, and a UnicodeDecodeError happens after the first line terminator in the input only the first line will be returned, the rest of the input will be kept until the next call to read(). The method should use a greedy read strategy, meaning that it should read as much data as is allowed within the definition of the encoding and the given size, e.g. if optional encoding endings or state markers are available on the stream, these should be read too. NrTkeepends) rrrhrlenrdreadr~r$rJUnicodeDecodeErrorstart splitlines) r:sizechars firstlinenewdatar[newchars decodedbytesexclinesr\r;r;r<rsD       zStreamReader.readNTc Cs|jrP|jd}|jd=t|jdkr8|jd|_d|_|sL|jddd}|S|pVd}|j}|j|dd}|rt|tr|d st|t r|d r||jddd 7}||7}|jdd}|rt|dkr8|d}|d=t|dkr|d |j7<||_d|_n|d|j|_|s|jddd}q|d}|djddd}||kr|j |dd|j|_|r|}n|}q|r|dur|r|s|jddd}q|d kr^|d9}q^|S)z Read one line from the input stream and return the decoded data. size, if given, is passed as size argument to the read() method. rrNFrHT)r  )rrri@) rrrrrr isinstancestrendswithbytesrh) r:rrlinereadsizer[r line0withendline0withoutendr;r;r<readlinesd       zStreamReader.readlinecCs|}||S)aS Read all lines available on the input stream and return them as a list. Line breaks are implemented using the codec's decoder method and are included in the list entries. sizehint, if given, is ignored since there is no efficient way to finding the true end-of-line. )rr)r:sizehintrr[r;r;r< readlines^s zStreamReader.readlinescCsd|_|j|_d|_dS)z Resets the codec buffers used for keeping internal state. Note that no stream repositioning should take place. This method is primarily intended to be able to recover from decoding errors. r`N)r~rrrrAr;r;r<rQms zStreamReader.resetrcCs|j|||dS)zp Set the input stream's current position. Resets the codec buffers used for keeping state. Nrlrnr;r;r<rmzszStreamReader.seekcCs|}|r|StdS)4 Return the next decoded line from the input stream.N)r StopIteration)r:rr;r;r<__next__szStreamReader.__next__cCs|Sr1r;rAr;r;r<__iter__szStreamReader.__iter__cCs ||j|Srqrrrsr;r;r<ruszStreamReader.__getattr__cCs|Sr1r;rAr;r;r<rvszStreamReader.__enter__cCs|jdSr1rwryr;r;r<r}szStreamReader.__exit__)rE)rE)rrF)NT)NT)r)rCr>r?rrrNr$rrrrQrmrrrtrurvr}r;r;r;r<rs   P K   rc@seZdZdZdZd!ddZd"ddZd#d d Zd$d d ZddZ ddZ ddZ ddZ ddZ d%ddZefddZddZdd Zd S)&ra StreamReaderWriter instances allow wrapping streams which work in both read and write modes. The design is such that one can use the factory functions returned by the codec.lookup() function to construct the instance. unknownrEcCs(||_||||_||||_||_dS)aR Creates a StreamReaderWriter instance. stream must be a Stream-like object. Reader, Writer must be factory functions or classes providing the StreamReader, StreamWriter interface resp. Error handling is done in the same way as defined for the StreamWriter/Readers. N)rdreaderwriterrJ)r:rdReaderWriterrJr;r;r<rNs   zStreamReaderWriter.__init__rcCs |j|Sr1)rrr:rr;r;r<rszStreamReaderWriter.readNcCs |j|Sr1)rrrr;r;r<rszStreamReaderWriter.readlinecCs |j|Sr1)rr)r:rr;r;r<rszStreamReaderWriter.readlinescCs t|jSr)nextrrAr;r;r<rszStreamReaderWriter.__next__cCs|Sr1r;rAr;r;r<rszStreamReaderWriter.__iter__cCs |j|Sr1)rrf)r:r[r;r;r<rfszStreamReaderWriter.writecCs |j|Sr1)rrkrir;r;r<rkszStreamReaderWriter.writelinescCs|j|jdSr1rrQrrAr;r;r<rQs zStreamReaderWriter.resetrcCs6|j|||j|dkr2|dkr2|jdSr^)rdrmrrQrrnr;r;r<rms zStreamReaderWriter.seekcCs ||j|Srqrrrsr;r;r<ruszStreamReaderWriter.__getattr__cCs|Sr1r;rAr;r;r<rvszStreamReaderWriter.__enter__cCs|jdSr1rwryr;r;r<r}szStreamReaderWriter.__exit__)rE)r)N)N)r)rCr>r?rDencodingrNrrrrrrfrkrQrmrtrurvr}r;r;r;r<rs        rc@seZdZdZdZdZd!ddZd"ddZd#d d Zd$d d Z ddZ ddZ ddZ ddZ ddZd%ddZefddZddZdd Zd S)&raB StreamRecoder instances translate data from one encoding to another. They use the complete set of APIs returned by the codecs.lookup() function to implement their task. Data written to the StreamRecoder is first decoded into an intermediate format (depending on the "decode" codec) and then written to the underlying stream using an instance of the provided Writer class. In the other direction, data is read from the underlying stream using a Reader instance and then encoded and returned to the caller. rrEcCs4||_||_||_||||_||||_||_dS)a Creates a StreamRecoder instance which implements a two-way conversion: encode and decode work on the frontend (the data visible to .read() and .write()) while Reader and Writer work on the backend (the data in stream). You can use these objects to do transparent transcodings from e.g. latin-1 to utf-8 and back. stream must be a file-like object. encode and decode must adhere to the Codec interface; Reader and Writer must be factory functions or classes providing the StreamReader and StreamWriter interfaces resp. Error handling is done in the same way as defined for the StreamWriter/Readers. N)rdr#r$rrrJ)r:rdr#r$rrrJr;r;r<rNs   zStreamRecoder.__init__rcCs"|j|}|||j\}}|Sr1)rrr#rJr:rr[ bytesencodedr;r;r<r#s zStreamRecoder.readNcCs6|dur|j}n |j|}|||j\}}|Sr1)rrr#rJrr;r;r<r)s   zStreamRecoder.readlinecCs(|j}|||j\}}|jddS)NTr)rrr#rJr)r:rr[rr;r;r<r2s zStreamRecoder.readlinescCs t|j}|||j\}}|Sr)rrr#rJ)r:r[rr;r;r<r8s zStreamRecoder.__next__cCs|Sr1r;rAr;r;r<r?szStreamRecoder.__iter__cCs|||j\}}|j|Sr1)r$rJrrf)r:r[ bytesdecodedr;r;r<rfBszStreamRecoder.writecCs(d|}|||j\}}|j|Srb)rhr$rJrrf)r:rjr[rr;r;r<rkGs zStreamRecoder.writelinescCs|j|jdSr1rrAr;r;r<rQMs zStreamRecoder.resetrcCs |j|||j||dSr1)rrmrrnr;r;r<rmRszStreamRecoder.seekcCs ||j|Srqrrrsr;r;r<ruXszStreamRecoder.__getattr__cCs|Sr1r;rAr;r;r<rv_szStreamRecoder.__enter__cCs|jdSr1rwryr;r;r<r}bszStreamRecoder.__exit__)rE)r)N)N)r)rCr>r?rD data_encoding file_encodingrNrrrrrrfrkrQrmrtrurvr}r;r;r;r<rs$     rrrErcCst|durd|vr|d}t|||}|dur2|Sz&t|}t||j|j|}||_|WS|Yn0dS)aq Open an encoded file using the given mode and return a wrapped version providing transparent encoding/decoding. Note: The wrapped version will only accept the object format defined by the codecs, i.e. Unicode objects for most builtin codecs. Output is also codec dependent and will usually be Unicode as well. Underlying encoded files are always opened in binary mode. The default file mode is 'r', meaning to open the file in read mode. encoding specifies the encoding which is to be used for the file. errors may be given to define the error handling. It defaults to 'strict' which causes ValueErrors to be raised in case an encoding error occurs. buffering has the same meaning as for the builtin open() API. It defaults to -1 which means that the default buffer size will be used. The returned wrapped file object provides an extra attribute .encoding which allows querying the used encoding. This attribute is only available if an encoding was specified as parameter. Nb)builtinsrrrr8r7rrx)filenamemoderrJ bufferingfileinfosrwr;r;r<rgsrcCsF|dur |}t|}t|}t||j|j|j|j|}||_||_|S)a Return a wrapped version of file which provides transparent encoding translation. Data written to the wrapped file is decoded according to the given data_encoding and then encoded to the underlying file using file_encoding. The intermediate data type will usually be Unicode but depends on the specified codecs. Bytes read from the file are decoded using file_encoding and then passed back to the caller encoded using data_encoding. If file_encoding is not given, it defaults to data_encoding. errors may be given to define the error handling. It defaults to 'strict' which causes ValueErrors to be raised in case an encoding error occurs. The returned wrapped file object provides two extra attributes .data_encoding and .file_encoding which reflect the given parameters of the same name. The attributes can be used for introspection by Python programs. N)rrr#r$r8r7rr)rrrrJ data_info file_infosrr;r;r<rs  rcCs t|jS)z Lookup up the codec for the given encoding and return its encoder function. Raises a LookupError in case the encoding cannot be found. )rr#rr;r;r<rsrcCs t|jS)z Lookup up the codec for the given encoding and return its decoder function. Raises a LookupError in case the encoding cannot be found. )rr$rr;r;r<rsrcCst|j}|durt||S)z Lookup up the codec for the given encoding and return its IncrementalEncoder class or factory function. Raises a LookupError in case the encoding cannot be found or the codecs doesn't provide an incremental encoder. N)rr5 LookupError)rencoderr;r;r<rs rcCst|j}|durt||S)z Lookup up the codec for the given encoding and return its IncrementalDecoder class or factory function. Raises a LookupError in case the encoding cannot be found or the codecs doesn't provide an incremental decoder. N)rr6r)rdecoderr;r;r<r s r cCs t|jS)z Lookup up the codec for the given encoding and return its StreamReader class or factory function. Raises a LookupError in case the encoding cannot be found. )rr8rr;r;r<r!sr!cCs t|jS)z Lookup up the codec for the given encoding and return its StreamWriter class or factory function. Raises a LookupError in case the encoding cannot be found. )rr7rr;r;r<r"sr"cksLt||fi|}|D]}||}|r|Vq|dd}|rH|VdS)z Encoding iterator. Encodes the input strings from the iterator using an IncrementalEncoder. errors and kwargs are passed through to the IncrementalEncoder constructor. rKTN)rr#)iteratorrrJkwargsrrIoutputr;r;r<r%s   r%cksLt||fi|}|D]}||}|r|Vq|dd}|rH|VdS)z Decoding iterator. Decodes the input strings from the iterator using an IncrementalDecoder. errors and kwargs are passed through to the IncrementalDecoder constructor. r`TN)r r$)rrrJrrrIrr;r;r<r&s   r&cCsdd|DS)z make_identity_dict(rng) -> dict Return a dictionary where elements of the rng sequence are mapped to themselves. cSsi|] }||qSr;r;).0ir;r;r< /r`z&make_identity_dict..r;)rngr;r;r<make_identity_dict'srcCs4i}|D]"\}}||vr&|||<q d||<q |S)a Creates an encoding map from a decoding map. If a target mapping in the decoding map occurs multiple times, then that target is mapped to None (undefined mapping), causing an exception when encountered by the charmap codec during translation. One example where this happens is cp875.py which decodes multiple character to \u001a. N)items) decoding_mapmkvr;r;r<make_encoding_map1s   rignorereplacexmlcharrefreplacebackslashreplace namereplace__main__zlatin-1zutf-8)rNrEr)NrE)rE)rE)s  " B("1+IzWt 0 &         PK!ucollections/__init__.pyca W [N@s&dZgdZddlZddlZddlZddlmZ ddlm Z ddlm Z ddlmZddlmZdd lmZdd lmZdd lmZzdd lmZWneyYn0ej ezdd lm!Z!WneyYn0ddZ"Gdddej#Z$Gdddej%Z&Gdddej'Z(Gddde)Z*Gddde+Z,zddlm,Z,WneyZYn0zddlm-Z-WneyddZ-Yn0ddddd d!Z.d"d#Z/zdd$lm/Z/WneyYn0Gd%d&d&e+Z0Gd'd(d(ej1Z2Gd)d*d*ej1Z3Gd+d,d,ejZ4Gd-d.d.ej5Z6dS)/a?This module implements specialized container datatypes providing alternatives to Python's general purpose built-in containers, dict, list, set, and tuple. * namedtuple factory function for creating tuple subclasses with named fields * deque list-like container with fast appends and pops on either end * ChainMap dict-like class for creating a single view of multiple mappings * Counter dict subclass for counting hashable objects * OrderedDict dict subclass that remembers the order entries were added * defaultdict dict subclass that calls a factory function to supply missing values * UserDict wrapper around dictionary objects for easier dict subclassing * UserList wrapper around list objects for easier list subclassing * UserString wrapper around string objects for easier string subclassing ) ChainMapCounter OrderedDictUserDictUserList UserString defaultdictdeque namedtupleN)chain)repeat)starmap) iskeyword)eq) itemgetter)recursive_repr)proxy)r)rcCsR|tjvr:tt|}ddl}|jdtdd|t|<|Stdtd|dS)Nr zUsing or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working) stacklevelzmodule z has no attribute ) _collections_abc__all__getattrwarningswarnDeprecationWarningglobalsAttributeError__name__)nameobjrr D/usr/local/cpython-exe-builder/lib/python3.9/collections/__init__.py __getattr__7s   r"c@seZdZddZdS)_OrderedDictKeysViewccst|jEdHdSNreversed_mappingselfr r r! __reversed__Msz!_OrderedDictKeysView.__reversed__Nr __module__ __qualname__r*r r r r!r#Ksr#c@seZdZddZdS)_OrderedDictItemsViewccs$t|jD]}||j|fVq dSr$r%r)keyr r r!r*Rsz"_OrderedDictItemsView.__reversed__Nr+r r r r!r.Psr.c@seZdZddZdS)_OrderedDictValuesViewccs t|jD]}|j|Vq dSr$r%r/r r r!r*Xsz#_OrderedDictValuesView.__reversed__Nr+r r r r!r1Vsr1c@seZdZdZdS)_Link)prevnextr0 __weakref__N)rr,r- __slots__r r r r!r2\sr2c@seZdZdZd1ddZejeefddZej fddZ d d Z d d Z d dZ d2ddZ d3ddZddZejjZZddZddZddZejjZeZefddZd4dd Zed!d"Zd#d$Zd%d&Ze d5d'd(Z!d)d*Z"d+d,Z#d-d.Z$d/d0Z%dS)6rz)Dictionary that remembers insertion orderr cKs^z |jWn<tyFt|_t|j|_}||_|_i|_Yn0|j|fi|dS)zInitialize an ordered dictionary. The signature is the same as regular dictionaries. Keyword argument order is preserved. N) _OrderedDict__rootrr2_OrderedDict__hardroot_proxyr3r4_OrderedDict__map_OrderedDict__update)r)otherkwdsrootr r r!__init__ns    zOrderedDict.__init__c CsZ||vrJ||j|<}|j}|j}||||_|_|_||_|||_||||dS)z!od.__setitem__(i, y) <==> od[i]=yN)r:r7r3r4r0) r)r0valueZ dict_setitemrZLinklinkr>lastr r r! __setitem__{s zOrderedDict.__setitem__cCs>||||j|}|j}|j}||_||_d|_d|_dS)z od.__delitem__(y) <==> del od[y]N)r:popr3r4)r)r0Z dict_delitemrA link_prev link_nextr r r! __delitem__s  zOrderedDict.__delitem__ccs(|j}|j}||ur$|jV|j}q dS)zod.__iter__() <==> iter(od)N)r7r4r0r)r>currr r r!__iter__s zOrderedDict.__iter__ccs(|j}|j}||ur$|jV|j}q dS)z#od.__reversed__() <==> reversed(od)N)r7r3r0rHr r r!r*s zOrderedDict.__reversed__cCs*|j}||_|_|jt|dS)z.od.clear() -> None. Remove all items from od.N)r7r3r4r:cleardict)r)r>r r r!rKs  zOrderedDict.clearTcCsj|s td|j}|r0|j}|j}||_||_n|j}|j}||_||_|j}|j|=t||}||fS)zRemove and return a (key, value) pair from the dictionary. Pairs are returned in LIFO order if last is true or FIFO order if false. zdictionary is empty)KeyErrorr7r3r4r0r:rLrD)r)rBr>rArErFr0r@r r r!popitems  zOrderedDict.popitemc Cst|j|}|j}|j}|j}||_||_|j}|rR|j}||_||_||_||_n|j}||_||_||_||_dS)zMove an existing element to the end (or beginning if last is false). Raise KeyError if the element does not exist. N)r:r3r4r7) r)r0rBrArErFZ soft_linkr>firstr r r! move_to_ends$ zOrderedDict.move_to_endcCsVtj}t|d}||j}|||jd7}|||j|7}|||j|7}|S)Nr)_sys getsizeoflen__dict__r:r8r7)r)sizeofnsizer r r! __sizeof__s  zOrderedDict.__sizeof__cCst|S)z:D.keys() -> a set-like object providing a view on D's keys)r#r(r r r!keysszOrderedDict.keyscCst|S)z a set-like object providing a view on D's items)r.r(r r r!itemsszOrderedDict.itemscCst|S)z6D.values() -> an object providing a view on D's values)r1r(r r r!valuesszOrderedDict.valuescCs0||vr||}||=|S||jur,t||S)zod.pop(k[,d]) -> v, remove specified key and return the corresponding value. If key is not found, d is returned if given, otherwise KeyError is raised. )_OrderedDict__markerrM)r)r0defaultresultr r r!rDs zOrderedDict.popNcCs||vr||S|||<|S)zInsert key with a value of default if key is not in the dictionary. Return the value for key if key is in the dictionary, else default. r r)r0r^r r r! setdefaultszOrderedDict.setdefaultcCs*|sd|jjfSd|jjt|fS)zod.__repr__() <==> repr(od)z%s()z%s(%r)) __class__rlistr[r(r r r!__repr__szOrderedDict.__repr__cCsDt|}ttD]}||dq|jd|p4ddt|fS)z%Return state information for picklingNr )varscopyrrDrbiterr[)r) inst_dictkr r r! __reduce__s zOrderedDict.__reduce__cCs ||S)z!od.copy() -> a shallow copy of odrbr(r r r!rf szOrderedDict.copycCs|}|D] }|||<q |S)zYCreate a new ordered dictionary with keys from iterable and values set to value. r )clsiterabler@r)r0r r r!fromkeys$s zOrderedDict.fromkeyscCs2t|tr&t||o$ttt||St||S)zod.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive while comparison to a regular mapping is order-insensitive. ) isinstancerrL__eq__allmap_eqr)r<r r r!rp-s zOrderedDict.__eq__cCs|||Sr$)updatertr r r!__ior__6s zOrderedDict.__ior__cCs&t|tstS||}|||Sr$rorLNotImplementedrbrur)r<newr r r!__or__:s    zOrderedDict.__or__cCs&t|tstS||}|||Sr$rwryr r r!__ror__As    zOrderedDict.__ror__)r )T)T)N)N)&rr,r-__doc__r?rLrCr9r2rGrJr*rKrNrPrYrMutableMappingrur;rZr[r\__ne__objectr]rDra_recursive_reprrdrjrf classmethodrnrprvr{r|r r r r!r_s:             r)r) _tuplegettercCstt||dS)N)doc)property _itemgetter)indexrr r r!WrF)renamedefaultsmodulec sttrddttttt|}|rt}t D]B\}}| rrt |sr| dsr||vrd||<| |qH|gD]D}t|turtd| std|t |rtd|qt}D]F}| dr |s td|||vr"td|| |qi}|d ur|t|}t|tkr^td tttttt|}tttjtd } d kr| d7} d d ddDdtjtttttf\id|d} d| d| d} t| | } d| _d|d | d| _|d urB|| _tfdd} d|d| j_fdd}d|d|_fd d!}fd"d#}fd$d%}| | j||||fD]}|d&|j|_q|d | dd'|| | ||||d( }t D](\}}td)|}t||||<qt|tf|}|d urvzt d j!"d*d+}Wnt#tfytYn0|d ur||_$|S),aCReturns a new subclass of tuple with named fields. >>> Point = namedtuple('Point', ['x', 'y']) >>> Point.__doc__ # docstring for the new class 'Point(x, y)' >>> p = Point(11, y=22) # instantiate with positional args or keywords >>> p[0] + p[1] # indexable like a plain tuple 33 >>> x, y = p # unpack like a regular tuple >>> x, y (11, 22) >>> p.x + p.y # fields also accessible by name 33 >>> d = p._asdict() # convert to a dictionary >>> d['x'] 11 >>> Point(**d) # convert from a dictionary Point(x=11, y=22) >>> p._replace(x=100) # _replace() is like str.replace() but targets named fields Point(x=100, y=22) , _z*Type names and field names must be stringsz6Type names and field names must be valid identifiers: z0Type names and field names cannot be a keyword: z-Field names cannot start with an underscore: z"Encountered duplicate field name: Nz(Got more default values than field names, rQ(css|]}|dVqdS)z=%rNr ).0rr r r! rznamedtuple..) namedtuple_) _tuple_new __builtins__rz lambda _cls, z: _tuple_new(_cls, (z))__new__zCreate new instance of cs2||}|kr.tddt||S)Nz Expected z arguments, got ) TypeErrorrT)rlrmr_)_len num_fields tuple_newr r!_makes  znamedtuple.._makez Make a new z# object from a sequence or iterablecs.||j|}|r*tdt||S)NzGot unexpected field names: )rrD ValueErrorrc)r)r=r_)_map field_namesr r!_replacesznamedtuple.._replacez Return a new z2 object replacing specified fields with new valuescs|jj|S)z/Return a nicely formatted representation string)rbrr()repr_fmtr r!rdsznamedtuple..__repr__cs|j|S)z9Return a new dict which maps field names to their values.)_fieldsr()_dict_zipr r!_asdictsznamedtuple.._asdictcs|S)z7Return self as a plain tuple. Used by copy and pickle.r r()_tupler r!__getnewargs__sz"namedtuple..__getnewargs__.r ) r}r6r_field_defaultsrrrrdrrzAlias for field number r__main__)%rostrreplacesplitrcrrrRinternset enumerate isidentifier _iskeyword startswithaddtyperrtuplerTrLr&zipjoinrevalrr} __defaults__r__func__r-r _getframe f_globalsgetrr,)typenamerrrrseenrrfield_defaultsarg_list namespacecoderrrrdrrmethodclass_namespacerr_r ) rrrrrrrrrr!r Ys                 r cCs&|j}|D]}||dd||<q dS)z!Tally elements from the iterable.r rQN)r)mappingrmZ mapping_getelemr r r!_count_elementssr)rcseZdZdZd/fdd ZddZd0ddZd d Zed1d d Z d2fd d Z d3ddZ ddZ ddZ fddZddZddZddZddZdd Zd!d"Zd#d$Zd%d&Zd'd(Zd)d*Zd+d,Zd-d.ZZS)4raDict subclass for counting hashable items. Sometimes called a bag or multiset. Elements are stored as dictionary keys and their counts are stored as dictionary values. >>> c = Counter('abcdeabcdabcaba') # count elements from a string >>> c.most_common(3) # three most common elements [('a', 5), ('b', 4), ('c', 3)] >>> sorted(c) # list all unique elements ['a', 'b', 'c', 'd', 'e'] >>> ''.join(sorted(c.elements())) # list elements with repetitions 'aaaaabbbbcccdde' >>> sum(c.values()) # total of all counts 15 >>> c['a'] # count of letter 'a' 5 >>> for elem in 'shazam': # update counts from an iterable ... c[elem] += 1 # by adding 1 to each element's count >>> c['a'] # now there are seven 'a' 7 >>> del c['b'] # remove all 'b' >>> c['b'] # now there are zero 'b' 0 >>> d = Counter('simsalabim') # make another counter >>> c.update(d) # add in the second counter >>> c['a'] # now there are nine 'a' 9 >>> c.clear() # empty the counter >>> c Counter() Note: If a count is set to zero or reduced to zero, it will remain in the counter until the entry is deleted or the counter is cleared: >>> c = Counter('aaabbc') >>> c['b'] -= 2 # reduce the count of 'b' by two >>> c.most_common() # 'b' is still in, but its count is zero [('a', 3), ('c', 1), ('b', 0)] Nc s t|j|fi|dS)a Create a new, empty Counter object. And if given, count elements from an input iterable. Or, initialize the count from another mapping of elements to their counts. >>> c = Counter() # a new, empty counter >>> c = Counter('gallahad') # a new counter from an iterable >>> c = Counter({'a': 4, 'b': 2}) # a new counter from a mapping >>> c = Counter(a=4, b=2) # a new counter from keyword args N)superr?ru)r)rmr=rkr r!r?Es zCounter.__init__cCsdS)z1The count of elements not in the Counter is zero.r r r/r r r! __missing__SszCounter.__missing__cCs6|durt|tdddStj||tddS)zList the n most common elements and their counts from the most common to the least. If n is None, then list all element counts. >>> Counter('abracadabra').most_common(3) [('a', 5), ('b', 2), ('r', 2)] NrQT)r0reverser0)sortedr[r_heapqnlargestr)rWr r r! most_commonXs zCounter.most_commoncCsttt|S)aIterator over elements repeating each as many times as its count. >>> c = Counter('ABCABC') >>> sorted(c.elements()) ['A', 'A', 'B', 'B', 'C', 'C'] # Knuth's example for prime factors of 1836: 2**2 * 3**3 * 17**1 >>> prime_factors = Counter({2: 2, 3: 3, 17: 1}) >>> product = 1 >>> for factor in prime_factors.elements(): # loop over factors ... product *= factor # and multiply them >>> product 1836 Note, if an element's count has been set to zero or is a negative number, elements() will ignore it. )_chain from_iterable_starmap_repeatr[r(r r r!elementseszCounter.elementscCs tddS)Nz@Counter.fromkeys() is undefined. Use Counter(iterable) instead.)NotImplementedError)rlrmvr r r!rn}s zCounter.fromkeysc sn|dur\t|tjrR|rD|j}|D]\}}|||d||<q&q\t|n t|||rj||dS)aLike dict.update() but add counts instead of replacing them. Source can be an iterable, a dictionary, or another Counter instance. >>> c = Counter('which') >>> c.update('witch') # add elements from another iterable >>> d = Counter('watch') >>> c.update(d) # add elements from another counter >>> c['h'] # four 'h' in which, witch, and watch 4 Nr )rorMappingrr[rrurr)rmr=self_getrcountrkr r!rus  zCounter.updatecKsn|dur\|j}t|tjr@|D]\}}||d|||<q"n|D]}||dd||<qD|rj||dS)aLike dict.update() but subtracts counts instead of replacing them. Counts can be reduced below zero. Both the inputs and outputs are allowed to contain zero and negative counts. Source can be an iterable, a dictionary, or another Counter instance. >>> c = Counter('which') >>> c.subtract('witch') # subtract elements from another iterable >>> c.subtract(Counter('watch')) # subtract elements from another counter >>> c['h'] # 2 in which, minus 1 in witch, minus 1 in watch 0 >>> c['w'] # 1 in which, minus 1 in witch, minus 1 in watch -1 Nr rQ)rrorrr[subtractrr r r!rs zCounter.subtractcCs ||S)zReturn a shallow copy.rkr(r r r!rfsz Counter.copycCs|jt|ffSr$)rbrLr(r r r!rjszCounter.__reduce__cs||vrt|dS)zGLike dict.__delitem__() but does not raise KeyError for missing values.N)rrG)r)rrkr r!rGszCounter.__delitem__cCsR|s|jjdSzt|}Wnty<t|}Yn0|jjd|dS)Nz()rr)rbrrLrr)r)dr r r!rds zCounter.__repr__cCspt|tstSt}|D]$\}}|||}|dkr|||<q|D] \}}||vrJ|dkrJ|||<qJ|S)zAdd counts from two counters. >>> Counter('abbb') + Counter('bcc') Counter({'b': 4, 'c': 2, 'a': 1}) r rorrxr[r)r<r_rrnewcountr r r!__add__s    zCounter.__add__cCstt|tstSt}|D]$\}}|||}|dkr|||<q|D]$\}}||vrJ|dkrJd|||<qJ|S)z Subtract count, but keep only results with positive counts. >>> Counter('abbbc') - Counter('bccd') Counter({'b': 2, 'a': 1}) r rrr r r!__sub__s   zCounter.__sub__cCs|t|tstSt}|D]0\}}||}||kr8|n|}|dkr|||<q|D] \}}||vrV|dkrV|||<qV|S)zUnion is the maximum of value in either of the input counters. >>> Counter('abbb') | Counter('bcc') Counter({'b': 3, 'c': 2, 'a': 1}) r rr)r<r_rr other_countrr r r!r{s   zCounter.__or__cCsRt|tstSt}|D]0\}}||}||kr8|n|}|dkr|||<q|S)z Intersection is the minimum of corresponding counts. >>> Counter('abbb') & Counter('bcc') Counter({'b': 1}) r rrr r r!__and__'s  zCounter.__and__cCs,t}|D]\}}|dkr|||<q|S)zEAdds an empty counter, effectively stripping negative and zero countsr rr[r)r_rrr r r!__pos__8s  zCounter.__pos__cCs0t}|D]\}}|dkrd|||<q|S)z{Subtracts from an empty counter. Strips positive and zero counts, and flips the sign on negative counts. r rrr r r!__neg__@s zCounter.__neg__cCs&dd|D}|D] }||=q|S)z?Internal method to strip elements with a negative or zero countcSsg|]\}}|dks|qS)r r )rrrr r r! Mrz*Counter._keep_positive..)r[)r) nonpositiverr r r!_keep_positiveKszCounter._keep_positivecCs*|D]\}}|||7<q|S)zInplace add from another counter, keeping only positive counts. >>> c = Counter('abbb') >>> c += Counter('bcc') >>> c Counter({'b': 4, 'c': 2, 'a': 1}) r[rr)r<rrr r r!__iadd__Rs zCounter.__iadd__cCs*|D]\}}|||8<q|S)zInplace subtract counter, but keep only results with positive counts. >>> c = Counter('abbbc') >>> c -= Counter('bccd') >>> c Counter({'b': 2, 'a': 1}) rrr r r!__isub___s zCounter.__isub__cCs2|D] \}}||}||kr|||<q|S)zInplace union is the maximum of value from either counter. >>> c = Counter('abbb') >>> c |= Counter('bcc') >>> c Counter({'b': 3, 'c': 2, 'a': 1}) r)r)r<rrrr r r!rvls  zCounter.__ior__cCs2|D] \}}||}||kr|||<q|S)zInplace intersection is the minimum of corresponding counts. >>> c = Counter('abbb') >>> c &= Counter('bcc') >>> c Counter({'b': 1}) r)r)r<rrrr r r!__iand__{s  zCounter.__iand__)N)N)N)N)N)rr,r-r}r?rrrrrnrurrfrjrGrdrrr{rrrrrrrvr __classcell__r r rkr!rs02  "     rc@seZdZdZddZddZddZd-d d Zd d Zd dZ ddZ ddZ e ddZ eddZddZeZd.ddZeddZddZdd Zd!d"Zd#d$Zd%d&Zd'd(Zd)d*Zd+d,ZdS)/ra A ChainMap groups multiple dicts (or other mappings) together to create a single, updateable view. The underlying mappings are stored in a list. That list is public and can be accessed or updated using the *maps* attribute. There is no other state. Lookups search the underlying mappings successively until a key is found. In contrast, writes, updates, and deletions only operate on the first mapping. cGst|p ig|_dS)zInitialize a ChainMap by setting *maps* to the given mappings. If no mappings are provided, a single empty dictionary is used. N)rcmaps)r)rr r r!r?szChainMap.__init__cCs t|dSr$)rMr/r r r!rszChainMap.__missing__c Cs8|jD]&}z||WSty*Yq0q||Sr$)rrMr)r)r0rr r r! __getitem__s   zChainMap.__getitem__NcCs||vr||S|Sr$r r`r r r!rsz ChainMap.getcCsttj|jSr$)rTrunionrr(r r r!__len__szChainMap.__len__cCs,i}t|jD]}|t|qt|Sr$)r&rrurLrnrg)r)rrr r r!rJszChainMap.__iter__cstfdd|jDS)Nc3s|]}|vVqdSr$r )rmrr r!rrz(ChainMap.__contains__..anyrr/r rr! __contains__szChainMap.__contains__cCs t|jSr$rr(r r r!__bool__szChainMap.__bool__cCs"|jjddtt|jdS)Nrrr)rbrrrrreprrr(r r r!rdszChainMap.__repr__cGs|tj|g|RS)z?Create a ChainMap with a single dict created from the iterable.)rLrn)rlrmargsr r r!rnszChainMap.fromkeyscCs&|j|jdg|jddRS)zHNew ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]r rQN)rbrrfr(r r r!rfsz ChainMap.copycCs |dur i}|j|g|jRS)zyNew ChainMap with a new map followed by all previous maps. If no map is provided, an empty dict is used. Nrbr)r)rr r r! new_childszChainMap.new_childcCs|j|jddS)zNew ChainMap from maps[1:].rQNrr(r r r!parentsszChainMap.parentscCs||jd|<dSNr )r)r)r0r@r r r!rCszChainMap.__setitem__cCs6z|jd|=Wn ty0td|Yn0dS)Nr $Key not found in the first mapping: )rrMr/r r r!rGs zChainMap.__delitem__cCs0z|jdWSty*tdYn0dS)zPRemove and return an item pair from maps[0]. Raise KeyError is maps[0] is empty.r z#No keys found in the first mapping.N)rrNrMr(r r r!rNs zChainMap.popitemcGs@z|jdj|g|RWSty:td|Yn0dS)zWRemove *key* from maps[0] and return its value. Raise KeyError if *key* not in maps[0].r rN)rrDrM)r)r0rr r r!rDs z ChainMap.popcCs|jddS)z'Clear maps[0], leaving maps[1:] intact.r N)rrKr(r r r!rKszChainMap.clearcCs|jd||Sr)rrurtr r r!rvszChainMap.__ior__cCs,t|tjstS|}|jd||Sr)rorrrxrfrru)r)r<rr r r!r{s  zChainMap.__or__cCs<t|tjstSt|}t|jD]}||q"||Sr$) rorrrxrLr&rrurb)r)r<rchildr r r!r|s   zChainMap.__ror__)N)N)rr,r-r}r?rrrrrJrrrrdrrnrf__copy__rrrrCrGrNrDrKrvr{r|r r r r!rs4      rc@seZdZdddZddZddZdd Zd d Zd d ZddZ ddZ ddZ ddZ ddZ ddZddZedddZdS) rNcKs*i|_|dur|||r&||dSr$)dataru)r)rLkwargsr r r!r?s  zUserDict.__init__cCs t|jSr$rTrr(r r r!rszUserDict.__len__cCs:||jvr|j|St|jdr.|j||St|dS)Nr)rhasattrrbrrMr/r r r!rs    zUserDict.__getitem__cCs||j|<dSr$r)r)r0itemr r r!rC$szUserDict.__setitem__cCs |j|=dSr$r r/r r r!rG'szUserDict.__delitem__cCs t|jSr$)rgrr(r r r!rJ*szUserDict.__iter__cCs ||jvSr$r r/r r r!r.szUserDict.__contains__cCs t|jSr$rrr(r r r!rd2szUserDict.__repr__cCs:t|tr||j|jBSt|tr6||j|BStSr$rorrbrrLrxrtr r r!r{5s   zUserDict.__or__cCs:t|tr||j|jBSt|tr6|||jBStSr$rrtr r r!r|<s   zUserDict.__ror__cCs.t|tr|j|jO_n|j|O_|Sr$)rorrrtr r r!rvCs zUserDict.__ior__cCs4|j|j}|j|j|jd|jd<|SNr)rbrrUrurfr)instr r r!rJszUserDict.__copy__cCsX|jturt|jSddl}|j}zi|_||}W||_n||_0|||Sr)rbrrrfru)r)rfrcr r r!rfQs   z UserDict.copycCs|}|D] }|||<q |Sr$r )rlrmr@rr0r r r!rn^s zUserDict.fromkeys)N)N)rr,r-r?rrrCrGrJrrdr{r|rvrrfrrnr r r r!rs  rc@seZdZdZd@ddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZddZddZddZdd Zd!d"Zd#d$ZeZd%d&Zd'd(Zd)d*Zd+d,ZdAd.d/Zd0d1Zd2d3Zd4d5Zd6d7Zd8d9Zd:d;Z dd?Z"dS)BrzAA more or less complete user-defined wrapper around list objects.NcCsbg|_|dur^t|t|jkr0||jdd<n.t|trT|jdd|jdd<n t||_dSr$)rrrorrc)r)initlistr r r!r?ms zUserList.__init__cCs t|jSr$rr(r r r!rdxszUserList.__repr__cCs|j||kSr$r_UserList__castrtr r r!__lt__{szUserList.__lt__cCs|j||kSr$rrtr r r!__le__~szUserList.__le__cCs|j||kSr$rrtr r r!rpszUserList.__eq__cCs|j||kSr$rrtr r r!__gt__szUserList.__gt__cCs|j||kSr$rrtr r r!__ge__szUserList.__ge__cCst|tr|jS|Sr$)rorrrtr r r!__castszUserList.__castcCs ||jvSr$r r)r r r r!rszUserList.__contains__cCs t|jSr$r r(r r r!rszUserList.__len__cCs(t|tr||j|S|j|SdSr$)roslicerbrr)ir r r!rs zUserList.__getitem__cCs||j|<dSr$r r)rr r r r!rCszUserList.__setitem__cCs |j|=dSr$r rr r r!rGszUserList.__delitem__cCsPt|tr||j|jSt|t|jr<||j|S||jt|Sr$rorrbrrrcrtr r r!rs  zUserList.__add__cCsPt|tr||j|jSt|t|jr<|||jS|t||jSr$r!rtr r r!__radd__s  zUserList.__radd__cCsRt|tr|j|j7_n2t|t|jr<|j|7_n|jt|7_|Sr$)rorrrrcrtr r r!rs  zUserList.__iadd__cCs||j|Sr$rbrrr r r!__mul__szUserList.__mul__cCs|j|9_|Sr$r rr r r!__imul__szUserList.__imul__cCs8|j|j}|j|j|jddd|jd<|Sr)rbrrUrurr r r!rszUserList.__copy__cCs|j|dSr$)rappendrr r r!r&szUserList.appendcCs|j||dSr$)rinsertr r r r!r'szUserList.insertcCs |j|Sr$)rrDrr r r!rDsz UserList.popcCs|j|dSr$)rremoverr r r!r)szUserList.removecCs|jdSr$)rrKr(r r r!rKszUserList.clearcCs ||Sr$rkr(r r r!rfsz UserList.copycCs |j|Sr$)rrrr r r!rszUserList.countcGs|jj|g|RSr$rr)r)r rr r r!rszUserList.indexcCs|jdSr$)rrr(r r r!rszUserList.reversecOs|jj|i|dSr$)rsortr)rr=r r r!r+sz UserList.sortcCs*t|tr|j|jn |j|dSr$)rorrextendrtr r r!r-s zUserList.extend)N)r()#rr,r-r}r?rdrrrprrrrrrrCrGrr"rr$__rmul__r%rr&r'rDr)rKrfrrrr+r-r r r r!rjs@   rc@sxeZdZddZddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZddZddZddZdd Zd!d"Zd#d$Zd%d&ZeZd'd(Zd)d*Zd+d,Zd-d.Zd/d0Zd1ejfd2d3Zd4d5Zd6d7Z dd:d;Z!d1ejfddudvZ?ddwdxZ@ddydzZAdd{d|ZBdd~dZCd1ejfddZDdddZEddZFddZGddZHddZIddZJdgS)rcCs<t|tr||_n&t|tr.|jdd|_n t||_dSr$)rorrrr)seqr r r!r?s   zUserString.__init__cCs t|jSr$)rrr(r r r!__str__szUserString.__str__cCs t|jSr$rr(r r r!rdszUserString.__repr__cCs t|jSr$)intrr(r r r!__int__szUserString.__int__cCs t|jSr$)floatrr(r r r! __float__szUserString.__float__cCs t|jSr$)complexrr(r r r! __complex__szUserString.__complex__cCs t|jSr$)hashrr(r r r!__hash__szUserString.__hash__cCs|jddfSr$r r(r r r!r szUserString.__getnewargs__cCs t|tr|j|jkS|j|kSr$rorrr)stringr r r!rps  zUserString.__eq__cCs t|tr|j|jkS|j|kSr$r:r;r r r!rs  zUserString.__lt__cCs t|tr|j|jkS|j|kSr$r:r;r r r!rs  zUserString.__le__cCs t|tr|j|jkS|j|kSr$r:r;r r r!rs  zUserString.__gt__cCs t|tr|j|jkS|j|kSr$r:r;r r r!r"s  zUserString.__ge__cCst|tr|j}||jvSr$r:)r)charr r r!r's zUserString.__contains__cCs t|jSr$r r(r r r!r,szUserString.__len__cCs||j|Sr$r#)r)rr r r!r/szUserString.__getitem__cCsJt|tr||j|jSt|tr6||j|S||jt|Sr$)rorrbrrrtr r r!r2s   zUserString.__add__cCs.t|tr|||jS|t||jSr$)rorrbrrtr r r!r"9s zUserString.__radd__cCs||j|Sr$r#rr r r!r$>szUserString.__mul__cCs||j|Sr$r#r)rr r r!__mod__CszUserString.__mod__cCs|t||Sr$)rbr)r)templater r r!__rmod__FszUserString.__rmod__cCs||jSr$)rbr capitalizer(r r r!rBJszUserString.capitalizecCs||jSr$)rbrcasefoldr(r r r!rCMszUserString.casefoldcGs||jj|g|RSr$)rbrcenterr)widthrr r r!rDPszUserString.centerr cCs t|tr|j}|j|||Sr$)rorrrr)substartendr r r!rSs zUserString.countcCs"t|tr|j}||j|Sr$)rorrrb removeprefix)r)prefixr r r!rKXs zUserString.removeprefixcCs"t|tr|j}||j|Sr$)rorrrb removesuffix)r)suffixr r r!rM]s zUserString.removesuffixutf-8strictcCs.|dur dn|}|durdn|}|j||S)NrOrP)rencode)r)encodingerrorsr r r!rQbszUserString.encodecCs|j|||Sr$)rendswith)r)rNrIrJr r r!rTgszUserString.endswithcCs||j|Sr$)rbr expandtabs)r)tabsizer r r!rVjszUserString.expandtabscCs t|tr|j}|j|||Sr$)rorrfindrGr r r!rXms zUserString.findcOs|jj|i|Sr$)rformatr,r r r!rYrszUserString.formatcCs |j|Sr$)r format_map)r)rr r r!rZuszUserString.format_mapcCs|j|||Sr$r*rGr r r!rxszUserString.indexcCs |jSr$)risalphar(r r r!r[{szUserString.isalphacCs |jSr$)risalnumr(r r r!r\~szUserString.isalnumcCs |jSr$)risasciir(r r r!r]szUserString.isasciicCs |jSr$)r isdecimalr(r r r!r^szUserString.isdecimalcCs |jSr$)risdigitr(r r r!r_szUserString.isdigitcCs |jSr$)rrr(r r r!rszUserString.isidentifiercCs |jSr$)rislowerr(r r r!r`szUserString.islowercCs |jSr$)r isnumericr(r r r!raszUserString.isnumericcCs |jSr$)r isprintabler(r r r!rbszUserString.isprintablecCs |jSr$)risspacer(r r r!rcszUserString.isspacecCs |jSr$)ristitler(r r r!rdszUserString.istitlecCs |jSr$)risupperr(r r r!reszUserString.isuppercCs |j|Sr$)rrr/r r r!rszUserString.joincGs||jj|g|RSr$)rbrljustrEr r r!rfszUserString.ljustcCs||jSr$)rbrlowerr(r r r!rgszUserString.lowerNcCs||j|Sr$)rbrlstripr)charsr r r!rhszUserString.lstripcCs |j|Sr$)r partitionr)sepr r r!rkszUserString.partitionr(cCs6t|tr|j}t|tr |j}||j|||Sr$)rorrrbr)r)oldrzmaxsplitr r r!rs   zUserString.replacecCs t|tr|j}|j|||Sr$)rorrrfindrGr r r!rps zUserString.rfindcCs|j|||Sr$)rrindexrGr r r!rqszUserString.rindexcGs||jj|g|RSr$)rbrrjustrEr r r!rrszUserString.rjustcCs |j|Sr$)r rpartitionrlr r r!rsszUserString.rpartitioncCs||j|Sr$)rbrrstriprir r r!rtszUserString.rstripcCs|j||Sr$)rrr)rmror r r!rszUserString.splitcCs|j||Sr$)rrsplitrur r r!rvszUserString.rsplitFcCs |j|Sr$)r splitlines)r)keependsr r r!rwszUserString.splitlinescCs|j|||Sr$)rr)r)rLrIrJr r r!rszUserString.startswithcCs||j|Sr$)rbrstriprir r r!ryszUserString.stripcCs||jSr$)rbrswapcaser(r r r!rzszUserString.swapcasecCs||jSr$)rbrtitler(r r r!r{szUserString.titlecGs||jj|Sr$)rbr translater>r r r!r|szUserString.translatecCs||jSr$)rbrupperr(r r r!r}szUserString.uppercCs||j|Sr$)rbrzfill)r)rFr r r!r~szUserString.zfill)rOrP)rU)N)r()N)Nr()Nr()F)N)Krr,r-r?r1rdr3r5r7r9rrprrrrrrrrr"r$r.r?rArBrCrDrRmaxsizerrKrMrQrTrVrXrYrZrr[r\r]r^r_rr`rarbrcrdrerrfrgrhr maketransrkrrprqrrrsrtrrvrwrryrzr{r|r}r~r r r r!rs         r)7r}rrheapqrsysrR itertoolsr rr rr rkeywordrroperatorrrsrrreprlibrr_weakrefrr9 _collectionsr ImportErrorMutableSequenceregisterrr"KeysViewr# ItemsViewr. ValuesViewr1rr2rLrrr rrr~rrrSequencerr r r r!sj            k/ZPK!h!Ocollections/abc.pyca +l]@s$ddlTddlmZddlmZdS))*)__all__)_CallableGenericAliasN)_collections_abcrrrr?/usr/local/cpython-exe-builder/lib/python3.9/collections/abc.pys PK!A[ff copyreg.pyca `*@sdZgdZiZdddZddZzeWney<Yn0ddZeeeed d Zd Z e e j Z d d ZddZddZddZiZiZiZddZddZddZdS)zHelper to provide extensibility for pickle. This is only useful to add pickle support for extension types defined in C, not for instances of user-defined classes. )pickle constructor add_extensionremove_extensionclear_extension_cacheNcCs,t|std|t|<|dur(t|dS)Nz$reduction functions must be callable)callable TypeErrordispatch_tabler)ob_typepickle_functionconstructor_obr 7/usr/local/cpython-exe-builder/lib/python3.9/copyreg.pyr s rcCst|stddS)Nzconstructors must be callable)rr)objectr r r rsrcCst|j|jffSN)complexrealimag)cr r r pickle_complex"srcCs<|turt|}n$|||}|jtjkr8||||Sr)r__new____init__)clsbasestateobjr r r _reconstructor)s     ric Cs|dks J|j}|jD]:}t|dr4|jt@s4qX|j}t|tr|j|urqXqt }|t urfd}n"||urt d|j d||}|||f}z |j }WnXt yt|ddrt d|j d|dz |j}Wnt yd}Yn0Yn0|}|r t||fSt|fSdS)N __flags__zcannot pickle z object __slots__zf object: a class that defines __slots__ without defining __getstate__ cannot be pickled with protocol ) __class____mro__hasattrr _HEAPTYPEr isinstance _new_type__self__rr__name__ __getstate__AttributeErrorgetattr__dict__r) selfprotorrnewrargsgetstatedictr r r _reduce_ex7s@          r1cGs|j|g|RSrr)rr.r r r __newobj__^sr3cCs|j|g|Ri|S)zUsed by pickle protocol 4, instead of __newobj__ to allow classes with keyword-only arguments to be pickled correctly. r2)rr.kwargsr r r __newobj_ex__asr5cCs|jd}|dur|Sg}t|ds(n|jD]}d|jvr.|jd}t|trV|f}|D]^}|dvrjqZqZ|dr|ds|j d}|r| d||fq| |qZ| |qZq.z ||_ Wn Yn0|S)aReturn a list of slot names for a given class. This needs to find slots defined by the class and its bases, so we can't simply return the __slots__ attribute. We must walk down the Method Resolution Order and concatenate the __slots__ of each class found there. (This assumes classes don't modify their __slots__ attribute to misrepresent their slots after the class is defined.) __slotnames__Nr)r* __weakref_____z_%s%s) r*getr!r r#str startswithendswithr&lstripappendr6)rnamesrslotsnamestrippedr r r _slotnamesgs2         rDcCst|}d|krdks&ntd||f}t||krNt||krNdS|tvrjtd|t|f|tvrtd|t|f|t|<|t|<dS)zRegister an extension code.izcode out of rangeNz)key %s is already registered with code %sz$code %s is already in use for key %s)int ValueError_extension_registryr:_inverted_registrymodulerBcodekeyr r r rs$   rcCsR||f}t||ks$t||kr4td||ft|=t|=|tvrNt|=dS)z0Unregister an extension code. For testing only.z%key %s is not registered with code %sN)rHr:rIrG_extension_cacherJr r r rs rcCs tdSr)rNclearr r r r rsr)N)__doc____all__rrrr NameErrorrrr"typerFrr$r1r3r5rDrHrIrNrrrr r r r s.     '< PK!QQencodings/__init__.pyca 9}@sdZddlZddlZddlmZiZdZdgZejZGddde e Z d d Z d d Z ee ejd kr|ddZeedS)a2 Standard "encodings" Package Standard Python encoding modules are stored in this package directory. Codec modules must have names corresponding to normalized encoding names as defined in the normalize_encoding() function below, e.g. 'utf-8' must be implemented by the module 'utf_8.py'. Each codec module must export the following interface: * getregentry() -> codecs.CodecInfo object The getregentry() API must return a CodecInfo object with encoder, decoder, incrementalencoder, incrementaldecoder, streamwriter and streamreader attributes which adhere to the Python Codec Interface Standard. In addition, a module may optionally also define the following APIs which are then used by the package's codec search function: * getaliases() -> sequence of encoding name strings to use as aliases Alias names returned by getaliases() must be normalized encoding names as defined by normalize_encoding(). Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. N)aliasesz --unknown--*c@s eZdZdS)CodecRegistryErrorN)__name__ __module__ __qualname__r r B/usr/local/cpython-exe-builder/lib/python3.9/encodings/__init__.pyr(srcCsft|trt|d}g}d}|D]:}|s4|dkrV|rF|rF|d||d}q d}q d|S)ae Normalize an encoding name. Normalization works as follows: all non-alphanumeric characters except the dot used for Python package names are collapsed and replaced with a single underscore, e.g. ' -;#' becomes '_'. Leading and trailing underscores are removed. Note that encoding names should be ASCII only. asciiF._T) isinstancebytesstrisalnumappendjoin)encodingcharspunctcr r r normalize_encoding+s    rc Cspt|t}|tur|St|}t|p:t|dd}|durN||g}n|g}|D]@}|rXd|vrjqXztd|tdd}WntyYqX0qqXd}z |j }Wnt yd}Yn0|durdt|<dS|}t |t j s$dt|krdksntd|j|jft|drt|d r|d durRt|d r|d durnt|d rt|dkr|ddurt|drt|d kr|d durt|d std |j|jft|dks|ddur|ddt||jdd d f7}t j |}|t|<z |}Wnt yLYn 0|D]} | tvrR|t| <qR|S)Nr r z encodings.r)fromlistlevelz#module "%s" (%s) failed to registerrz'incompatible codecs in module "%s" (%s))N)_cacheget_unknownr_aliasesreplace __import__ _import_tail ImportError getregentryAttributeErrorrcodecs CodecInfolenrr__file__callablesplit getaliases) rentry norm_encodingaliased_encodingmodnamesmodnamemodr* codecaliasesaliasr r r search_functionFs                      (    r;win32cCsLz4ddl}d|}||kr2ddl}|jWSWntyFYn0dS)Nrzcp%s)_winapiZGetACPZencodings.mbcsmbcsr*r))rr=Zansi_code_page encodingsr r r _alias_mbcss  r@)__doc__r,sysrrr"r$r(r% LookupError SystemErrorrrr;registerplatformr@r r r r s U   PK!xbencodings/aliases.pyca 6}R#sG@sdZddddddddddddddddddddddddddddddddddd d d d d d d d d d dddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d!d!d!d"d"d"d#d#d#d$d$d$d$d%d%d%d%d&d&d&d'd'd(d(d(d)d*d*d*d+d+d+d+d+d+d+d,d-d-d-d-d-d-d-d-d.d.d.d/d0d0d0d0d0d1d1d1d2d2d2d3d3d4d4d5d5d6d6d7d7d8d8d8d9d9d9d9d9d9d:d:d:d;d;d;dd>d>d>d>d?d?d?d?d?d?d@d@d@d@d@d@dAdAdAdAdAdAdBdBdBdBdBdCdCdCdCdCdCdCdDdDdDdDdDdDdDdDdEdEdEdEdEdFdFdFdFdFdFdGdGdHdIdIdIdJdJdJdJdJdJdJdJdJdJdJdJdKdLdMdNdNdNdOdOdPdQdQdRdRdRdRdSdSdSdTdUdUdUdUdVdVdVdWdWdWdXdXdXdXdXdYdYdZdZd[d[d\d\d]d^d_d_d_d`d`d`d`d`d`dadbdbdUd+d-ddcFZddS)ea< Encoding Aliases Support This module is used by the encodings package search function to map encodings names to module names. Note that the search function normalizes the encoding names before doing the lookup, so the mapping will have to map normalized encoding names to module names. Contents: The following aliases dictionary contains mappings of all IANA character set names for which the Python core library provides codecs. In addition to these, a few Python specific codec aliases have also been added. ascii base64_codecbig5 big5hkscs bz2_codeccp037cp1026cp1125cp1140cp1250cp1251cp1252cp1253cp1254cp1255cp1256cp1257cp1258cp273cp424cp437cp500cp775cp850cp852cp855cp857cp858cp860cp861cp862cp863cp864cp865cp866cp869cp932cp949cp950 euc_jis_2004 euc_jisx0213euc_jpeuc_krgb18030gb2312gbk hex_codec hp_roman8hz iso2022_jp iso2022_jp_1 iso2022_jp_2iso2022_jp_2004 iso2022_jp_3iso2022_jp_ext iso2022_kr iso8859_10 iso8859_11 iso8859_13 iso8859_14 iso8859_15 iso8859_16 iso8859_2 iso8859_3 iso8859_4 iso8859_5 iso8859_6 iso8859_7 iso8859_8 iso8859_9johabkoi8_rkz1048latin_1 mac_cyrillic mac_greek mac_iceland mac_latin2 mac_roman mac_turkishmbcsptcp154 quopri_codecrot_13 shift_jisshift_jis_2004shift_jisx0213tis_620utf_16 utf_16_be utf_16_leutf_32 utf_32_be utf_32_leutf_7utf_8uu_codec zlib_codec(F646zansi_x3.4_1968ansi_x3_4_1968zansi_x3.4_1986cp367csasciiibm367 iso646_usziso_646.irv_1991iso_ir_6usus_asciibase64base_64big5_twcsbig5 big5_hkscshkscsbz2037csibm037 ebcdic_cp_ca ebcdic_cp_nl ebcdic_cp_us ebcdic_cp_wtibm037ibm0391026 csibm1026ibm10261125ibm1125cp866uruscii1140ibm11401250 windows_12501251 windows_12511252 windows_12521253 windows_12531254 windows_12541255 windows_12551256 windows_12561257 windows_12571258 windows_1258273ibm273csibm273424csibm424 ebcdic_cp_heibm424437cspc8codepage437ibm437500csibm500 ebcdic_cp_be ebcdic_cp_chibm500775 cspc775balticibm775850cspc850multilingualibm850852cspcp852ibm852855csibm855ibm855857csibm857ibm857858csibm858ibm858860csibm860ibm860861cp_iscsibm861ibm861862cspc862latinhebrewibm862863csibm863ibm863864csibm864ibm864865csibm865ibm865866csibm866ibm866869cp_grcsibm869ibm869932ms932mskanjims_kanji949ms949uhc950ms950jisx0213 eucjis2004 euc_jis2004 eucjisx0213eucjpujisu_jiseuckrkoreanksc5601 ks_c_5601ks_c_5601_1987ksx1001 ks_x_1001 gb18030_2000chinesecsiso58gb231280euc_cneuccn eucgb2312_cn gb2312_1980 gb2312_80 iso_ir_58936cp936ms936hexroman8r8 csHPRoman8cp1051ibm1051hzgbhz_gb hz_gb_2312 csiso2022jp iso2022jp iso_2022_jp iso2022jp_1 iso_2022_jp_1 iso2022jp_2 iso_2022_jp_2iso_2022_jp_2004iso2022jp_2004 iso2022jp_3 iso_2022_jp_3 iso2022jp_extiso_2022_jp_ext csiso2022kr iso2022kr iso_2022_kr csisolatin6 iso_8859_10iso_8859_10_1992 iso_ir_157l6latin6thai iso_8859_11iso_8859_11_2001 iso_8859_13l7latin7 iso_8859_14iso_8859_14_1998 iso_celtic iso_ir_199l8latin8 iso_8859_15l9latin9 iso_8859_16iso_8859_16_2001 iso_ir_226l10latin10 csisolatin2 iso_8859_2iso_8859_2_1987 iso_ir_101l2latin2 csisolatin3 iso_8859_3iso_8859_3_1988 iso_ir_109l3latin3 csisolatin4 iso_8859_4iso_8859_4_1988 iso_ir_110l4latin4csisolatincyrilliccyrillic iso_8859_5iso_8859_5_1988 iso_ir_144arabicasmo_708csisolatinarabicecma_114 iso_8859_6iso_8859_6_1987 iso_ir_127csisolatingreekecma_118elot_928greekgreek8 iso_8859_7iso_8859_7_1987 iso_ir_126csisolatinhebrewhebrew iso_8859_8iso_8859_8_1988 iso_ir_138 csisolatin5 iso_8859_9iso_8859_9_1989 iso_ir_148l5latin5cp1361ms1361cskoi8rkz_1048rk1048 strk1048_20028859cp819 csisolatin1ibm819iso8859 iso8859_1 iso_8859_1iso_8859_1_1987 iso_ir_100l1latinlatin1 maccyrillicmacgreek macicelandmaccentraleurope mac_centeuro maclatin2 macintoshmacroman macturkishansidbcs csptcp154pt154cp154cyrillic_asianquopriquoted_printablequotedprintablerot13 csshiftjisshiftjissjiss_jis shiftjis2004 sjis_2004 s_jis_2004 shiftjisx0213 sjisx0213 s_jisx0213tis620 tis_620_0tis_620_2529_0tis_620_2529_1 iso_ir_166u16utf16unicodebigunmarkedutf_16beunicodelittleunmarkedutf_16leu32utf32utf_32beutf_32leu7utf7unicode_1_1_utf_7u8utfutf8 utf8_ucs2 utf8_ucs4cp65001uuzipzlibx_mac_japanese x_mac_koreanx_mac_simp_chinesex_mac_trad_chineseN)__doc__aliasesrrA/usr/local/cpython-exe-builder/lib/python3.9/encodings/aliases.pys PK!=ssencodings/ascii.pyca Fʡ@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZGd ddeeZddZdS)z Python 'ascii' Codec Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. Nc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecs ascii_encodeencode ascii_decodedecoder r ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/ascii.pyr src@seZdZdddZdS)IncrementalEncoderFcCst||jdSNr)rrerrorsselfinputfinalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r r sr c@seZdZdddZdS)IncrementalDecoderFcCst||jdSr)rr rrr r r r szIncrementalDecoder.decodeN)F)rrrr r r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc@seZdZejZejZdS)StreamConverterN)rrrrr rrr r r r r r"src CstjdtjtjttttdS)Nascii)namerr incrementalencoderincrementaldecoder streamwriter streamreader) r CodecInforrr r rrrr r r r getregentry)sr ) __doc__rrr rrrrr r r r r sPK!j$Z Z encodings/base64_codec.pyca BSfp@sdZddlZddlZdddZdddZGdd d ejZGd d d ejZGd d d ejZGdddeejZGdddeej Z ddZ dS)zPython 'base64_codec' Codec - base64 content transfer encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). NstrictcCs|dks Jt|t|fSNr)base64 encodebytesleninputerrorsr F/usr/local/cpython-exe-builder/lib/python3.9/encodings/base64_codec.py base64_encode s r cCs|dks Jt|t|fSr)r decodebytesrrr r r base64_decodes rc@s eZdZdddZdddZdS) CodecrcCs t||SN)r selfrr r r r encodesz Codec.encodecCs t||Sr)rrr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r rs rc@seZdZdddZdS)IncrementalEncoderFcCs|jdksJt|Sr)r rrrrfinalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCs|jdksJt|Sr)r rr rr r r r!szIncrementalDecoder.decodeN)F)rrrrr r r r r src@seZdZeZdS) StreamWriterNrrrbytescharbuffertyper r r r r%src@seZdZeZdS) StreamReaderNrr r r r r (sr c CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoder streamwriter streamreader_is_text_encoding)codecs CodecInfor rrrrr r r r r getregentry-sr))r)r) __doc__r'rr rrrrrr r)r r r r s  PK!*encodings/big5.pyca  }B@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Nbig5c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r >/usr/local/cpython-exe-builder/lib/python3.9/encodings/big5.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_twr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!4zencodings/big5hkscs.pyca 3=#rB@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)N big5hkscsc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r C/usr/local/cpython-exe-builder/lib/python3.9/encodings/big5hkscs.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_hkr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!^K encodings/bz2_codec.pyca U`Qע@sdZddlZddlZdddZdddZGdd d ejZGd d d ejZGd d d ejZGdddeejZGdddeej Z ddZ dS)aPython 'bz2_codec' Codec - bz2 compression encoding. This codec de/encodes from bytes to bytes and is therefore usable with bytes.transform() and bytes.untransform(). Adapted by Raymond Hettinger from zlib_codec.py which was written by Marc-Andre Lemburg (mal@lemburg.com). NstrictcCs|dks Jt|t|fSNr)bz2compressleninputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/bz2_codec.py bz2_encodes r cCs|dks Jt|t|fSr)r decompressrrr r r bz2_decodes rc@s eZdZdddZdddZdS) CodecrcCs t||SN)r selfrr r r r encodesz Codec.encodecCs t||Sr)rrr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r rs rc@s(eZdZd ddZd ddZddZd S) IncrementalEncoderrcCs |dks J||_t|_dSr)r r BZ2Compressor compressobjrr r r r __init__s zIncrementalEncoder.__init__FcCs.|r|j|}||jS|j|SdSr)rrflush)rrfinalcr r r r#s zIncrementalEncoder.encodecCst|_dSr)rrrrr r r reset*szIncrementalEncoder.resetN)r)F)rrrrrr!r r r r rs  rc@s(eZdZd ddZd ddZddZd S) IncrementalDecoderrcCs |dks J||_t|_dSr)r rBZ2Decompressor decompressobjrr r r r.s zIncrementalDecoder.__init__FcCs(z|j|WSty"YdS0dS)N)r$r EOFError)rrrr r r r3s zIncrementalDecoder.decodecCst|_dSr)rr#r$r r r r r!9szIncrementalDecoder.resetN)r)F)rrrrrr!r r r r r"-s  r"c@seZdZeZdS) StreamWriterNrrrbytescharbuffertyper r r r r'<sr'c@seZdZeZdS) StreamReaderNr(r r r r r+?sr+c CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoder streamwriter streamreader_is_text_encoding)codecs CodecInfor rrr"r'r+r r r r getregentryDsr4)r)r) __doc__r2rr rrrr"r'r+r4r r r r s   PK!Te e encodings/charmap.pyca A[@svdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdS)a Generic Python Character Mapping Codec. Use this codec directly rather than through the automatic conversion mechanisms supplied by unicode() and .encode(). Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. Nc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecscharmap_encodeencodecharmap_decodedecoder r A/usr/local/cpython-exe-builder/lib/python3.9/encodings/charmap.pyrsrc@s eZdZdddZd ddZdS) IncrementalEncoderstrictNcCstj||||_dSN)rr __init__mappingselferrorsrr r r rszIncrementalEncoder.__init__FcCst||j|jdSNr)rrrrrinputfinalr r r rszIncrementalEncoder.encode)rN)Frrrrrr r r r r s r c@s eZdZdddZd ddZdS) IncrementalDecoderrNcCstj||||_dSr)rrrrrr r r r!szIncrementalDecoder.__init__FcCst||j|jdSr)rr rrrr r r r %szIncrementalDecoder.decode)rN)Frrrrr r r r r r s rc@s eZdZdddZdddZdS) StreamWriterrNcCstj|||||_dSr)rrrrrstreamrrr r r r*szStreamWriter.__init__cCst|||jSr)rrrrrrr r r r.szStreamWriter.encode)rN)rrr r r r r(s rc@s eZdZdddZdddZdS) StreamReaderrNcCstj|||||_dSr)rr rrrr r r r3szStreamReader.__init__cCst|||jSr)rr rrr r r r 7szStreamReader.decode)rN)rrr r r r r 1s r c CstjdtjtjttttdS)Ncharmap)namerr incrementalencoderincrementaldecoder streamwriter streamreader) r CodecInforrr r rrr r r r r getregentry<sr()__doc__rrr rrr r(r r r r s   PK!4b encodings/cp037.pyca fȘc@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zs Python Character Mapping Codec cp037 generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP037.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp037.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp037)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$uœ †—Ž …‡’€‚ƒ„ ˆ‰Š‹Œ‘“”•–˜™š›ž  âäàáãåçñ¢.<(+|&éêëèíîïìß!$*);¬-/ÂÄÀÁÃÅÇѦ,%_>?øÉÊËÈÍÎÏÌ`:#@'="Øabcdefghi«»ðýþ±°jklmnopqrªºæ¸Æ¤µ~stuvwxyz¡¿ÐÝÞ®^£¥·©§¶¼½¾[]¯¨´×{ABCDEFGHI­ôöòóõ}JKLMNOPQR¹ûüùúÿ\÷STUVWXYZ²ÔÖÒÓÕ0123456789³ÛÜÙڟ) __doc__rrrrrrr$r charmap_buildrr r r r sPK!mݲq encodings/cp1006.pyca  F=<@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zl Python Character Mapping Codec cp1006 generated from 'MAPPINGS/VENDORS/MISC/CP1006.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1006.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)NZcp1006)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ۰۱۲۳۴۵۶۷۸۹،؛­؟ﺁﺍﺎﺎﺏﺑﭖﭘﺓﺕﺗﭦﭨﺙﺛﺝﺟﭺﭼﺡﺣﺥﺧﺩﮄﺫﺭﮌﺯﮊﺱﺳﺵﺷﺹﺻﺽﺿﻁﻅﻉﻊﻋﻌﻍﻎﻏﻐﻑﻓﻕﻗﻙﻛﮒﮔﻝﻟﻠﻡﻣﮞﻥﻧﺅﻭﮦﮨﮩﮪﺀﺉﺊﺋﻱﻲﻳﮰﮮﹼﹽ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!T encodings/cp1026.pyca zqq@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zu Python Character Mapping Codec cp1026 generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP1026.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1026.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1026)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$uœ †—Ž …‡’€‚ƒ„ ˆ‰Š‹Œ‘“”•–˜™š›ž  âäàáãå{ñÇ.<(+!&éêëèíîïìßĞİ*);^-/ÂÄÀÁÃÅ[Ñş,%_>?øÉÊËÈÍÎÏÌı:ÖŞ'=ÜØabcdefghi«»}`¦±°jklmnopqrªºæ¸Æ¤µöstuvwxyz¡¿]$@®¢£¥·©§¶¼½¾¬|¯¨´×çABCDEFGHI­ô~òóõğJKLMNOPQR¹û\ùúÿü÷STUVWXYZ²Ô#ÒÓÕ0123456789³Û"Ùڟ) __doc__rrrrrrr$r charmap_buildrr r r r sPK!encodings/cp1125.pyca a@lk@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7dd8d9d:dd;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdnddodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddddddddZ dS(z, Python Character Mapping Codec for CP1125 Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1125.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1125)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$ !"#$%&'()*+,-./0123456789:;<=>?%%%%$%a%b%V%U%c%Q%W%]%\%[%%%4%,%%%<%^%_%Z%T%i%f%`%P%l%g%h%d%e%Y%X%R%S%k%j%% %%%%%%@ABCDEFGHIJKLMNOQTVW"!%)rrru  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~r"r rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr!(rr#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrrrrrrrrrrrrrrrrrrrrrrrrrjrYrrerfrrirZrhrgrkrsr`r{r|ror^r]rarzryrnrdrcrbrlrmrrr[r\r_rwrxrqrurvrpr~r}rtrrrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!%" encodings/cp1140.pyca ‚B@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zf Python Character Mapping Codec cp1140 generated from 'python-mappings/CP1140.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1140.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1140)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$uœ †—Ž …‡’€‚ƒ„ ˆ‰Š‹Œ‘“”•–˜™š›ž  âäàáãåçñ¢.<(+|&éêëèíîïìß!$*);¬-/ÂÄÀÁÃÅÇѦ,%_>?øÉÊËÈÍÎÏÌ`:#@'="Øabcdefghi«»ðýþ±°jklmnopqrªºæ¸Æ€µ~stuvwxyz¡¿ÐÝÞ®^£¥·©§¶¼½¾[]¯¨´×{ABCDEFGHI­ôöòóõ}JKLMNOPQR¹ûüùúÿ\÷STUVWXYZ²ÔÖÒÓÕ0123456789³ÛÜÙڟ) __doc__rrrrrrr$r charmap_buildrr r r r sPK!:v< encodings/cp1250.pyca 8@rԫ@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zv Python Character Mapping Codec cp1250 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1250.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1250.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1250)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€￾‚￾„…†‡￾‰Š‹ŚŤŽŹ￾‘’“”•–—￾™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙) __doc__rrrrrrr$r charmap_buildrr r r r sPK!J encodings/cp1251.pyca sZgv@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zv Python Character Mapping Codec cp1251 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1251.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1251.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1251)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—￾™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя) __doc__rrrrrrr$r charmap_buildrr r r r sPK!i encodings/cp1252.pyca ;s@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zv Python Character Mapping Codec cp1252 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1252.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1252)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€￾‚ƒ„…†‡ˆ‰Š‹Œ￾Ž￾￾‘’“”•–—˜™š›œ￾žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ) __doc__rrrrrrr$r charmap_buildrr r r r sPK!_ encodings/cp1253.pyca ;_@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zv Python Character Mapping Codec cp1253 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1253.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1253.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1253)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€￾‚ƒ„…†‡￾‰￾‹￾￾￾￾￾‘’“”•–—￾™￾›￾￾￾￾ ΅Ά£¤¥¦§¨©￾«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ￾ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ￾) __doc__rrrrrrr$r charmap_buildrr r r r sPK!? encodings/cp1254.pyca ӡ g@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zv Python Character Mapping Codec cp1254 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1254.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1254.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1254)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€￾‚ƒ„…†‡ˆ‰Š‹Œ￾￾￾￾‘’“”•–—˜™š›œ￾￾Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ) __doc__rrrrrrr$r charmap_buildrr r r r sPK!pv encodings/cp1255.pyca жϖ@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zv Python Character Mapping Codec cp1255 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1255.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1255.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1255)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€￾‚ƒ„…†‡ˆ‰￾‹￾￾￾￾￾‘’“”•–—˜™￾›￾￾￾￾ ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹ￾ֻּֽ־ֿ׀ׁׂ׃װױײ׳״￾￾￾￾￾￾￾אבגדהוזחטיךכלםמןנסעףפץצקרשת￾￾‎‏￾) __doc__rrrrrrr$r charmap_buildrr r r r sPK!{wu encodings/cp1256.pyca o䍕S@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zv Python Character Mapping Codec cp1256 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1256.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1256.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1256)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے) __doc__rrrrrrr$r charmap_buildrr r r r sPK!y encodings/cp1257.pyca )@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zv Python Character Mapping Codec cp1257 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1257.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1257.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1257)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€￾‚￾„…†‡￾‰￾‹￾¨ˇ¸￾‘’“”•–—￾™￾›￾¯˛￾ ￾¢£¤￾¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙) __doc__rrrrrrr$r charmap_buildrr r r r sPK!U%< encodings/cp1258.pyca pدQ@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zv Python Character Mapping Codec cp1258 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1258.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp1258.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp1258)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€￾‚ƒ„…†‡ˆ‰￾‹Œ￾￾￾￾‘’“”•–—˜™￾›œ￾￾Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ) __doc__rrrrrrr$r charmap_buildrr r r r sPK!4͡ encodings/cp273.pyca a5^Ai@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zd Python Character Mapping Codec cp273 generated from 'python-mappings/CP273.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp273.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp273)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$uœ †—Ž …‡’€‚ƒ„ ˆ‰Š‹Œ‘“”•–˜™š›ž  â{àáãåçñÄ.<(+!&éêëèíîïì~Ü$*);^-/Â[ÀÁÃÅÇÑö,%_>?øÉÊËÈÍÎÏÌ`:#§'="Øabcdefghi«»ðýþ±°jklmnopqrªºæ¸Æ¤µßstuvwxyz¡¿ÐÝÞ®¢£¥·©@¶¼½¾¬|‾¨´×äABCDEFGHI­ô¦òóõüJKLMNOPQR¹û}ùúÿÖ÷STUVWXYZ²Ô\ÒÓÕ0123456789³Û]Ùڟ) __doc__rrrrrrr$r charmap_buildrr r r r sPK!eĮ encodings/cp424.pyca 3y7 @sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec cp424 generated from 'MAPPINGS/VENDORS/MISC/CP424.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp424.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp424)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$uœ †—Ž …‡’€‚ƒ„ ˆ‰Š‹Œ‘“”•–˜™š›ž אבגדהוזחט¢.<(+|&יךכלםמןנס!$*);¬-/עףפץצקרש¦,%_>?￾ת￾￾ ￾￾￾‗`:#@'="￾abcdefghi«»￾￾￾±°jklmnopqr￾￾￾¸￾¤µ~stuvwxyz￾￾￾￾￾®^£¥·©§¶¼½¾[]¯¨´×{ABCDEFGHI­￾￾￾￾￾}JKLMNOPQR¹￾￾￾￾￾\÷STUVWXYZ²￾￾￾￾￾0123456789³￾￾￾￾Ÿ) __doc__rrrrrrr$r charmap_buildrr r r r sPK!DXencodings/cp437.pyca 9Xr@sVdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d dddd(ddddddd6dd4dd!d3ddd:d>dddddd d-d!d"d0d#dd$d%d&d'd(d)d*d+d,d-d=d.d/d0d1d+d2d3d$d4d,d5d6d7d8ddddddddd9ddd1dd:d'd&dddd;d2d%dd?d8d@dAdBdCdDdEddFd7dGd)d dHdd?dIdJdKdLd;du  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorrSrArBrCrLrTrPrrrrrrMrUrRrQrNr4r5r8r&r6rKr?r@rr+rFr)r*r,r7r-r0r(r.r/r3rGr2r1rJr;rHr9r:rr=rIr<r'r>rErrrrrrrrrrrrrrDrrrrrrrrrOrrrjrYrrerfrrirZrhrgrkrsr`r{r|ror^r]rarzryrnrdrcrbrlrmrrr[r\r_rwrxrqrurvrpr~r}rtrrrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!6U encodings/cp500.pyca p]E3@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zs Python Character Mapping Codec cp500 generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP500.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp500.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp500)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$uœ †—Ž …‡’€‚ƒ„ ˆ‰Š‹Œ‘“”•–˜™š›ž  âäàáãåçñ[.<(+!&éêëèíîïìß]$*);^-/ÂÄÀÁÃÅÇѦ,%_>?øÉÊËÈÍÎÏÌ`:#@'="Øabcdefghi«»ðýþ±°jklmnopqrªºæ¸Æ¤µ~stuvwxyz¡¿ÐÝÞ®¢£¥·©§¶¼½¾¬|¯¨´×{ABCDEFGHI­ôöòóõ}JKLMNOPQR¹ûüùúÿ\÷STUVWXYZ²ÔÖÒÓÕ0123456789³ÛÜÙڟ) __doc__rrrrrrr$r charmap_buildrr r r r sPK! encodings/cp720.pyca T@@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zPython Character Mapping Codec cp720 generated on Windows: Vista 6.0.6002 SP2 Multiprocessor Free with the command: python Tools/unicode/genwincodec.py 720 Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp720.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)NZcp720)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry#sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!z  encodings/cp737.pyca W}ѫ@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCddDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[dd\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdnddodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddddddddZ dS(zf Python Character Mapping Codec cp737 generated from 'VENDORS/MICSFT/PC/CP737.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp737.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)NZcp737)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#%%%%$%a%b%V%U%c%Q%W%]%\%[%%%4%,%%%<%^%_%Z%T%i%f%`%P%l%g%h%d%e%Y%X%R%S%k%j%% %%%%%%e"d"H""" %)rrrrrru  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrr r r r rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<rrrrrrr=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrOrNrPrQrRrSrTrrrrrrrrrrrrrirXrrdrer~rhrYrgrfrjrrr_rzr{rnr]r\r`ryrxrmrcrbrarkrlrqrZr[r^rvrwrprtruror}r|rsrrrrrrUrVrWr)__doc__rrrrrrr#make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!Iencodings/cp775.pyca :̝@sfdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/dd0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddddddddddZ dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddsdd8ddd7d+dddd!ddddd9d=d1dddd d!dd"d#d$d%d&d'd(d)d*d&dd+d$d,d-dd.dud/d0d1dd2d3d4d5dodd6d7d8d9d:d:d;ddd?d@dAdBdCdDdEdFdGdHdIddtdJd.d"d)dKdLd,d/dMd-dNdOd6ddPdddQdRdSdTdUdVdWdXddYdZd d>d[d;d\dd]d^d_dpd*d`dadbddddcddZ dS(ezf Python Character Mapping Codec cp775 generated from 'VENDORS/MICSFT/PC/CP775.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp775.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp775)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$#BVW+yM"Z[*{|z A%%%%$% c%Q%W%]%.`%%4%,%%%<%rjZ%T%i%f%`%P%l%} /ask~% %%%%%%LCD67;<FE   "%)rr<rBrErLrrMrSrOrrNrrrrrrrrrTrQrPrr4r5r8r6rrr?rDrCr@rr*r,r7r(rGrr:rrAr'u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrr<rBrErLrrMrSrOrrNrrrrrrrrrTrQrPrr4r5r8r6rrr?rDrCr@rr*r,r7r(rGrr:rrAr'r%r)rZrur&r-r[rvrr/r]rxr\rwr;r+rFr2rbryrrrrrRr.rrrrrr9r0r1r=r>rcrzrlr|rkr{r3rJrHrIrtr}rrrKrrrirXrrdrer~rhrYrgrfrjrrr_rnr`rmrarqr^rprorsrrrrrrUrVrWr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!()mmencodings/cp850.pyca /٪@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d dddd(dd;ddhdd}dtd'ddmd9d6d`dHdd+d4d|ddd!d#d3dd&dd~d:d>d2dddvdddddddrddsdpdxd)d.d-d5dNdVddddddddddd1dd0dddd"dddd d!d"d#d$d%d=d&d'dad_d(dMd)dd*d$d+d,d,d-d.ddd/dud0d%dddyd8dGd{dWddFdEddfd7d d?dddu  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrrSrcrBrurdrrrr^rLrTrPrrOrrrrrrrrrrrrMrUrRrQrrNr]r[r\rmr4r5r8r&rzr6rxryrr|r}r~rwrKrrrrr?rDrCrrrr@rrrr+rFr)rlr*r,r7r-r0r(r.r/r3rGr2r1rvrJr;rHr9rr:rrAr=rIr<r'rrr>r{rErrjrYrrerfrrirZrhrgrkrsr`rorarnrbrrr_rqrprtrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!)Dencodings/cp852.pyca e@sldZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddddddddddddddpd)d.d dd!d"dd#d1d0dd$d%d&d'd(d)d*d+d,d-d$d.d/d0d1dd_d2d3d4d:d5d6drd7d8dd9d:d;d<d=d>d?d@dAdBddCdDdEdFdGdHdd|dIdJdddKdd}ddLdMdNdOddPdQd>dRdSdTdd2d#d3dUdVddWdydXdYdZd[ddFdEd\dfd]d d?d^d_d`dadcdbdgdqd*dcddddedfdgZ dS(hz` Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP852.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp852.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp852)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$oBPQy9:=>Z[deA }~z _%%%%$%^c%Q%W%]%{|%%4%,%%%<%Z%T%i%f%`%P%l%G% %%%bn%CDH`aTUpcqXY%)rrurrrTrPrrrrrUr[r\r4r&r6ryr|r}rrr?rDrr@rrrFr)r*r-r(r/rGr2rHr9r:rrIr'ru  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzrrurrrTrPrrrrrUr[r\r4r&r6ryr|r}rrr?rDrr@rrrFr)r*r-r(r/rGr2rHr9r:rrIr'rrlrmrJrKr5r,rRrErxrzrwrvrNrOr]r~r7r8r;r<rCr.rrr{rr0r1rrrrr=r>r^rSrrrrrArBrr+rrr3rQrcrdrLrMrrrrrrjrYrrerfrrirZrhrgrkrsr`rorarnrbrrr_rqrprtrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!Yencodings/cp855.pyca >lW@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'ddd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d>d7d8d9d:d;d<d=d>d?d@dAddBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVd_dWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d?d}d~dddddddddddddZ dS(z` Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP855.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp855.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp855)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$RSQTUVWXY Z [ \ ^_N.J*01F&45D$3%%%%$%E%8c%Q%W%]%9%%4%,%%%<%:Z%T%i%f%`%P%l%;<=>?% %%%O%/@ A!B"C#62L,!K+7H(M-I)G'%)rrurrTrrUu  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrr rr rrrrrrrrrrrrrrrrrrrrrrrrrr rrrr rrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrurrTrrUr+r'r)r-r/r1r3r5r7r9r;r=r?rArGrIrrSrMrOrrr^rdrmrwryr{r}rrrrrrQr\rKrrrrErrrrCrrFrHrrRrLrNrrr]rcrlrvrxrzr|r~rrrrrPr[rJrrrrDrrrrBrr*r&r(r,r.r0r2r4r6r8r:r<r>r@rrjrYrrerfrrirZrhrgrkrsr`rorarnrbrrr_rqrprtrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!* encodings/cp856.pyca ?ۋ@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec cp856 generated from 'MAPPINGS/VENDORS/MISC/CP856.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp856.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)NZcp856)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~אבגדהוזחטיךכלםמןנסעףפץצקרשת￾£￾×￾￾￾￾￾￾￾￾￾￾®¬½¼￾«»░▒▓│┤￾￾￾©╣║╗╝¢¥┐└┴┬├─┼￾￾╚╔╩╦╠═╬¤￾￾￾￾￾￾￾￾￾┘┌█▄¦￾▀￾￾￾￾￾￾µ￾￾￾￾￾￾￾¯´­±‗¾¶§÷¸°¨·¹³²■ ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!lYYencodings/cp857.pyca DКע4@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcddddedfdgdhdidjdkdldmdndodpdqdrdsdtduddvdwdxdydzd{d|d}d~ddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d dzd}d;d dgdddsd'dd5d9daddHdd+d4dddd!d#d3dd&dd{d:d>d2dddudddddddqddrdodd)dvd-dNdVddddddddddd0dddd"dddd d!d"d#d$d%d=d&d'd_d(dMd)dd*d$d+d,d,d-d.d1dldd/d0d1d2dddwd8dGdydWd|dFdEdded`d d?ddd?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ￾ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ￾×ÚÛÙìÿ¯´­±￾¾¶§÷¸°¨·¹³²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr)rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrrSrcrBrurdrrrr^rwrTrPrrOrrrrrrrrrrrrvrUrRrQrrNr]r[r\rmr4r5r8r&rzr6rxryrr{r|r}rKrrrrr?rrCrrrr@rr+rFr)rlr*r,r7r-r0r(r.r/rGrGr2r1rJr;rHr9rr:rrAr=rIr<r'rrLrMr>r3rDrErjrYrrerfr~rirZrhrgrkrsr`rorarnrbrrr_rqrprtrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s PK!OOencodings/cp858.pyca  @sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d dddd(dd;ddhdd}dtd'ddmd9d6d`dHdd+d4d|ddd!d#d3dd&dd~d:d>d2dddvdddddddrddsdpdxd)d.d-d5dNdVddddddddddd1dd0dddd"dddd d!d"d#d$d%d=d&d'dad_d(dMd)dd*d$d+d,d,d-d.ddd/dud0d%dddyd8dGd{dWddFdEddfd7d d?dddu  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrrSrcrBrurdrrrr^rLrTrPrrOrrrrrrrrrrrrMrUrRrQrrNr]r[r\rmr4r5r8r&rzr6rxryrr|r}r~rwrKrrrrr?rDrCrrrr@rrrr+rFr)rlr*r,r7r-r0r(r.r/r3rGr2r1rvrJr;rHr9rr:rrAr=rIr<r'rrr>r{rErrjrYrrerfrrirZrhrgrkrsr`rorarnrbrrr_rqrprtrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!{Ϋencodings/cp860.pyca 3QP@sRdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d dddddddddd6dd4ddd3ddd:d>ddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d0d/dd0d1d2d3d4d5d6d=d7d8d+d9d:d;ddddd?d@ddAdd1ddBd'dCddDddEd2d%d#d$dFdGd&d8d!d-ddHdddIdd7d)dJd dKdd?dd/d"dLd;d<dMdd(dvdNdOd5d9dPdQdRddSdTdUdqd*dVdWdXddddYdZZ dS([z` Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP860.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp860.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp860)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$ %%%%$%a%b%V%U%c%Q%W%]%\%[%%%4%,%%%<%^%_%Z%T%i%f%`%P%l%g%h%d%e%Y%X%R%S%k%j%% %%%%%%")"a"e"d" #!#H""" %)rrSrArBrLrTrPrrrrrrMrUrRrQrNr7r,r5r4r&r8r6r/r>r1rKrOrEr2r?rCr<r@rr+rFr)r*r-r0r(r.r3rGrJr;rHr9r:rr=rIr'u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrrSrArBrLrTrPrrrrrrMrUrRrQrNr7r,r5r4r&r8r6r/r>r1rKrOrEr2r?rCr<r@rr+rFr)r*r-r0r(r.r3rGrJr;rHr9r:rr=rIr'rrrrrrrrrrrrrrDrrrrrrrrrrrjrYrrerfrrirZrhrgrkrsr`r{r|ror^r]rarzryrnrdrcrbrlrmrrr[r\r_rwrxrqrurvrpr~r}rtrrrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!w)encodings/cp861.pyca <3xf@sVdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddd+dd(d!d3dd:d>ddddddddd d!d"d#d$d%d&d'd0d(dd)d*d+d,d-d.d/d0d1d=d2d3d4d5d$d6d,d7d8d9d:d;dddddddd<d=ddd1dd>d?d&d@dAddd2dBdCd#dDddEd7d8dFdGdHdIdJd4dd5dKdLd)d dMdd?dNd6dOdPd;dr;u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorrSrBrTrPrrrrrrUrRrQrNrJr4r5r8r&r6rKr1rLr?rCrMr@r=r3rr+rFr)r*r,r7r-r0r(r.r/rGr2rHr9r:rrArIr<r'r>r;rErrrrrrrrrrrrrrDrrrrrrrrrOrrrjrYrrerfrrirZrhrgrkrsr`r{r|ror^r]rarzryrnrdrcrbrlrmrrr[r\r_rwrxrqrurvrpr~r}rtrrrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!wwencodings/cp862.pyca /F@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddddd6dd4ddd3ddd:d>dd-d0dd=dd+dd,d d!d"d#d$d%d&d'd(d)d*d+d1d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLddMd2dNdOdPdQdRdSdTd8dUdVdWdXdYdZd[d\d7d]d^d_d`dd?dadbdcddd;d<dedfdgdvdhdid5djdkdldmdndodpdqdqdrdsdtduddddvdwZ dS(xz` Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP862.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp862.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp862)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$ #%%%%$%a%b%V%U%c%Q%W%]%\%[%%%4%,%%%<%^%_%Z%T%i%f%`%P%l%g%h%d%e%Y%X%R%S%k%j%% %%%%%%")"a"e"d" #!#H""" %)rrSrArBrCrLrTrPrrrrrrMrUrRrQrNrKrrFrGrJrHrrIu  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~r rrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr (rr r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrSrArBrCrLrTrPrrrrrrMrUrRrQrNrKrrFrGrJrHrrIrErrrrrrrrrrrrr&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rrDrrrrrrrrrOrrrjrYrrerfrrirZrhrgrkrsr`r{r|ror^r]rarzryrnrdrcrbrlrmrrr[r\r_rwrxrqrurvrpr~r}rtrrrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!7gencodings/cp863.pyca @sVdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d dddddddddd(ddddddd0dddd3dd7d:d>dd d!d"d#d$d%d&d4d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d+d6d7d8d,d9d:d;ddddd?d@dd'd&dAdddBd2dCdDd#dEdFd6dGdHdd-dId1ddJdKdLdMdNdOd d5dd?d)dPd!d=d;d<dQddRdvddSdTdUd$d%dVd"dWdXd8dqd*d.dYdZdddd[d\Z dS(]z` Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP863.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp863.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp863)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$ #%%%%$%a%b%V%U%c%Q%W%]%\%[%%%4%,%%%<%^%_%Z%T%i%f%`%P%l%g%h%d%e%Y%X%R%S%k%j%% %%%%%%")"a"e"d" #!#H""" %)rrArBr>rFr5rJrTrPrMrrrrLrGrr,rrKrUrRrQrSr4r*r&r7r6r8r:rNr;r?rCrDr@rr+r)r-r0r(r.r/r2r1rHr9rr=rIr<r'u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorrArBr>rFr5rJrTrPrMrrrrLrGrr,rrKrUrRrQrSr4r*r&r7r6r8r:rNr;r?rCrDr@rr+r)r-r0r(r.r/r2r1rHr9rr=rIr<r'rErrrrrrrrrrrrr3rrrrrrrrrrOrrrjrYrrerfrrirZrhrgrkrsr`r{r|ror^r]rarzryrnrdrcrbrlrmrrr[r\r_rwrxrqrurvrpr~r}rtrrrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!\#JJencodings/cp864.pyca P@szdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+ddd,d-dd.d/d0ddd1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddd~dZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddddddded)ddddd$dddd d!dd"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8dId9d:d;d<d=d>d?d@dAdBdCd(dDd.dEdFdGdHdIdJdKdLdMd&dNd%dOdPdQdRdSdgdTdUdVdWdXdYdZd[dfd\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwZ dS(xz` Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP864.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp864.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp864)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$j""%%%<%$%,%%4%% %%%"H" `abcdefghi@}Q%)~%r_rzr>r{rDr'r:r(r?r<r;r}r|u  !"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ￾￾ﻻﻼ￾ ­ﺂ£¤ﺄ￾￾ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■￾  !"#$&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rr rrrrrrrrrrrr rrrr rrrr)rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrrr_rrrzr>r{rDr'r:r(r?r<r;r}r|r7r9rKrZr^rrrOrPrQrRrSrTrUrVrWrXr&r)r*r8r=r,r-r4r3r5r6r1r/r0r2r.r+rrr`rarErbrFrcrerfrGrHrgrhrIrirJrjrLrkrMrlrNrmrnrorprqr[rrr\rsr]rtrrurvrwr~rdrxrrrryrrYrrrrrrrrrrrrrrrrrrrrrrr@rArBrC)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s PK!t6encodings/cp865.pyca  vm'@sVdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d dddd(dddddd6d+d4dd!d3dd:d>ddddddddd d!d0d"dd#d$d%d&d'd(d)d*d+d,d=d-d.d?d/d0d1d2d$d3d4d,d5d6d7d8ddddddddd9ddd1dd:d'd&dddd;d2d%dd?d8d@dAdBdCdDdEddFd7dGd)d dHddIdJdKdLdMd;du  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorrSrBrUrLrTrPrrrrrrMrRrQrNr4r5r8r&r6rKr?rCr@rr+rFr)r*r,r7r-r0r(r.r/r3rGr2r1rJr;rHr9r:rrAr=rIr<r'r>rErrrrrrrrrrrrrrDrrrrrrrrrOrrrjrYrrerfrrirZrhrgrkrsr`r{r|ror^r]rarzryrnrdrcrbrlrmrrr[r\r_rwrxrqrurvrpr~r}rtrrrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!Anf  encodings/cp866.pyca 2pMq@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8dd9d:d;dd<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdnddodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddddddddZ dS(z` Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP866.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp866.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp866)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$ !"#$%&'()*+,-./0123456789:;<=>?%%%%$%a%b%V%U%c%Q%W%]%\%[%%%4%,%%%<%^%_%Z%T%i%f%`%P%l%g%h%d%e%Y%X%R%S%k%j%% %%%%%%@ABCDEFGHIJKLMNOQTW^""!%)rrrru  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~r!rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr (rr"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrrrrrrrrrrrrrrrrrrrrrrrrjrYrrerfrrirZrhrgrkrsr`r{r|ror^r]rarzryrnrdrcrbrlrmrrr[r\r_rwrxrqrurvrpr~r}rtrrrrrrVrWrXr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!!encodings/cp869.pyca 4@shdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e dddddddddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddZ dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d dddddddddd5dddddddddd d!d"dd|ddd#ddwd$d%dd&d2d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPddQdRd#dSdTdUdVdWd!dXdYdZd[d\d]d^d_d`dadbdcd6dddedfdgdhdidjdkdldmddxd dndoZ dS(pz` Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP869.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp869.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Ncp869)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$   %%%%$%c%Q%W%]%%%4%,%%%<%Z%T%i%f%`%P%l%% %%%%%)rr9r)rrr4rKr(rrrr6r7r'rLrHu  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~￾￾￾￾￾￾Ά￾·¬¦‘’Έ―ΉΊΪΌ￾￾ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~r rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrr )rr rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrr9r)rrr4rKr(rrrr6r7r'rLrHrrr&r,r.r/r1r2r5r>rArBrCrDrErFrGrIrJrRrSrTrUrZr[rcrdrlrmrnrorprqrrr0r3r8r:r;r<rrsrtrurzr{r}r~rrrrrrrrrrrrrrrrrrr=rr?r@rr-r*r+rarPrwr\r]rvr`rQr_r^rbrjrWrfrXrerYrirVrhrgrkr|ryrxrMrNrOr)__doc__rrrrrrr$make_identity_dictrange decoding_mapupdaterrr r r r s PK!5"  encodings/cp874.pyca Ƈ@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zt Python Character Mapping Codec cp874 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP874.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp874.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)NZcp874)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€￾￾￾￾…￾￾￾￾￾￾￾￾￾￾￾‘’“”•–—￾￾￾￾￾￾￾￾ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู￾￾￾￾฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛￾￾￾￾) __doc__rrrrrrr#r charmap_buildrr r r r sPK!O encodings/cp875.pyca <Ā@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zs Python Character Mapping Codec cp875 generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP875.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp875.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)NZcp875)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u}œ †—Ž …‡’€‚ƒ„ ˆ‰Š‹Œ‘“”•–˜™š›ž ΑΒΓΔΕΖΗΘΙ[.<(+!&ΚΛΜΝΞΟΠΡΣ]$*);^-/ΤΥΦΧΨΩΪΫ|,%_>?¨ΆΈΉ ΊΌΎΏ`:#@'="΅abcdefghiαβγδεζ°jklmnopqrηθικλμ´~stuvwxyzνξοπρσ£άέήϊίόύϋώςτυφχψ{ABCDEFGHI­ωΐΰ‘―}JKLMNOPQR±½·’¦\STUVWXYZ²§«¬0123456789³©»Ÿ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!$&encodings/cp932.pyca %==@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Ncp932c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp932.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_jpr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!fencodings/cp949.pyca AE@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Ncp949c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp949.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_krr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!Dԝencodings/cp950.pyca k[D@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Ncp950c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/cp950.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_twr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!TBencodings/euc_jis_2004.pyca n~@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)N euc_jis_2004c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r F/usr/local/cpython-exe-builder/lib/python3.9/encodings/euc_jis_2004.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_jpr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!rRencodings/euc_jisx0213.pyca ּ֓u{@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)N euc_jisx0213c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r F/usr/local/cpython-exe-builder/lib/python3.9/encodings/euc_jisx0213.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_jpr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!{&#encodings/euc_jp.pyca ǣ@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Neuc_jpc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r @/usr/local/cpython-exe-builder/lib/python3.9/encodings/euc_jp.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_jpr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!,encodings/euc_kr.pyca |{v~@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Neuc_krc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r @/usr/local/cpython-exe-builder/lib/python3.9/encodings/euc_kr.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_krr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!p Gencodings/gb18030.pyca  5@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Ngb18030c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r A/usr/local/cpython-exe-builder/lib/python3.9/encodings/gb18030.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_cnr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!a*encodings/gb2312.pyca ^m꥽p@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Ngb2312c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r @/usr/local/cpython-exe-builder/lib/python3.9/encodings/gb2312.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_cnr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!]*Йencodings/gbk.pyca tVf-N@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Ngbkc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r =/usr/local/cpython-exe-builder/lib/python3.9/encodings/gbk.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_cnr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!YM M encodings/hex_codec.pyca R@sdZddlZddlZdddZdddZGdd d ejZGd d d ejZGd d d ejZGdddeejZGdddeej Z ddZ dS)zPython 'hex_codec' Codec - 2-digit hex content transfer encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). NstrictcCs|dks Jt|t|fSNr)binasciib2a_hexleninputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/hex_codec.py hex_encode s r cCs|dks Jt|t|fSr)ra2b_hexrrr r r hex_decodes rc@s eZdZdddZdddZdS) CodecrcCs t||SN)r selfrr r r r encodesz Codec.encodecCs t||Sr)rrr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r rs rc@seZdZdddZdS)IncrementalEncoderFcCs|jdksJt|Sr)r rrrrfinalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCs|jdksJt|Sr)r rr rr r r r!szIncrementalDecoder.decodeN)F)rrrrr r r r r src@seZdZeZdS) StreamWriterNrrrbytescharbuffertyper r r r r%src@seZdZeZdS) StreamReaderNrr r r r r (sr c CstjdttttttddS)NhexF)namerrincrementalencoderincrementaldecoder streamwriter streamreader_is_text_encoding)codecs CodecInfor rrrrr r r r r getregentry-sr*)r)r) __doc__r(rr rrrrrr r*r r r r s  PK!_$%Y Y encodings/hp_roman8.pyca @Rۺ̛@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)a- Python Character Mapping Codec generated from 'hp_roman8.txt' with gencodec.py. Based on data from ftp://dkuug.dk/i18n/charmaps/HP-ROMAN8 (Keld Simonsen) Original source: LaserJet IIP Printer User's Manual HP part no 33471-90901, Hewlet-Packard, June 1989. (Used with permission) Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/hp_roman8.pyencodesz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r rs rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r r src@s eZdZdS) StreamReaderNrr r r r r#src Cs tjdtjtjttttdS)Nz hp-roman8)namerrincrementalencoderincrementaldecoder streamwriter streamreader) r CodecInforrrrrrrr r r r getregentry(sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±￾) __doc__rrrrrrr#r charmap_buildrr r r r s PK!encodings/hz.pyca ](*@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Nhzc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r s PK!encodings/idna.pyca A3Ki@sddlZddlZddlZddlmZedZdZdZddZ dd Z d d Z Gd d d ej Z Gdddej ZGdddejZGddde ejZGddde ejZddZdS)N) ucd_3_2_0u [.。.。]sxn--zxn--cCsg}|D] }t|rq|t|qd|}td|}|D]j}t|st|st |st |st |st |st |st|st|rDtd|qDdd|D}|D]:}|rtdd|Drtd|d r|d std q|S) NNFKCzInvalid character %rcSsg|]}t|qS) stringprep in_table_d1.0xrr>/usr/local/cpython-exe-builder/lib/python3.9/encodings/idna.py )znameprep..css|]}t|VqdS)N)r in_table_d2rrrr 2r znameprep..zViolation of BIDI requirement 2rzViolation of BIDI requirement 3)r in_table_b1append map_table_b2join unicodedata normalize in_table_c12 in_table_c22 in_table_c3 in_table_c4 in_table_c5 in_table_c6 in_table_c7 in_table_c8 in_table_c9 UnicodeErrorany)labelZnewlabelcZRandALrrr nameprepsD      r$cCsz|d}Wnty Yn*0dt|kr:dkrBnn|Stdt|}z|d}WntyrYn*0dt|krdkrnn|Std|trtd|d}t|}dt|krdkrnn|StddS)Nasciir@label empty or too longzLabel starts with ACE prefixpunycode)encoder lenr$ startswith sace_prefix ace_prefix)r"rrr ToASCII>s,    r.cCst|trd}n*z|d}d}Wnty8d}Yn0|spt|}z|d}WntyntdYn0|tst|dS|ttd}| d}t |}t|d t|dkrtd|||S)NTr%FzInvalid character in IDN labelr(zIDNA does not round-trip) isinstancebytesr)r r$r+r-strr*decoder.lower)r"Z pure_asciiZlabel1resultZlabel2rrr ToUnicodeis*         r5c@s eZdZdddZdddZdS) CodecstrictcCs|dkrtd||sdSz|d}Wnty<Ynd0|d}|ddD]&}dt|krpdksTntd qTt|ddkrtd |t|fSt}t|}|r|dsd}|d=nd }|D] }|r|d|t|qt ||t|fS) Nr7unsupported error handling r rr%.rrr&r'zlabel too longr ) r r)UnicodeEncodeErrorsplitr* bytearraydotsextendr.r0)selfinputerrorsr4labelsr" trailing_dotrrr r)s4        z Codec.encodecCs|dkrtd||sdSt|ts.t|}t|vr^z|dt|fWSty\Yn0|d}|rt|ddkrd}|d=nd }g}|D]}|t |qd ||t|fS) Nr7Unsupported error handling rrr%r:rr.r) r r/r0r-r2r*UnicodeDecodeErrorr<rr5r)r@rArBrCrDr4r"rrr r2s(    z Codec.decodeN)r7)r7)__name__ __module__ __qualname__r)r2rrrr r6s %r6c@seZdZddZdS)IncrementalEncoderc Cs|dkrtd||sdSt|}d}|rT|dsBd}|d=n|sT|d=|rTd}t}d}|D]4}|r||d|d7}|t||t|7}qb||7}|t|7}t||fS) Nr7r8r9r rr:r)r r>r<r=r?r.r*r0 r@rArBfinalrCrDr4sizer"rrr _buffer_encodes2    z!IncrementalEncoder._buffer_encodeN)rIrJrKrQrrrr rLsrLc@seZdZddZdS)IncrementalDecoderc Cs|dkrtd||sdSt|tr2t|}nt|d}|d}d}|rt|dsbd}|d=n|st|d=|rtd}g}d}|D]*}|t||r|d 7}|t|7}qd||}|t|7}||fS) Nr7rErFr%rGrrrrM) r r/r1r>r<rr5r*rrNrrr _buffer_decodes6      z!IncrementalDecoder._buffer_decodeN)rIrJrKrSrrrr rRsrRc@s eZdZdS) StreamWriterNrIrJrKrrrr rT$srTc@s eZdZdS) StreamReaderNrUrrrr rV'srVc Cs tjdtjtjttttdS)Nidna)namer)r2incrementalencoderincrementaldecoder streamwriter streamreader) codecs CodecInfor6r)r2rLrRrTrVrrrr getregentry,sr_)rrer]rrcompiler>r-r,r$r.r5r6BufferedIncrementalEncoderrLBufferedIncrementalDecoderrRrTrVr_rrrr s  0+)H#'PK!Oencodings/iso2022_jp.pyca a.hDQ4@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)N iso2022_jpc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r D/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso2022_jp.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr)_codecs_iso2022r_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!9/rencodings/iso2022_jp_1.pyca a@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)N iso2022_jp_1c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r F/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso2022_jp_1.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr)_codecs_iso2022r_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!BWencodings/iso2022_jp_2.pyca zq@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)N iso2022_jp_2c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r F/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso2022_jp_2.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr)_codecs_iso2022r_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!Rencodings/iso2022_jp_2004.pyca :q\(@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Niso2022_jp_2004c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r I/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso2022_jp_2004.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr)_codecs_iso2022r_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!Gencodings/iso2022_jp_3.pyca N*Q@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)N iso2022_jp_3c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r F/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso2022_jp_3.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr)_codecs_iso2022r_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!ݴencodings/iso2022_jp_ext.pyca ^#7@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Niso2022_jp_extc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r H/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso2022_jp_ext.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr)_codecs_iso2022r_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!9encodings/iso2022_kr.pyca epO+ @sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)N iso2022_krc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r D/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso2022_kr.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr)_codecs_iso2022r_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!r encodings/iso8859_1.pyca Y9#@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec iso8859_1 generated from 'MAPPINGS/ISO8859/8859-1.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_1.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-1)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!틔 encodings/iso8859_10.pyca c3.@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zl Python Character Mapping Codec iso8859_10 generated from 'MAPPINGS/ISO8859/8859-10.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr D/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_10.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-10)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!E? encodings/iso8859_11.pyca ,C;@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zl Python Character Mapping Codec iso8859_11 generated from 'MAPPINGS/ISO8859/8859-11.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr D/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_11.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-11)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู￾￾￾￾฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛￾￾￾￾) __doc__rrrrrrr#r charmap_buildrr r r r sPK!}& encodings/iso8859_13.pyca |VH@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zl Python Character Mapping Codec iso8859_13 generated from 'MAPPINGS/ISO8859/8859-13.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr D/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_13.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-13)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’) __doc__rrrrrrr#r charmap_buildrr r r r sPK! encodings/iso8859_14.pyca NRt@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zl Python Character Mapping Codec iso8859_14 generated from 'MAPPINGS/ISO8859/8859-14.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr D/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_14.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-14)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!ݔ encodings/iso8859_15.pyca IM@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zl Python Character Mapping Codec iso8859_15 generated from 'MAPPINGS/ISO8859/8859-15.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr D/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_15.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-15)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!gF encodings/iso8859_16.pyca ҼIWB{@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zl Python Character Mapping Codec iso8859_16 generated from 'MAPPINGS/ISO8859/8859-16.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr D/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_16.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-16)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ) __doc__rrrrrrr#r charmap_buildrr r r r sPK! encodings/iso8859_2.pyca 48ܑ@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec iso8859_2 generated from 'MAPPINGS/ISO8859/8859-2.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_2.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-2)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙) __doc__rrrrrrr#r charmap_buildrr r r r sPK!= encodings/iso8859_3.pyca O{] @sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec iso8859_3 generated from 'MAPPINGS/ISO8859/8859-3.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_3.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-3)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤￾Ĥ§¨İŞĞĴ­￾ݰħ²³´µĥ·¸ışğĵ½￾żÀÁÂ￾ÄĊĈÇÈÉÊËÌÍÎÏ￾ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ￾äċĉçèéêëìíîï￾ñòóôġö÷ĝùúûüŭŝ˙) __doc__rrrrrrr#r charmap_buildrr r r r sPK!q#= encodings/iso8859_4.pyca +^8@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec iso8859_4 generated from 'MAPPINGS/ISO8859/8859-4.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_4.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-4)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙) __doc__rrrrrrr#r charmap_buildrr r r r sPK!(x encodings/iso8859_5.pyca BS,@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec iso8859_5 generated from 'MAPPINGS/ISO8859/8859-5.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_5.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-5)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!fIw encodings/iso8859_6.pyca &,^@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec iso8859_6 generated from 'MAPPINGS/ISO8859/8859-6.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_6.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-6)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ￾￾￾¤￾￾￾￾￾￾￾،­￾￾￾￾￾￾￾￾￾￾￾￾￾؛￾￾￾؟￾ءآأؤإئابةتثجحخدذرزسشصضطظعغ￾￾￾￾￾ـفقكلمنهوىيًٌٍَُِّْ￾￾￾￾￾￾￾￾￾￾￾￾￾) __doc__rrrrrrr#r charmap_buildrr r r r sPK![S˗ encodings/iso8859_7.pyca UT4p@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec iso8859_7 generated from 'MAPPINGS/ISO8859/8859-7.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_7.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-7)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­￾―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ￾ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ￾) __doc__rrrrrrr#r charmap_buildrr r r r sPK! encodings/iso8859_8.pyca 0D$@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec iso8859_8 generated from 'MAPPINGS/ISO8859/8859-8.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_8.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-8)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ￾¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾￾‗אבגדהוזחטיךכלםמןנסעףפץצקרשת￾￾‎‏￾) __doc__rrrrrrr#r charmap_buildrr r r r sPK! encodings/iso8859_9.pyca !ɏd3w@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zj Python Character Mapping Codec iso8859_9 generated from 'MAPPINGS/ISO8859/8859-9.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/iso8859_9.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz iso8859-9)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ) __doc__rrrrrrr#r charmap_buildrr r r r sPK! ۝encodings/johab.pyca zp@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Njohabc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r ?/usr/local/cpython-exe-builder/lib/python3.9/encodings/johab.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_krr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!0Ƴ encodings/koi8_r.pyca 4"C@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zl Python Character Mapping Codec koi8_r generated from 'MAPPINGS/VENDORS/MISC/KOI8-R.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/koi8_r.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nzkoi8-r)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!!j j encodings/koi8_t.pyca sP-1@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)z' Python Character Mapping Codec koi8_t Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/koi8_t.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nzkoi8-t)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry"sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~қғ‚Ғ„…†‡￾‰ҳ‹ҲҷҶ￾Қ‘’“”•–—￾™￾›￾￾￾￾￾ӯӮё¤ӣ¦§￾￾￾«¬­®￾°±²Ё￾Ӣ¶·￾№￾»￾￾￾©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!* encodings/koi8_u.pyca ^3EМ@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zf Python Character Mapping Codec koi8_u generated from 'python-mappings/KOI8-U.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/koi8_u.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nzkoi8-u)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!H's encodings/kz1048.pyca BKо!@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zl Python Character Mapping Codec kz1048 generated from 'MAPPINGS/VENDORS/MISC/KZ1048.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/kz1048.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nkz1048)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—￾™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя) __doc__rrrrrrr$r charmap_buildrr r r r sPK!ў:encodings/latin_1.pyca F@@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZGd ddeeZddZdS)z Python 'latin-1' Codec Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. Nc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecslatin_1_encodeencodelatin_1_decodedecoder r A/usr/local/cpython-exe-builder/lib/python3.9/encodings/latin_1.pyr src@seZdZdddZdS)IncrementalEncoderFcCst||jdSNr)rrerrorsselfinputfinalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r r sr c@seZdZdddZdS)IncrementalDecoderFcCst||jdSr)rr rrr r r r szIncrementalDecoder.decodeN)F)rrrr r r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc@seZdZejZejZdS)StreamConverterN)rrrrr rrr r r r r r"src CstjdtjtjttttdS)Nz iso8859-1)namerr incrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrr r rrrr r r r getregentry)sr) __doc__rrr rrrrrr r r r sPK!ÓXMVVencodings/mac_arabic.pyca y,?6B]@sPdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddZ ddddddddddddddddddddddddddddddddd0dd1dd2dd3dd4ddd6dd7dd8dd9dd:dd;ddd=dd>dd?ddddddddddddJdddLddMddNddddddddddddddddddddddddddddddkddlddmddnddodddddddddddddddddddddddddddddd.dd/dd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d(d+d,d-d.dd/d0dd1dd2d3d4d5d6d7d8dd9d:d;dd?d@ddddAddBdCdddd d!dDd"d$d%dEd&dFdGdHdIdJdKdLdMdNdOdPdQd)d'dRd-d,dSd+dTdUdVd*dWdXdYZ dS(Zz] Python Character Mapping Codec generated from 'VENDORS/APPLE/ARABIC.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encode encoding_mapselfinputerrorsr D/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_arabic.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz mac-arabic)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#& !"#$j&'()*+ -./`abcdefghi:<=>J'!"#$%&'()*+,-./0123456789:[\]^_@ABCDEFGHIJKLMNOPQR~y{|})r&r1r=r%r'r(r)r*r+r-r,r.r/r2r4r3r5r6r7r9r:r;r<r>r?r@rBrArCrDuh  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Ä ÇÉÑÖÜáàâäں«çéèêëí…îïñó»ôö÷úùûü !"#$٪&'()*+،-./٠١٢٣٤٥٦٧٨٩:؛<=>؟❊ءآأؤإئابةتثجحخدذرزسشصضطظعغ[\]^_ـفقكلمنهوىيًٌٍَُِّْپٹچەڤگڈڑ{|}ژے rrrr%rrrrr,rrr0123456789r;rrr?@ABCDEFGHIJKLMNOPQRSTUVWXYZrrrr`abcdefghijklmnopqrstuvwxyzr~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr(rrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%rErErFrFrGrGrHrHrIrIr&rKrKrLrLrMrMrNrNrOrOrPrPr'rRrRrSrSrTrTr(r)r*r+r,r-r.r/r0r1r_r_r2rararbrbrcrcr3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrrrrrrrrrrrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirrrrrrrjrkr&r1r=r%r'r(r)r*r+r-r,r.r/r2r4r3r5r6r7r9r:r;r<r>r?r@rBrArCrDrQr`rdrfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrrrrrrrrUrVrWrXrYrZr[r\r]r^rJrrrrrrrrr0rrr8re)__doc__rrrrrrr#make_identity_dictrange decoding_mapupdaterrr r r r s$ PK!8B=5 encodings/mac_croatian.pyca dS@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zu Python Character Mapping Codec mac_croatian generated from 'MAPPINGS/VENDORS/APPLE/CROATIAN.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr F/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_croatian.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz mac-croatian)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!kO1 encodings/mac_cyrillic.pyca 0Eׁ[ @sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zu Python Character Mapping Codec mac_cyrillic generated from 'MAPPINGS/VENDORS/APPLE/CYRILLIC.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr F/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_cyrillic.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz mac-cyrillic)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю€) __doc__rrrrrrr#r charmap_buildrr r r r sPK!5| | encodings/mac_farsi.pyca iD@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zo Python Character Mapping Codec mac_farsi generated from 'MAPPINGS/VENDORS/APPLE/FARSI.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_farsi.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz mac-farsi)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#uh  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Ä ÇÉÑÖÜáàâäں«çéèêëí…îïñó»ôö÷úùûü !"#$٪&'()*+،-./۰۱۲۳۴۵۶۷۸۹:؛<=>؟❊ءآأؤإئابةتثجحخدذرزسشصضطظعغ[\]^_ـفقكلمنهوىيًٌٍَُِّْپٹچەڤگڈڑ{|}ژے) __doc__rrrrrrr#r charmap_buildrr r r r sPK!4 encodings/mac_greek.pyca J2j%@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zo Python Character Mapping Codec mac_greek generated from 'MAPPINGS/VENDORS/APPLE/GREEK.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_greek.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz mac-greek)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ­) __doc__rrrrrrr#r charmap_buildrr r r r sPK! encodings/mac_iceland.pyca L6>y: @sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zs Python Character Mapping Codec mac_iceland generated from 'MAPPINGS/VENDORS/APPLE/ICELAND.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr E/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_iceland.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz mac-iceland)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!rRAD D encodings/mac_latin2.pyca OFɜ @sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)a Python Character Mapping Codec mac_latin2 generated from 'MAPPINGS/VENDORS/MICSFT/MAC/LATIN2.TXT' with gencodec.py. Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. (c) Copyright 2000 Guido van Rossum. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr D/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_latin2.pyencodesz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r rs rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r r!src Cs tjdtjtjttttdS)Nz mac-latin2)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry&sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ) __doc__rrrrrrr#r charmap_buildrr r r r s PK!곂- encodings/mac_roman.pyca PmG@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zo Python Character Mapping Codec mac_roman generated from 'MAPPINGS/VENDORS/APPLE/ROMAN.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_roman.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz mac-roman)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!/> encodings/mac_romanian.pyca ֌_ą@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zu Python Character Mapping Codec mac_romanian generated from 'MAPPINGS/VENDORS/APPLE/ROMANIAN.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr F/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_romanian.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz mac-romanian)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!- encodings/mac_turkish.pyca o6s#@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zs Python Character Mapping Codec mac_turkish generated from 'MAPPINGS/VENDORS/APPLE/TURKISH.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr E/usr/local/cpython-exe-builder/lib/python3.9/encodings/mac_turkish.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nz mac-turkish)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!encodings/mbcs.pyca |'/usr/local/cpython-exe-builder/lib/python3.9/encodings/mbcs.pydecodesr c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rr)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__r rrrrr sr c@seZdZeZdS)IncrementalDecoderN)rrrr_buffer_decoderrrrrsrc@seZdZeZdS) StreamWriterN)rrrrr rrrrrsrc@seZdZeZdS) StreamReaderN)rrrrr rrrrr!src CstjdttttttdS)Nmbcs)namer r incrementalencoderincrementaldecoder streamreader streamwriter)codecs CodecInfor r r rrrrrrr getregentry&sr)r) __doc__rrrr r r BufferedIncrementalDecoderrrrrrrrrs  PK!uencodings/oem.pyca Elʆ@s~dZddlmZmZddlZeZdddZGdddejZGd d d ejZGd d d ej Z Gd ddej Z ddZ dS)z! Python 'oem' Codec for Windows ) oem_encode oem_decodeNstrictcCs t||dS)NT)r)inputerrorsr=/usr/local/cpython-exe-builder/lib/python3.9/encodings/oem.pydecodesr c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rr)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__r rrrrr sr c@seZdZeZdS)IncrementalDecoderN)rrrr_buffer_decoderrrrrsrc@seZdZeZdS) StreamWriterN)rrrrr rrrrrsrc@seZdZeZdS) StreamReaderN)rrrrr rrrrrsrc CstjdttttttdS)NZoem)namer r incrementalencoderincrementaldecoder streamreader streamwriter)codecs CodecInfor r r rrrrrrr getregentry sr)r) __doc__rrrr r r BufferedIncrementalDecoderrrrrrrrrs PK!.[|@ encodings/palmos.pyca @sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zx Python Character Mapping Codec for PalmOS 3.5. Written by Sjoerd Mullender (sjoerd@acm.org); based on iso8859_15.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr @/usr/local/cpython-exe-builder/lib/python3.9/encodings/palmos.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)NZpalmos)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry"sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹Œ♦♣♥♠‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ) __doc__rrrrrrr#r charmap_buildrr r r r sPK!BP encodings/ptcp154.pyca fh @sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)z Python Character Mapping Codec generated from 'PTCP154.txt' with gencodec.py. Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. (c) Copyright 2000 Guido van Rossum. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr A/usr/local/cpython-exe-builder/lib/python3.9/encodings/ptcp154.pyencodesz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r rs rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r r!src Cs tjdtjtjttttdS)Nptcp154)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry&sr$u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя) __doc__rrrrrrr$r charmap_buildrr r r r s PK!aoencodings/punycode.pyca =M\@sdZddlZddZddZddZd d Zd d Zd ZddZddZ ddZ ddZ ddZ ddZ ddZGdddejZGdddejZGd d!d!ejZGd"d#d#eejZGd$d%d%eejZd&d'ZdS)(uY Codec for the Punicode encoding, as specified in RFC 3492 Written by Martin v. Löwis. NcCsPt}t}|D]*}t|dkr0|t|q||qt|}t||fS)z 3.1 Basic code point segregation) bytearraysetordappendaddsortedbytes)strbaseextendedcrB/usr/local/cpython-exe-builder/lib/python3.9/encodings/punycode.py segregate s  rcCs&d}|D]}t||kr|d7}q|S)z@Return the length of str, considering only characters below max.r)r)r maxresr rrr selective_lens   rcCsNt|}|d7}||krdS||}||kr8|d|fS||kr|d7}qdS)aReturn a pair (index, pos), indicating the next occurrence of char in str. index is the position of the character considering only ordinals up to and including char, and pos is the position in the full string. index/pos is the starting position in the full string.r)rN)len)r charindexposlr rrrselective_finds rc Csd}g}d}|D]r}d}}t|}t||} | d||} t||||\}}|dkrZq~| ||7} || d|}d} q>|}q|S)3.2 Insertion unsort codingrrrr)rrrr) r r ZoldcharresultZoldindexr rrrZcurlendeltarrrinsertion_unsort0s"  rcCs,d|d|}|dkrdS|dkr(dS|S)N$rr)jbiasrrrrTFs  r$s$abcdefghijklmnopqrstuvwxyz0123456789cCsnt}d}t||}||kr2|t|t|S|t|||d|||d|}|d7}q dS)(3.3 Generalized variable-length integersrr rN)rr$rdigitsr )Nr#rr"trrrgenerate_generalized_integerNs r)cCsX|r|d}n|d}|||7}d}|dkr@|d}|d7}q&|d||d}|S)Niri#r &r)rfirstnumcharsZ divisionsr#rrradapt[s   r/cCsPt}d}t|D]4\}}t||}||t||dk||d}qt|S)z3.4 Bias adaptationHrr)r enumerater)extendr/r )Zbaselendeltasrr#Zpointsrsrrrgenerate_integersjs  r5cCs8t|\}}t||}tt||}|r4|d|S|S)N-)rrr5r)textr r r3rrrpunycode_encodeus    r8c Csd}d}d}zt||}Wn.tyJ|dkr:td|ddfYS0|d7}d|krhdkrvnn |d}nHd|krd krnn |d }n&|dkrtd ||dn|dfSt||} |||7}|| kr||fS|d | }|d7}q dS) r%rrstrictzincomplete punicode stringNAZ09z Invalid extended code point '%s'r )r IndexError UnicodeErrorr$) r extposr#errorsrwr"rdigitr(rrrdecode_generalized_numbers2       rEc Csd}d}d}d}|t|krt||||\}}|dur:|S||d7}||t|d7}|dkr~|dkrvtd |td }|t|d}|d|t|||d}t||dkt|}|}q|S) rrrr0rNrir9zInvalid character U+%x?)rrEr@rchrr/) r r rBrrr#rAZnewposrrrrinsertion_sorts*    rHcCst|tr|d}t|tr&t|}|d}|dkrLd}t|d}n.t|d|d|}t||ddd}t|||S)Nasciir6rr) isinstancer encode memoryviewr rfindupperrH)r7rBrr r rrrpunycode_decodes    rPc@s eZdZdddZdddZdS) Codecr9cCst|}|t|fSN)r8rselfinputrBrrrrrLsz Codec.encodecCs*|dvrtd|t||}|t|fSN)r9replaceignorezUnsupported error handling )r@rPrrSrrrdecodes  z Codec.decodeN)r9)r9)__name__ __module__ __qualname__rLrYrrrrrQs rQc@seZdZdddZdS)IncrementalEncoderFcCst|SrR)r8rTrUfinalrrrrLszIncrementalEncoder.encodeN)F)rZr[r\rLrrrrr]sr]c@seZdZdddZdS)IncrementalDecoderFcCs$|jdvrtd|jt||jSrV)rBr@rPr^rrrrYs zIncrementalDecoder.decodeN)F)rZr[r\rYrrrrr`sr`c@s eZdZdS) StreamWriterNrZr[r\rrrrrasrac@s eZdZdS) StreamReaderNrbrrrrrcsrcc Cs tjdtjtjttttdS)Npunycode)namerLrYincrementalencoderincrementaldecoder streamwriter streamreader) codecs CodecInforQrLrYr]r`rarcrrrr getregentrysrl)__doc__rjrrrrr$r&r)r/r5r8rErHrPrQr]r`rarcrlrrrrs(     PK! %t t encodings/quopri_codec.pyca NyBt@sdZddlZddlZddlmZdddZdddZGd d d ejZGd d d ejZGd ddej Z Gdddeej Z Gdddeej Z ddZ dS)zQCodec for quoted-printable encoding. This codec de/encodes from bytes to bytes. N)BytesIOstrictcCs:|dks Jt|}t}tj||dd|t|fS)NrT) quotetabs)rquopriencodegetvalueleninputerrorsfgrF/usr/local/cpython-exe-builder/lib/python3.9/encodings/quopri_codec.py quopri_encode s  rcCs6|dks Jt|}t}t|||t|fS)Nr)rrdecoderrr rrr quopri_decodes   rc@s eZdZdddZdddZdS) CodecrcCs t||SN)rselfr r rrrrsz Codec.encodecCs t||Sr)rrrrrrsz Codec.decodeN)r)r)__name__ __module__ __qualname__rrrrrrrs rc@seZdZdddZdS)IncrementalEncoderFcCst||jdSNr)rr rr finalrrrrszIncrementalEncoder.encodeN)F)rrrrrrrrrsrc@seZdZdddZdS)IncrementalDecoderFcCst||jdSr)rr rrrrr#szIncrementalDecoder.decodeN)F)rrrrrrrrr"src@seZdZeZdS) StreamWriterNrrrbytescharbuffertyperrrrr&src@seZdZeZdS) StreamReaderNr rrrrr#)sr#c CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoder streamwriter streamreader_is_text_encoding)codecs CodecInforrrrrr#rrrr getregentry.sr,)r)r) __doc__r*riorrrrrrrr#r,rrrrs   PK!mY; encodings/raw_unicode_escape.pyca  R@svdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdS)z Python 'raw-unicode-escape' Codec Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. Nc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecsraw_unicode_escape_encodeencoderaw_unicode_escape_decodedecoder r L/usr/local/cpython-exe-builder/lib/python3.9/encodings/raw_unicode_escape.pyr src@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rrerrors)selfinputfinalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r r sr c@seZdZddZdS)IncrementalDecodercCst|||S)Nrr )rrrrr r r _buffer_decodesz!IncrementalDecoder._buffer_decodeN)rrrrr r r r rsrc@s eZdZdS) StreamWriterN)rrrr r r r rsrc@seZdZdddZdS) StreamReaderstrictcCst||dS)NFr)rrrr r r r szStreamReader.decodeN)r)rrrr r r r r rsrc CstjdtjtjttttdS)Nzraw-unicode-escape)namerr incrementalencoderincrementaldecoder streamwriter streamreader) r CodecInforrr r rrrr r r r getregentry%sr) __doc__rrr BufferedIncrementalDecoderrrrrr r r r sPK!hB encodings/rot_13.pyca IOlJ>7@s dZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZee dZ e ddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdD4dEdFZ e dGkrddlZe ejejdS)Hz Python Character Mapping Codec for ROT13. This codec de/encodes from str to str. Written by Marc-Andre Lemburg (mal@lemburg.com). Nc@s eZdZdddZdddZdS) CodecstrictcCst|tt|fSNstr translate rot13_maplenselfinputerrorsr@/usr/local/cpython-exe-builder/lib/python3.9/encodings/rot_13.pyencodesz Codec.encodecCst|tt|fSrrr rrrdecodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrrrrrr s rc@seZdZdddZdS)IncrementalEncoderFcCs t|tSrrrrr r finalrrrrszIncrementalEncoder.encodeN)F)rrrrrrrrrsrc@seZdZdddZdS)IncrementalDecoderFcCs t|tSrrrrrrrszIncrementalDecoder.decodeN)F)rrrrrrrrrsrc@s eZdZdS) StreamWriterNrrrrrrrrsrc@s eZdZdS) StreamReaderNrrrrrrsrc Cs"tjdtjtjttttddS)Nrot-13F)namerrincrementalencoderincrementaldecoder streamwriter streamreader_is_text_encoding) codecs CodecInforrrrrrrrrrr getregentry$sr&NOPQRSTUVWXYZABCDEFGHIJKLMnopqrstuvwxyzabcdefghijklm)4r5r6r7r8r9r:r;r<r=r>r?r@rAr(r)r*r+r,r-r.r/r0r1r2r3r4rOrPrQrRrSrTrUrVrWrXrYrZr[rBrCrDrErFrGrHrIrJrKrLrMrNcCs|t|ddS)Nr)writer$rread)infileoutfilerrrrot13lsr`__main__)__doc__r$rrrrrr&make_identity_dictrangerupdater`rsysstdinstdoutrrrrs9 PK!Xencodings/shift_jis.pyca T"]@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)N shift_jisc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r C/usr/local/cpython-exe-builder/lib/python3.9/encodings/shift_jis.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_jpr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!ƈencodings/shift_jis_2004.pyca (IhG+0@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Nshift_jis_2004c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r H/usr/local/cpython-exe-builder/lib/python3.9/encodings/shift_jis_2004.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_jpr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!Qencodings/shift_jisx0213.pyca 01;wg&@sddlZddlZddlZedZGdddejZGdddejejZGdddej ej Z Gd d d eej ej Z Gd d d eej ejZd dZdS)Nshift_jisx0213c@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecencodedecoder r H/usr/local/cpython-exe-builder/lib/python3.9/encodings/shift_jisx0213.pyr src@seZdZeZdS)IncrementalEncoderNrrrrr r r r r sr c@seZdZeZdS)IncrementalDecoderNr r r r r rsrc@seZdZeZdS) StreamReaderNr r r r r rsrc@seZdZeZdS) StreamWriterNr r r r r rsrc Cs tjdtjtjttttdS)Nr)namerr incrementalencoderincrementaldecoder streamreader streamwriter) codecs CodecInforrr r rrrr r r r getregentrysr) _codecs_jpr_multibytecodecmbcgetcodecrrMultibyteIncrementalEncoderr MultibyteIncrementalDecoderrMultibyteStreamReaderrMultibyteStreamWriterrrr r r r s PK!a encodings/tis_620.pyca =j;}@sdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdZe eZ dS)zh Python Character Mapping Codec tis_620 generated from 'python-mappings/TIS-620.TXT' with gencodec.py. Nc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr A/usr/local/cpython-exe-builder/lib/python3.9/encodings/tis_620.pyencode sz Codec.encodecCst||tSr)rcharmap_decodedecoding_tablerr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r r s rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r rsrc@s eZdZdS) StreamReaderNrr r r r rsrc Cs tjdtjtjttttdS)Nztis-620)namerrincrementalencoderincrementaldecoder streamreader streamwriter) r CodecInforrrrrrrr r r r getregentry!sr#u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ￾กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู￾￾￾￾฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛￾￾￾￾) __doc__rrrrrrr#r charmap_buildrr r r r sPK!IIencodings/undefined.pyca  ߥ@svdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdS)a5 Python 'undefined' Codec This codec will always raise a ValueError exception when being used. It is intended for use by the site.py file to switch off automatic string to Unicode coercion. Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. Nc@s eZdZdddZdddZdS) CodecstrictcCs tddSNzundefined encoding UnicodeErrorselfinputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/undefined.pyencodesz Codec.encodecCs tddSrrrr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__r rr r r r rs rc@seZdZdddZdS)IncrementalEncoderFcCs tddSrrrr finalr r r r szIncrementalEncoder.encodeN)F)rrrr r r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCs tddSrrrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r r src@s eZdZdS) StreamReaderNrr r r r r#src Cs tjdtjtjttttdS)N undefined)namer rincrementalencoderincrementaldecoder streamwriter streamreader) codecs CodecInforr rrrrrr r r r getregentry(sr!)__doc__rrrrrrr!r r r r s PK!m~/encodings/unicode_escape.pyca guwy@svdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdS)z Python 'unicode-escape' Codec Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. Nc@seZdZejZejZdS)CodecN)__name__ __module__ __qualname__codecsunicode_escape_encodeencodeunicode_escape_decodedecoder r H/usr/local/cpython-exe-builder/lib/python3.9/encodings/unicode_escape.pyr src@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rrerrors)selfinputfinalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r r sr c@seZdZddZdS)IncrementalDecodercCst|||S)Nrr )rrrrr r r _buffer_decodesz!IncrementalDecoder._buffer_decodeN)rrrrr r r r rsrc@s eZdZdS) StreamWriterN)rrrr r r r rsrc@seZdZdddZdS) StreamReaderstrictcCst||dS)NFr)rrrr r r r szStreamReader.decodeN)r)rrrr r r r r rsrc CstjdtjtjttttdS)Nzunicode-escape)namerr incrementalencoderincrementaldecoder streamwriter streamreader) r CodecInforrr r rrrr r r r getregentry%sr) __doc__rrr BufferedIncrementalDecoderrrrrr r r r sPK!#'  encodings/utf_16.pyca t,s6@sxdZddlZddlZejZdddZGdddejZGdd d ejZGd d d ej Z Gd d d ej Z ddZ dS)z Python 'utf-16' Codec Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. NstrictcCst||dS)NT)codecs utf_16_decode)inputerrorsr@/usr/local/cpython-exe-builder/lib/python3.9/encodings/utf_16.pydecodesr c@s8eZdZdddZdddZddZd d Zd d Zd S)IncrementalEncoderrcCstj||d|_dSN)rr __init__encoderselfrrrrr szIncrementalEncoder.__init__FcCsN|jdurs #3PK!qjьencodings/utf_16_be.pyca ˬ@spdZddlZejZdddZGdddejZGdd d ejZGd d d ejZGd d d ej Z ddZ dS)z Python 'utf-16-be' Codec Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. NstrictcCst||dS)NT)codecsutf_16_be_decode)inputerrorsrC/usr/local/cpython-exe-builder/lib/python3.9/encodings/utf_16_be.pydecodesr c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rutf_16_be_encoder)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__rrrrrr sr c@seZdZejZdS)IncrementalDecoderN)rrrrr_buffer_decoderrrrrsrc@seZdZejZdS) StreamWriterN)rrrrr rrrrrrsrc@seZdZejZdS) StreamReaderN)rrrrrr rrrrrsrc CstjdttttttdS)Nz utf-16-be)namerr incrementalencoderincrementaldecoder streamreader streamwriter)r CodecInforr r rrrrrrr getregentry!sr)r) __doc__rr rr r BufferedIncrementalDecoderrrrrrrrrs PK!?encodings/utf_16_le.pyca sb@spdZddlZejZdddZGdddejZGdd d ejZGd d d ejZGd d d ej Z ddZ dS)z Python 'utf-16-le' Codec Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. NstrictcCst||dS)NT)codecsutf_16_le_decode)inputerrorsrC/usr/local/cpython-exe-builder/lib/python3.9/encodings/utf_16_le.pydecodesr c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rutf_16_le_encoder)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__rrrrrr sr c@seZdZejZdS)IncrementalDecoderN)rrrrr_buffer_decoderrrrrsrc@seZdZejZdS) StreamWriterN)rrrrr rrrrrrsrc@seZdZejZdS) StreamReaderN)rrrrrr rrrrrsrc CstjdttttttdS)Nz utf-16-le)namerr incrementalencoderincrementaldecoder streamreader streamwriter)r CodecInforr r rrrrrrr getregentry!sr)r) __doc__rr rr r BufferedIncrementalDecoderrrrrrrrrs PK!bencodings/utf_32.pyca P•@sxdZddlZddlZejZdddZGdddejZGdd d ejZGd d d ej Z Gd d d ej Z ddZ dS)z Python 'utf-32' Codec NstrictcCst||dS)NT)codecs utf_32_decode)inputerrorsr@/usr/local/cpython-exe-builder/lib/python3.9/encodings/utf_32.pydecode sr c@s8eZdZdddZdddZddZd d Zd d Zd S)IncrementalEncoderrcCstj||d|_dSN)rr __init__encoderselfrrrrr szIncrementalEncoder.__init__FcCsN|jdurs #3PK!A`!!encodings/utf_32_be.pyca BT$Y{u@spdZddlZejZdddZGdddejZGdd d ejZGd d d ejZGd d d ej Z ddZ dS)z Python 'utf-32-be' Codec NstrictcCst||dS)NT)codecsutf_32_be_decode)inputerrorsrC/usr/local/cpython-exe-builder/lib/python3.9/encodings/utf_32_be.pydecode sr c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rutf_32_be_encoder)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__rrrrrr sr c@seZdZejZdS)IncrementalDecoderN)rrrrr_buffer_decoderrrrrsrc@seZdZejZdS) StreamWriterN)rrrrr rrrrrrsrc@seZdZejZdS) StreamReaderN)rrrrrr rrrrrsrc CstjdttttttdS)Nz utf-32-be)namerr incrementalencoderincrementaldecoder streamreader streamwriter)r CodecInforr r rrrrrrr getregentrysr)r) __doc__rr rr r BufferedIncrementalDecoderrrrrrrrrs PK!B{!!encodings/utf_32_le.pyca DNw@spdZddlZejZdddZGdddejZGdd d ejZGd d d ejZGd d d ej Z ddZ dS)z Python 'utf-32-le' Codec NstrictcCst||dS)NT)codecsutf_32_le_decode)inputerrorsrC/usr/local/cpython-exe-builder/lib/python3.9/encodings/utf_32_le.pydecode sr c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rutf_32_le_encoder)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__rrrrrr sr c@seZdZejZdS)IncrementalDecoderN)rrrrr_buffer_decoderrrrrsrc@seZdZejZdS) StreamWriterN)rrrrr rrrrrrsrc@seZdZejZdS) StreamReaderN)rrrrrr rrrrrsrc CstjdttttttdS)Nz utf-32-le)namerr incrementalencoderincrementaldecoder streamreader streamwriter)r CodecInforr r rrrrrrr getregentrysr)r) __doc__rr rr r BufferedIncrementalDecoderrrrrrrrrs PK!Z==encodings/utf_7.pyca CT)9@spdZddlZejZdddZGdddejZGdd d ejZGd d d ejZGd d d ej Z ddZ dS)zF Python 'utf-7' Codec Written by Brian Quinlan (brian@sweetapp.com). NstrictcCst||dS)NT)codecs utf_7_decode)inputerrorsr?/usr/local/cpython-exe-builder/lib/python3.9/encodings/utf_7.pydecode sr c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)r utf_7_encoder)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__rrrrrr sr c@seZdZejZdS)IncrementalDecoderN)rrrrr_buffer_decoderrrrrsrc@seZdZejZdS) StreamWriterN)rrrrr rrrrrrsrc@seZdZejZdS) StreamReaderN)rrrrrr rrrrrsrc CstjdttttttdS)Nzutf-7)namerr incrementalencoderincrementaldecoder streamreader streamwriter)r CodecInforr r rrrrrrr getregentrysr)r) __doc__rr rr r BufferedIncrementalDecoderrrrrrrrrs PK!F5xxencodings/utf_8.pyca Sm̄@spdZddlZejZdddZGdddejZGdd d ejZGd d d ejZGd d d ej Z ddZ dS)z Python 'utf-8' Codec Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. NstrictcCst||dS)NT)codecs utf_8_decode)inputerrorsr?/usr/local/cpython-exe-builder/lib/python3.9/encodings/utf_8.pydecodesr c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)r utf_8_encoder)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__rrrrrr sr c@seZdZejZdS)IncrementalDecoderN)rrrrr_buffer_decoderrrrrsrc@seZdZejZdS) StreamWriterN)rrrrr rrrrrrsrc@seZdZejZdS) StreamReaderN)rrrrrr rrrrrsrc CstjdttttttdS)Nzutf-8)namerr incrementalencoderincrementaldecoder streamreader streamwriter)r CodecInforr r rrrrrrr getregentry!sr)r) __doc__rr rr r BufferedIncrementalDecoderrrrrrrrrs PK!ROoencodings/utf_8_sig.pyca 0aT+@stdZddlZdddZdddZGdd d ejZGd d d ejZGd d d ejZGdddejZddZ dS)a Python 'utf-8-sig' Codec This work similar to UTF-8 with the following changes: * On encoding/writing a UTF-8 encoded BOM will be prepended/written as the first three bytes. * On decoding/reading if the first three bytes are a UTF-8 encoded BOM, these bytes will be skipped. NstrictcCstjt||dt|fSNr)codecsBOM_UTF8 utf_8_encodelen)inputerrorsr C/usr/local/cpython-exe-builder/lib/python3.9/encodings/utf_8_sig.pyencodesr cCsDd}|ddtjkr&|dd}d}t||d\}}|||fS)NrT)rr utf_8_decode)rr prefixoutputconsumedr r r decodes  rc@s8eZdZdddZdddZddZd d Zd d Zd S)IncrementalEncoderrcCstj||d|_dSN)rr__init__firstselfr r r r rszIncrementalEncoder.__init__FcCs:|jr$d|_tjt||jdSt||jdSdSr)rrrrr )rrfinalr r r r s zIncrementalEncoder.encodecCstj|d|_dSr)rrresetrrr r r r's zIncrementalEncoder.resetcCs|jSNrrr r r getstate+szIncrementalEncoder.getstatecCs ||_dSrrrstater r r setstate.szIncrementalEncoder.setstateN)r)F)__name__ __module__ __qualname__rr rrr"r r r r rs   rc@s6eZdZd ddZddZddZdd Zd d Zd S)IncrementalDecoderrcCstj||d|_dSr)rBufferedIncrementalDecoderrrrr r r r2szIncrementalDecoder.__init__cCsv|jrht|dkr*tj|r"dSd|_n>d|_|ddtjkrht|dd||\}}||dfSt|||S)Nr rr)rrrr startswithr)rrr rrrr r r _buffer_decode6s   z!IncrementalDecoder._buffer_decodecCstj|d|_dSr)rr'rrrr r r rGs zIncrementalDecoder.resetcCstj|}|d|jfSr)rr'rrr r r r rKs zIncrementalDecoder.getstatecCstj|||d|_dSr)rr'r"rr r r r r"PszIncrementalDecoder.setstateN)r)r#r$r%rr+rrr"r r r r r&1s  r&c@seZdZddZdddZdS) StreamWritercCs,tj|z|`Wnty&Yn0dSr)rr,rr AttributeErrorrr r r rVs   zStreamWriter.resetrcCstj|_t||Sr)rrr )rrr r r r r ]szStreamWriter.encodeN)r)r#r$r%rr r r r r r,Usr,c@seZdZddZdddZdS) StreamReadercCs,tj|z|`Wnty&Yn0dSr)rr.rrr-rr r r rbs   zStreamReader.resetrcCspt|dkrtj|r\dSn>|ddtjkr\tj|_t|dd|\}}||dfStj|_t||S)Nr r()rrrr*rr)rrr rrr r r ris   zStreamReader.decodeN)r)r#r$r%rrr r r r r.asr.c CstjdttttttdS)Nz utf-8-sig)namer rincrementalencoderincrementaldecoder streamreader streamwriter)r CodecInfor rrr&r.r,r r r r getregentryysr5)r)r) __doc__rr rrr'r&r,r.r5r r r r s   $ PK!`t encodings/uu_codec.pyca 1/ * @sdZddlZddlZddlmZdddZdd d ZGd d d ejZGd ddejZGdddej Z Gdddeej Z Gdddeej Z ddZ dS)aPython 'uu_codec' Codec - UU content transfer encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were adapted from uu.py which was written by Lance Ellinghouse and modified by Jack Jansen and Fredrik Lundh. N)BytesIOstrictc Cs|dks Jt|}t}|j}|j}|dd}|dd}|d|d@|fd|d }|r||t||d }q`|d |t|fS) Nr z\n z\rz begin %o %s iascii-s end ) rreadwritereplaceencodebinasciib2a_uugetvaluelen) inputerrorsfilenamemodeinfileoutfiler r chunkrB/usr/local/cpython-exe-builder/lib/python3.9/encodings/uu_codec.py uu_encodes    rc Cs|dks Jt|}t}|j}|j}|}|s8td|dddkr&qLq&|}|r|dkr`qzt|}WnTtjy}z:|ddd@d dd } t|d| }WYd}~n d}~00||qL|std |t|fS) Nrz"Missing "begin" line in input datasbeginsend r ?zTruncated input data) rreadliner ValueErrorra2b_uuErrorrr) rrrrr!r sdatavnbytesrrr uu_decode%s,  ( r)c@s eZdZdddZdddZdS) CodecrcCs t||SN)rselfrrrrrr Gsz Codec.encodecCs t||Sr+)r)r,rrrdecodeJsz Codec.decodeN)r)r)__name__ __module__ __qualname__r r.rrrrr*Fs r*c@seZdZdddZdS)IncrementalEncoderFcCst||jdSNr)rrr-rfinalrrrr NszIncrementalEncoder.encodeN)F)r/r0r1r rrrrr2Msr2c@seZdZdddZdS)IncrementalDecoderFcCst||jdSr3)r)rr4rrrr.RszIncrementalDecoder.decodeN)F)r/r0r1r.rrrrr6Qsr6c@seZdZeZdS) StreamWriterNr/r0r1bytescharbuffertyperrrrr7Usr7c@seZdZeZdS) StreamReaderNr8rrrrr;Xsr;c CstjdttttttddS)NuuF)namer r.incrementalencoderincrementaldecoder streamreader streamwriter_is_text_encoding)codecs CodecInforr)r2r6r;r7rrrr getregentry]srE)rrr)r) __doc__rCriorrr)r*r2r6r7r;rErrrrs    !PK!璷 encodings/zlib_codec.pyca 2,23@sdZddlZddlZdddZdddZGdd d ejZGd d d ejZGd d d ejZGdddeejZGdddeej Z ddZ dS)zPython 'zlib_codec' Codec - zlib compression encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). NstrictcCs|dks Jt|t|fSNr)zlibcompressleninputerrorsr D/usr/local/cpython-exe-builder/lib/python3.9/encodings/zlib_codec.py zlib_encode s r cCs|dks Jt|t|fSr)r decompressrrr r r zlib_decodes rc@s eZdZdddZdddZdS) CodecrcCs t||SN)r selfrr r r r encodesz Codec.encodecCs t||Sr)rrr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r rs rc@s(eZdZd ddZd ddZddZd S) IncrementalEncoderrcCs |dks J||_t|_dSr)r r compressobjrr r r r __init__s zIncrementalEncoder.__init__FcCs.|r|j|}||jS|j|SdSr)rrflushrrfinalcr r r r!s zIncrementalEncoder.encodecCst|_dSr)rrrr r r reset(szIncrementalEncoder.resetN)r)F)rrrrrr!r r r r rs  rc@s(eZdZd ddZd ddZddZd S) IncrementalDecoderrcCs |dks J||_t|_dSr)r r decompressobjrr r r r,s zIncrementalDecoder.__init__FcCs.|r|j|}||jS|j|SdSr)r#r rrr r r r1s zIncrementalDecoder.decodecCst|_dSr)rr#r r r r r!8szIncrementalDecoder.resetN)r)F)rrrrrr!r r r r r"+s  r"c@seZdZeZdS) StreamWriterNrrrbytescharbuffertyper r r r r$;sr$c@seZdZeZdS) StreamReaderNr%r r r r r(>sr(c CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoder streamreader streamwriter_is_text_encoding)codecs CodecInfor rrr"r(r$r r r r getregentryCsr1)r)r) __doc__r/rr rrrr"r$r(r1r r r r s  PK!geeenum.pyca e{\ @sddlZddlmZmZgdZddZddZdd Zd d Zd d Z e Z GdddZ Gddde ZdZGdddeZGdddedZGdddeeZddZGdddeZGdddeeZdd Zd!d"Zd#d$ZdS)%N)MappingProxyTypeDynamicClassAttribute)EnumMetaEnumIntEnumFlagIntFlagautouniquecCst|dpt|dpt|dS)z? Returns True if obj is a descriptor, False otherwise. __get____set__ __delete__)hasattr)objr4/usr/local/cpython-exe-builder/lib/python3.9/enum.py_is_descriptor s  rcCsLt|dkoJ|dd|ddko.dknoJ|ddkoJ|ddkS)z= Returns True if a __dunder__ name, False otherwise. N___lennamerrr _is_dunders &  rcCsLt|dkoJ|d|dko&dknoJ|dddkoJ|dddkS)z; Returns True if a _sunder_ name, False otherwise. rrrrrrrrr _is_sunder!s r cCsTd|f}t|dkrL||rL|t|dkrL|ddksH|ddkrLdSdSdS)Nz_%s__rrrTF)r startswith)cls_namerpatternrrr _is_private,s    r%cCsdd}||_d|_dS)z, Make the given class un-picklable. cSstd|dS)Nz%r cannot be pickled) TypeErrorselfprotorrr_break_on_call_reduce=sz6_make_class_unpicklable.._break_on_call_reducez N) __reduce_ex__ __module__)clsr*rrr_make_class_unpicklable9sr.c@seZdZdZeZdS)r zP Instances are replaced with an appropriate value in Enum class suites. N)__name__r, __qualname____doc__ _auto_nullvaluerrrrr Csr cs,eZdZdZfddZfddZZS) _EnumDictz Track enum member order and ensure member names are not reused. EnumMeta will use the names found in self._member_names as the enumeration member names. cs&tg|_g|_g|_d|_dS)NF)super__init__ _member_names _last_values_ignore _auto_calledr( __class__rrr6Qs  z_EnumDict.__init__cst|j|r*ddl}|jd|ftddt|r|dvrBtd|dkrf|jrXtd t |d |nV|d krt |t r| d d  }nt|}||_t|t|j@}|rtd|fnt|r|dkrd}n||jvrtd|n||jvrnt|s~||vr td|||ft |trf|jtkr`||dt|j|jdd|_d|_|j}|j||j|t||dS)z Changes anything not dundered or not a descriptor. If an enum member name is used twice, an error is raised; duplicate values are not checked for. Single underscore (sunder) names are reserved. rNz@private variables, such as %r, will be normal attributes in 3.10r) stacklevel)_order__create_pseudo_member__generate_next_value_ _missing__ignore_z(_names_ are reserved for future Enum userAz4_generate_next_value_ must be defined before members_generate_next_valuerC, z-_ignore_ cannot specify already set names: %r __order__r?zAttempted to reuse key: %rz%r already defined as: %rrT)r% _cls_namewarningswarnDeprecationWarningr ValueErrorr:r&setattr isinstancestrreplacesplitlistr9setr7rrr r3r2rDrr8appendr5 __setitem__)r(keyr3rIalreadyr<rrrUXsf           z_EnumDict.__setitem__)r/r,r0r1r6rU __classcell__rrr<rr4Js r4cseZdZdZeddZfddZddZd-dddd d d d Zd dZ fddZ ddZ ddZ ddZ ddZddZeddZddZdd Zfd!d"Zdddd d d#d$Zd.d%d&Zed'd(Zed)d*Zed+d,ZZS)/rz Metaclass for Enum cKsD|||t}||_|||\}}|dur@t|dd|d<|S)NrA)_check_for_existing_membersr4rH _get_mixins_getattr)metaclsr-baseskwds enum_dict member_type first_enumrrr __prepare__s zEnumMeta.__prepare__c sdgdd}|D]}|dq|||\}||\}} } fddjD} jD] } | =qndd} t| ddh@}|rtdd |d vrd d <t j |||fi|}g|_ i|_ |_d d |D}i|_d vr̈turd}tfdd|DsdvrFt|nd}|D]n}|jD]PturlqXn:tfdd|Drd}qndjvrXd}qqX|durNqqN|rt|jD]*}| |}t|ts|f}n|}tur|f}| s*||}t|dsb||_n8||g|R}t|dsbturX||_n ||_|j}||_||_|j||j D]"\} }|j|jkr|}qq|j |||vrt|||||j |<z||j|<WntyYn0qdD]V} | vrqt || }t | d}t || d}|dur||urt|| |qt!durz| rr||_"t!j |_ | durt| t#r| $dd%} | |j krtd|S)NrCcsi|]}||qSrr).0k) classdictrr z$EnumMeta.__new__..r?mrozInvalid enum member name: {0}rEr1zAn enumeration.cSs.h|]&}|jD]\}}t|tr|qqSr)__dict__itemsrNr)rccrdvrrr s z#EnumMeta.__new__..r+)__getnewargs_ex____getnewargs__r+ __reduce__c3s|]}|jvVqdSNrjrcm)r`rr rgz#EnumMeta.__new__..__new__c3s|]}|jvVqdSrrrsrt)baserrrvrgFT_value_)__repr____str__ __format__r+rFz#member order does not match _order_)& setdefaultrTpoprZ _find_new_r7rSrLformatjoinr5rw_member_names_ _member_map_ _member_type_rh_value2member_map_objectanyr.__mro__rjrNtuplerry_name_ __objclass__r6rkrMr&r[r__new_member__rOrPrQ)r\r-r]rer^ignorerVrarwsave_newuse_args enum_membersrr? invalid_names enum_classdynamic_attributesmethodssabotagechain member_namer3args enum_membercanonical_member class_method obj_method enum_methodr<)rxrer`rrws                                   zEnumMeta.__new__cCsdS)z6 classes/types should always be True. Trr;rrr__bool__`szEnumMeta.__bool__NrmodulequalnametypestartcCs*|dur|||S|j||||||dS)a! Either returns an existing member, or creates a new enum class. This method is used both when an enum class is given a value to match to an enumeration member (i.e. Color(3)) and for the functional API (i.e. Color = Enum('Color', names='RED GREEN BLUE')). When used for the functional API: `value` will be the name of the new class. `names` should be either a string of white-space/comma delimited names (values will start at `start`), or an iterator/mapping of name, value pairs. `module` should be set to the module this class is being created in; if it is not set, an attempt to find that module will be made, but if it fails the class will not be picklable. `qualname` should be set to the actual location this class can be found at in its module; by default it is set to the global scope. If this is not correct, unpickling will fail in some circumstances. `type`, if set, will be mixed in as the first base class. Nr)rw_create_)r-r3namesrrrrrrr__call__fs zEnumMeta.__call__cCs:t|ts$tdt|j|jjft||o8|j|jvS)N3unsupported operand type(s) for 'in': '%s' and '%s')rNrr&rr0r=rr)r-memberrrr __contains__s zEnumMeta.__contains__cs(||jvrtd|jt|dS)Nz%s: cannot delete Enum member.)rAttributeErrorr/r5 __delattr__)r-attrr<rrrs zEnumMeta.__delattr__cCsgd|jS)N)r=r1 __members__r,rr;rrr__dir__szEnumMeta.__dir__cCs>t|rt|z |j|WSty8t|dYn0dS)a= Return the enum member matching `name` We use __getattr__ instead of descriptors or inserting into the enum class' __dict__ in order to support `name` and `value` being both properties for enum members (which live in the class' __dict__) and enum members themselves. N)rrrKeyErrorr-rrrr __getattr__s   zEnumMeta.__getattr__cCs |j|Srrrrrrr __getitem__szEnumMeta.__getitem__csfddjDS)z6 Returns members in definition order. c3s|]}j|VqdSrrrrcrr-rrrvrgz$EnumMeta.__iter__..rrrrr__iter__szEnumMeta.__iter__cCs t|jSrr)rrrrrr__len__szEnumMeta.__len__cCs t|jS)z Returns a mapping of member name->value. This mapping lists all enum members, including aliases. Note that this is a read-only view of the internal mapping. )rrrrrrrszEnumMeta.__members__cCs d|jS)Nz )r/rrrrrzszEnumMeta.__repr__csfddtjDS)z> Returns members in reverse definition order. c3s|]}j|VqdSrrrrrrrrvrgz(EnumMeta.__reversed__..)reversedrrrrr __reversed__szEnumMeta.__reversed__cs0|jdi}||vrtdt||dS)a Block attempts to reassign Enum members. A simple assignment to the class namespace only changes one of the several possible ways to get an Enum member from the Enum class, resulting in an inconsistent Enumeration. rzCannot reassign members.N)rjgetrr5 __setattr__)r-rr3 member_mapr<rrrszEnumMeta.__setattr__c Csn|j}|dur|fn||f}|||\} } |||} t|trR|dd}t|ttfr|rt|dtr|g} }g} t | D]8\}}| |||| dd}| || ||fq|D].}t|tr|||}}n|\}}|| |<q| |||| }|dur@zt djd}Wntttfy>Yn0|durTt|n||_|durj||_|S)a Convenience method to create a new Enum class. `names` can be: * A string containing member names, separated either with spaces or commas. Values are incremented by 1 from `start`. * An iterable of member names. Values are incremented by 1 from `start`. * An iterable of (member name, value) pairs. * A mapping of member name -> value pairs. NrErFrrr/)r=rZrbrNrOrPrQrrR enumeraterArTrwsys _getframe f_globalsrrLrr.r,r0)r- class_namerrrrrr\r]rrareoriginal_names last_valuescountrr3itemr member_valuerrrrrs<            zEnumMeta._create_csttj|}|rt|}n|}fdd|D}z|jdddWn"tyl|jdddYn0||||d}t|_||j |||<|S)z[ Create a new Enum subclass that replaces a collection of global constants cs g|]\}}|r||fqSrr)rcrr3filterrr !sz&EnumMeta._convert_..cSs|d|dfS)Nrrrtrrr'rgz$EnumMeta._convert_..)rVcSs|dSNrrrrrrr*rg)r) varsrmodulesrksortr&_reduce_ex_by_namer+updater)r-rrrsourcemodule_globalsmembersrrr _convert_s     zEnumMeta._convert_cCs<|D]2}|jD]&}t|tr|jrtd||jfqqdS)Nz %s: cannot extend enumeration %r)r issubclassrrr&r/)rr]rrxrrrrY1s z$EnumMeta._check_for_existing_memberscsT|s ttfSfdd}|d}t|ts2td||p._find_data_typerzZnew enumerations should be created as `EnumName([mixin_type, ...] [data_type,] enum_type)`zCannot extend enumerations)rrrr&r)rr]rrar`rrrrZ;s   zEnumMeta._get_mixins_c Cs|dd}|du}|durpdD]H}||fD].}t||d}|ddjtjtjhvr,|}q\q,|dur qpq tj}|tjurd}nd}|||fS)a Returns the __new__ to be used for creating the enum members. classdict: the class dictionary given to __new__ member_type: the data type whose __new__ will be used by default first_enum: enumeration to check for an overriding __new__ rwN)rrwFT)rr[rwrr) rer`rarwrmethodpossibletargetrrrrrjs*    zEnumMeta._find_new_)N)N)r/r,r0r1 classmethodrbrwrrrrrrrrrpropertyrrzrrrr staticmethodrYrZrrXrrr<rrs6  .%   5 !  .rc@steZdZdZddZddZeddZdd Zd d Z d d Z ddZ ddZ ddZ eddZeddZdS)rzV Generic enumeration. Derive from this class to define new enumerations. c Cs(t||ur|Sz |j|WSty.Yn8tyd|jD]}|j|krD|YSqDYn0zd}||}Wn,ty}z|}d}WYd}~n d}~00zrt ||r|Wd}d}St d||j f}|dur|dur|n|durtd|j |f}||_ |Wd}d}n d}d}0dS)N%r is not a valid %szDerror in %s._missing_: returned %r instead of None or a valid member)rrrr&rvaluesryrB ExceptionrNrLr0r/ __context__)r-r3rexcresulteve_excrrrrwsJ       z Enum.__new__c Cs4t|D]&}z|dWSty,Yq0q|S) Generate the next value when not given. name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None rN)rr&)rrrr last_valuerrrrAs  zEnum._generate_next_value_cCsdSrrr)r-r3rrrrBszEnum._missing_cCsd|jj|j|jfS)N <%s.%s: %r>)r=r/rryr;rrrrzsz Enum.__repr__cCsd|jj|jfS)N%s.%s)r=r/rr;rrrr{sz Enum.__str__cs4fddjDddjD}gd|S)z< Returns all members and all public methods cs2g|]*}|jD]}|ddkr|jvr|qqSrr)rjr)rcr-rur;rrrs z Enum.__dir__..cSsg|]}|ddkr|qSrrrtrrrrrg)r=r1r,)r=rhrj)r(added_behaviorrr;rrs  z Enum.__dir__cCsJt|jtjtjfv}|jtus$|r2t}t|}n |j}|j}|||S)z\ Returns format using actual value type unless __str__ has been overridden. ) rr{rrrrrOryr|)r( format_specstr_overriddenr-valrrrr|s  zEnum.__format__cCs t|jSrr)hashrr;rrr__hash__sz Enum.__hash__cCs|j|jffSrrr=ryr'rrrr+ szEnum.__reduce_ex__cCs|jS)zThe name of the Enum member.)rr;rrrrsz Enum.namecCs|jS)zThe value of the Enum member.ryr;rrrr3sz Enum.valueN)r/r,r0r1rwrArrBrzr{rr|rr+rrr3rrrrrs-    r) metaclassc@seZdZdZdS)rz.Enum where members are also (and must be) intsN)r/r,r0r1rrrrrsrcCs|jSrrrr'rrrr"src@speZdZdZddZeddZeddZdd Zd d Z d d Z ddZ ddZ ddZ ddZddZdS)rz Support for flags c Csb|s|dur|SdSt|D]8}zt|}WqVWqtyRtd|dYq0qd|dS)rNrzInvalid Flag value: %rr)r _high_bitrr&)rrrrrhigh_bitrrrrA*s    zFlag._generate_next_value_cCs.|}|dkr|}||}|dkr*|}|S)V Returns member (possibly creating it) if one can be found for value. r)r@)r-r3original_valuepossible_memberrrrrB=s zFlag._missing_cCsb|j|d}|dur^t||\}}|r:td||jft|}d|_||_|j ||}|S)L Create a composite member iff value contains only members. Nr) rr _decomposerLr0rrwrryr})r-r3 pseudo_memberr extra_flagsrrrr@Js zFlag._create_pseudo_member_cCs8t||js&tdt|j|jjf|j|j@|jkS)zP Returns True if self has at least the same flags set as other. r)rNr=r&rr0ryr(otherrrrr^s zFlag.__contains__cCsV|j}|jdur$d|j|j|jfSt||j\}}d|jddd|D|jfS)Nr|cSsg|]}t|jp|jqSrrOrryrtrrrrorgz!Flag.__repr__..)r=rr/ryrrr(r-r uncoveredrrrrzhs z Flag.__repr__cCs|j}|jdur d|j|jfSt||j\}}t|dkr^|djdur^d|j|djfSd|jddd|DfSdS)Nrrrz%s.%rrcSsg|]}t|jp|jqSrrrtrrrr}rgz Flag.__str__..)r=rr/rryrrrrrrr{ss z Flag.__str__cCs t|jSrr)boolryr;rrrrsz Flag.__bool__cCs"t||jstS||j|jBSrrrNr=NotImplementedryrrrr__or__s z Flag.__or__cCs"t||jstS||j|j@Srrr rrrr__and__s z Flag.__and__cCs"t||jstS||j|jASrrr rrrr__xor__s z Flag.__xor__cCsNt|j|j\}}|d}|jD] }||vr"|j|j@s"||B}q"||Sr)rr=ry)r(rrinvertedrurrr __invert__s    zFlag.__invert__N)r/r,r0r1rArrBr@rrzr{rr r rrrrrrr%s     rc@sTeZdZdZeddZeddZddZdd Zd d Z eZ eZ e Z d d Z dS)rz) Support for integer-based Flags cCs*t|tstd||jf||}|S)rr)rNintrLr0r@)r-r3 new_memberrrrrBs  zIntFlag._missing_cCs|j|d}|dur|g}t||\}}|rtt|}d|}||jvrZ||vrZ|||| krjd}q*||N}q*t|D]*}t||}d|_||_ |j ||}q||S)rNrr) rrrrrTrrrwrryr})r-r3rneed_to_createrrbit flag_valuerrrr@s(      zIntFlag._create_pseudo_member_cCs0t||jtfstS||j||jB}|SrrrNr=rr ry)r(rrrrrr szIntFlag.__or__cCs,t||jtfstS||j||j@Srrrrrrrr szIntFlag.__and__cCs,t||jtfstS||j||jASrrrrrrrrszIntFlag.__xor__cCs||j}|Srrr)r(rrrrrszIntFlag.__invert__N)r/r,r0r1rrBr@r r r__ror____rand____rxor__rrrrrrs  rcCs |dS)zJ returns index of highest bit, or -1 if value is zero or negative r) bit_length)r3rrrrsrcCs^g}|jD]"\}}||jkr|||jfq|rZddd|D}td||f|S)zI Class decorator for enumerations ensuring unique member values. z, cSsg|]\}}d||fqS)z%s -> %sr)rcaliasrrrrrrgzunique..z duplicate values found in %r: %s)rrkrrTrrL) enumeration duplicatesrr alias_detailsrrrr s  r c Cs|}|dk}g}|D].}|j}|r||@|kr||||M}q|s|}|rdt|}||jvr||j|||M}||M}qL|s||jvr||j||jddddt|dkr|dj|kr|d||fS)z- Extract all members from the value. rrcSs|jSrrr)rurrrrrgz_decompose..T)rVreverser)r3rTrrrrr~) flagr3 not_coverednegativerrrtmprrrrrs,       r)rtypesrr__all__rrr r%r.rr2r dictr4rrrrrrrrrr rrrrrs0     T{vIPK!KpKp functools.pyca  4@sdZgdZddlmZddlmZddlmZddlm Z ddl m Z dZ d Z e e fd d Ze e fd d ZefddZefddZefddZefddZefddZefddZefddZefddZefddZefd d!Zefd"d#Zefd$d%Zd&efd'efd(efgd(efd)efd&efgd)efd(efd'efgd'efd&efd)efgd*Zd+d,Zd-d.Zzdd/l mZWne!yYn0e"Z#e#fd0d1Z$zdd2l m$Z$Wne!yYn0Gd3d4d4Z%zdd5l m%Z%Wne!yYn0Gd6d7d7e"Z&d8d9Z'ed:gd;Z(Gdd?Z0dXdBdCZ1dDdEZ2zddFl m2Z2Wne!y|Yn0dGdHZ3dIdJZ4dYdLdMZ5dNdOZ6dPdQZ7dRdSZ8GdTdUdUZ9e"Z:GdVdWdWZ;dKS)ZzEfunctools.py - Tools for working with functions and callable objects )update_wrapperwrapsWRAPPER_ASSIGNMENTSWRAPPER_UPDATEStotal_orderingcache cmp_to_key lru_cachereducepartial partialmethodsingledispatchsingledispatchmethodcached_property)get_cache_token) namedtuple)recursive_repr)RLock) GenericAlias) __module____name__ __qualname____doc____annotations__)__dict__c Csd|D]2}zt||}Wnty(Yq0t|||q|D]}t||t||iq<||_|S)aUpdate a wrapper function to look like the wrapped function wrapper is the function to be updated wrapped is the original function assigned is a tuple naming the attributes assigned directly from the wrapped function to the wrapper function (defaults to functools.WRAPPER_ASSIGNMENTS) updated is a tuple naming the attributes of the wrapper that are updated with the corresponding attribute from the wrapped function (defaults to functools.WRAPPER_UPDATES) )getattrAttributeErrorsetattrupdate __wrapped__)wrapperwrappedassignedupdatedattrvaluer&9/usr/local/cpython-exe-builder/lib/python3.9/functools.pyr#s rcCstt|||dS)aDecorator factory to apply update_wrapper() to a wrapper function Returns a decorator that invokes update_wrapper() with the decorated function as the wrapper argument and the arguments to wraps() as the remaining arguments. Default arguments are as for update_wrapper(). This is a convenience function to simplify applying partial() to update_wrapper(). r!r"r#)r rr(r&r&r'rAs rcCs*t|||}||ur|S| o(||kS)zIReturn a > b. Computed by @total_ordering from (not a < b) and (a != b).type__lt__selfotherNotImplemented op_resultr&r&r' _gt_from_ltYsr1cCs(t|||}||ur|S|p&||kS)zEReturn a <= b. Computed by @total_ordering from (a < b) or (a == b).r)r,r&r&r' _le_from_lt`sr2cCs"t|||}||ur|S| S)z=Return a >= b. Computed by @total_ordering from (not a < b).r)r,r&r&r' _ge_from_ltgsr3cCs*t|||}||ur|S| p(||kS)zJReturn a >= b. Computed by @total_ordering from (not a <= b) or (a == b).r*__le__r,r&r&r' _ge_from_lensr6cCs(t|||}||ur|S|o&||kS)zFReturn a < b. Computed by @total_ordering from (a <= b) and (a != b).r4r,r&r&r' _lt_from_leusr7cCs"t|||}||ur|S| S)z=Return a > b. Computed by @total_ordering from (not a <= b).r4r,r&r&r' _gt_from_le|sr8cCs*t|||}||ur|S| o(||kS)zIReturn a < b. Computed by @total_ordering from (not a > b) and (a != b).r*__gt__r,r&r&r' _lt_from_gtsr;cCs(t|||}||ur|S|p&||kS)zEReturn a >= b. Computed by @total_ordering from (a > b) or (a == b).r9r,r&r&r' _ge_from_gtsr<cCs"t|||}||ur|S| S)z=Return a <= b. Computed by @total_ordering from (not a > b).r9r,r&r&r' _le_from_gtsr=cCs*t|||}||ur|S| p(||kS)zJReturn a <= b. Computed by @total_ordering from (not a >= b) or (a == b).r*__ge__r,r&r&r' _le_from_gesr@cCs(t|||}||ur|S|o&||kS)zFReturn a > b. Computed by @total_ordering from (a >= b) and (a != b).r>r,r&r&r' _gt_from_gesrAcCs"t|||}||ur|S| S)z=Return a < b. Computed by @total_ordering from (not a >= b).r>r,r&r&r' _lt_from_gesrBr:r5r?r+)r+r5r:r?csVfddtD}|stdt|}t|D]"\}}||vr.||_t||q.S)z6Class decorator that fills in missing ordering methodscs(h|] }t|dtt|dur|qSN)robject).0opclsr&r' z!total_ordering..z6must define at least one ordering operation: < > <= >=)_convert ValueErrormaxrr)rHrootsrootopnameopfuncr&rGr'rsrcsGfdddt}|S)z,Convert a cmp= function into a key= functioncsZeZdZdgZddZfddZfddZfdd Zfd d Zfd d Z dZ dS)zcmp_to_key..KobjcSs ||_dSrCrR)r-rRr&r&r'__init__szcmp_to_key..K.__init__cs|j|jdkSNrrSr-r.mycmpr&r'r+szcmp_to_key..K.__lt__cs|j|jdkSrUrSrVrWr&r'r:szcmp_to_key..K.__gt__cs|j|jdkSrUrSrVrWr&r'__eq__szcmp_to_key..K.__eq__cs|j|jdkSrUrSrVrWr&r'r5szcmp_to_key..K.__le__cs|j|jdkSrUrSrVrWr&r'r?szcmp_to_key..K.__ge__N) rrr __slots__rTr+r:rYr5r?__hash__r&rWr&r'Ks     r\)rD)rXr\r&rWr'rsr)rcCsXt|}|tur value Apply a function of two arguments cumulatively to the items of a sequence, from left to right, so as to reduce the sequence to a single value. For example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates ((((1+2)+3)+4)+5). If initial is present, it is placed before the items of the sequence in the calculation, and serves as a default when the sequence is empty. z0reduce() of empty sequence with no initial valueN)iter_initial_missingnext StopIteration TypeError)functionsequenceinitialitr%elementr&r&r'r s    r )r csJeZdZdZdZfddZddZeddZd d Z d d Z Z S) r zSNew function with partial application of the given arguments and keywords. )funcargskeywordsr __weakref__cs^t|stdt|dr8|j|}i|j|}|j}tt||}||_||_||_|S)Nz#the first argument must be callablerg) callablerahasattrrhrirgsuperr __new__)rHrgrhrir- __class__r&r'rns  zpartial.__new__cOs*i|j|}|jg|j|Ri|SrCrirgrh)r-rhrir&r&r'__call__*szpartial.__call__cCst|j}t|jg}|dd|jD|dd|jDt|jdkrld|dd |dS|dd |dS) Ncss|]}t|VqdSrC)repr)rExr&r&r' 2rJz#partial.__repr__..css |]\}}|d|VqdS)=Nr&rEkvr&r&r'ru3rJ functoolsz functools.(, )) r*rrsrgextendrhriitemsrjoin)r-qualnamerhr&r&r'__repr__.s  zpartial.__repr__cCs*t||jf|j|j|jpd|jp$dffSrC)r*rgrhrirr-r&r&r' __reduce__8szpartial.__reduce__cCst|tstdt|dkr0tdt||\}}}}t|rrt|trr|dur`t|trr|durzt|tsztdt|}|duri}nt|turt|}|duri}||_||_||_ ||_ dS)Nz(argument to __setstate__ must be a tuplezexpected 4 items in state, got zinvalid partial state) isinstancetupleralenrkdictr*rrgrhri)r-statergrhkwds namespacer&r&r' __setstate__<s4    zpartial.__setstate__) rrrrrZrnrrrrrr __classcell__r&r&ror'r s  r )r c@sFeZdZdZddZddZddZd d d Zed d Z e e Z dS)r zMethod descriptor with partial application of the given arguments and keywords. Supports wrapping existing descriptors and handles non-descriptor callables as instance methods. cOsft|s t|ds td|t|trP|j|_|j||_i|j||_n||_||_||_dS)N__get__z${!r} is not callable or a descriptor) rkrlraformatrr rgrhri)r-rgrhrir&r&r'rTbs  zpartialmethod.__init__cCsNdtt|j}ddd|jD}d}|j|jj|jj |j ||dS)Nr|css|]\}}d||VqdS)z{}={!r}N)rrwr&r&r'ruwsz)partialmethod.__repr__..z*{module}.{cls}({func}, {args}, {keywords}))modulerHrgrhri) rmaprsrhrirrrprrrg)r-rhri format_stringr&r&r'rus  zpartialmethod.__repr__csfdd}j|_|_|S)Ncs,ij|}j|gj|Ri|SrCrq) cls_or_selfrhrirr&r'_methodsz3partialmethod._make_unbound_method.._method)__isabstractmethod___partialmethod)r-rr&rr'_make_unbound_methods z"partialmethod._make_unbound_methodNcCst|jdd}d}|durh|||}||jurht|g|jRi|j}z |j|_WntyfYn0|dur|||}|S)Nr) rrgr rhri__self__rrr)r-rRrHgetresultnew_funcr&r&r'rs    zpartialmethod.__get__cCst|jddSNrFrrgrr&r&r'rsz"partialmethod.__isabstractmethod__)N) rrrrrTrrrpropertyr classmethodr__class_getitem__r&r&r&r'r Zs   r cCst|tr|j}q|SrC)rr rgrgr&r&r'_unwrap_partials r CacheInfo)hitsmissesmaxsizecurrsizec@s(eZdZdZdZefddZddZdS) _HashedSeqz This class guarantees that hash() will be called no more than once per element. This is important because the lru_cache() will hash the key multiple times on a cache miss. hashvaluecCs||dd<|||_dSrCr)r-tuphashr&r&r'rTs z_HashedSeq.__init__cCs|jSrCrrr&r&r'r[sz_HashedSeq.__hash__N)rrrrrZrrTr[r&r&r&r'rs rc s|}|r&||7}|D] } || 7}q|rh||fdd|D7}|r||fdd|D7}n$||dkr|d|vr|dSt|S)aMake a cache key from optionally typed positional and keyword arguments The key is constructed in a way that is flat as possible rather than as a nested structure that would take more memory. If there is only a single argument and its data type is known to cache its hash value, then that argument is returned without a wrapper. This saves space and improves lookup speed. c3s|]}|VqdSrCr&rEryr*r&r'rurJz_make_key..c3s|]}|VqdSrCr&rrr&r'rurJr)rvaluesr) rhrtypedkwd_mark fasttypesrr*rkeyitemr&rr' _make_keys   rFcs~ttrdkrldnTtr\ttr\d}t|t}fdd|_t||Sdurltdfdd}|S) aLeast-recently-used cache decorator. If *maxsize* is set to None, the LRU features are disabled and the cache can grow without bound. If *typed* is True, arguments of different types will be cached separately. For example, f(3.0) and f(3) will be treated as distinct calls with distinct results. Arguments to the cached function must be hashable. View the cache statistics named tuple (hits, misses, maxsize, currsize) with f.cache_info(). Clear the cache and statistics with f.cache_clear(). Access the underlying function with f.__wrapped__. See: https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU) rrcs dSNrrr&r&rr&r'rJzlru_cache..Nz=Expected first argument to be an integer, a callable, or Nonecs(t|t}fdd|_t||S)Ncs dSrr&r&rr&r'rrJz8lru_cache..decorating_function..)_lru_cache_wrapper _CacheInfocache_parametersr) user_functionr rr&r'decorating_functionsz&lru_cache..decorating_function) rintrkboolrrrrra)rrrr rr&rr'rs   rcstt d\id djjt gddgdd< dkrh fdd}nN dur fdd}n* fdd} fdd } fd d }||_||_|S) N)rrrFcsd7|i|}|SNrr&)rhrr)rrr&r'r sz#_lru_cache_wrapper..wrappercsL||}|}|ur*d7|Sd7|i|}||<|Srr&)rhrrr)r cache_getrmake_keyrsentinelrrr&r'r &s  c sp ||} |}|dur|\}}}}||<||< }||< <||< |<d7|WdS d7 Wdn1s0Y|i|} |vrnr } || <|| <|  } } d < <| =| |<n6 }| ||g}||< <|< kWdn1sb0Y|Srr&) rhrrlink link_prev link_next_keyrlastZoldrootZoldkeyZ oldresult)KEYNEXTPREVRESULTrr cache_lenfullrlockrrrrOrrr&r'r 5sB  &  *cs8 WdS1s*0YdS)zReport cache statisticsNr&r&)rrrrrrr&r' cache_infonsz&_lru_cache_wrapper..cache_infocsP8ddgdd<ddWdn1sB0YdS)z$Clear the cache and cache statisticsNrF)clearr&)rrrrrrOr&r' cache_clearss z'_lru_cache_wrapper..cache_clear)rDrr__len__rrr)rrrrr rrr&)rrrrrrrrrrrrrrrOrrrr'r s* *9 r)rcCstdd|S)z@Simple lightweight unbounded cache. Sometimes called "memoize".N)r)r)rr&r&r'rsrcCsg}dd|D}|s|S|D]2}|d}|D]}||ddvr.d}qq.qRq|durbtd|||D]}|d|krp|d=qpqdS)zMerges MROs in *sequences* to a single MRO using the C3 algorithm. Adapted from https://www.python.org/download/releases/2.3/mro/. cSsg|] }|r|qSr&r&rEsr&r&r' rJz_c3_merge..rrNzInconsistent hierarchy) RuntimeErrorappend) sequencesrs1 candidates2seqr&r&r' _c3_merges"  rNc stt|jD]$\}tdrt|j|}q8qd}rDtngt|jd|}g}t|j|d}D]0t|rttfdd|jDst|qt|D] qfdd|D}fdd|D}fd d|D} t |gg||| |g|g|gS) aComputes the method resolution order using extended C3 linearization. If no *abcs* are given, the algorithm works exactly like the built-in C3 linearization used for method resolution. If given, *abcs* is a list of abstract base classes that should be inserted into the resulting MRO. Unrelated ABCs are ignored and don't end up in the result. The algorithm inserts ABCs where their functionality is introduced, i.e. issubclass(cls, abc) returns True for the class itself but returns False for all its direct base classes. Implicit ABCs for a given class (either registered or inferred from the presence of a special method like __len__) are inserted directly after the last ABC explicitly listed in the MRO of said class. If two implicit ABCs end up next to each other in the resulting MRO, their ordering depends on the order of types in *abcs*. __abstractmethods__rNc3s|]}t|VqdSrC) issubclass)rEb)baser&r'rusz_c3_mro..csg|]}t|dqSabcs_c3_mrorErrr&r'rrJz_c3_mro..csg|]}t|dqSrrrrr&r'rrJcsg|]}t|dqSrrrrr&r'rrJ) enumeratereversed __bases__rlrlistranyrremover) rHriboundaryexplicit_basesabstract_bases other_basesexplicit_c3_mrosabstract_c3_mros other_c3_mrosr&)rrr'rsD   rcstjfddfddDfddfddDtg}D]}g}|D]0}|vrht|rh|fdd|jDqh|s||qX|jtd d |D] }|D]}||vr||qqqXt|d S) zCalculates the method resolution order for a given class *cls*. Includes relevant abstract base classes (with their respective bases) from the *types* iterable. Uses a modified C3 linearization algorithm. cs(|vo&t|do&t|t o&t|S)N__mro__)rlrrr)typ)basesrHr&r' is_relateds  z _compose_mro..is_relatedcsg|]}|r|qSr&r&rEn)rr&r'rrJz _compose_mro..cs&D]}||kr||jvrdSqdS)NTF)r)rr.)typesr&r'is_strict_basesz$_compose_mro..is_strict_basecsg|]}|s|qSr&r&r)rr&r'rrJcsg|]}|vr|qSr&r&r)type_setr&r'rrJT)rreverser)setr__subclasses__rrsortrr)rHrmrorfoundsubsubclsr&)rrHrrrrr' _compose_mros*    r cCstt||}d}|D]R}|dur\||vrX||jvrX||jvrXt||sXtd||qj||vr|}q||S)a^Returns the best matching implementation from *registry* for type *cls*. Where there is no registered implementation for a specific type, its method resolution order is used to find a more generic implementation. Note: if *registry* does not contain an implementation for the base *object* type, this function may return None. NzAmbiguous dispatch: {} or {})r keysrrrrr)rHregistryr matchtr&r&r' _find_impls rcsddl}ddl}i|dfddddd fdd fd d }t|d d |t<|_|_||_j |_ t |||S)akSingle-dispatch generic function decorator. Transforms a function into a generic function, which can have different behaviours depending upon the type of its first argument. The decorated function acts as the default implementation, and additional implementations can be registered using the register() attribute of the generic function. rNc sxdur"t}|kr"|z |}WnDtyrz |}Wntydt|}Yn0||<Yn0|S)zgeneric_func.dispatch(cls) -> Runs the dispatch algorithm to return the best available implementation for the given *cls* registered on *generic_func*. N)rrKeyErrorr)rH current_tokenimpl) cache_tokendispatch_cacherr&r'dispatch1s    z singledispatch..dispatchcSst|tot|t SrC)rr*rrGr&r&r'_is_valid_dispatch_typeHsz/singledispatch.._is_valid_dispatch_typecsr |durfddSn~|dur8tddtdi}|sXtdd}d d lm}tt||\}std |d d|<durtd rt |S)zgeneric_func.register(cls, func) -> func Registers a new implementation for the given *cls* on a *generic_func*. Ncs |SrCr&)f)rHregisterr&r'rTrJz2singledispatch..register..z(Invalid first argument to `register()`. z is not a class.rz(Invalid first argument to `register()`: zS. Use either `@register(some_class)` or plain `@register` on an annotated function.r)get_type_hintszInvalid annotation for z. r) rartypingrr_r]rrlrr)rHrgannrargname)rrrrrrGr'rKs8   z singledispatch..registercs*|std|dj|i|S)Nz( requires at least 1 positional argumentr)rarp)rhkw)rfuncnamer&r'r sszsingledispatch..wrapperrzsingledispatch function)N) rweakrefWeakKeyDictionaryrrDrrMappingProxyTyperr _clear_cacher)rgrr"r r&)rrrrr!rrr'r s (   r c@s8eZdZdZddZd ddZd ddZed d ZdS) r zSingle-dispatch generic method descriptor. Supports wrapping existing descriptors and handles non-descriptor callables as instance methods. cCsRt|s t|ds t|dt||_||_t|ttfrH|j |_ n||_ dS)Nrz is not callable or a descriptor) rkrlrar dispatcherrgr staticmethodr__func__ _wrapped_funcr-rgr&r&r'rTs  zsingledispatchmethod.__init__NcCs.t|ttfrt|jdi|_|jj||dS)zgeneric_method.register(cls, func) -> func Registers a new implementation for the given *cls* on a *generic_method*. rr)rr'rrr(rr&r)r-rHmethodr&r&r'rs zsingledispatchmethod.registercs0fdd}j|_j|_t|j|S)Ncs(j|dj}||i|SrU)r&rrpr)rhkwargsr+rHrRr-r&r'rsz-singledispatchmethod.__get__.._method)rrrr))r-rRrHrr&r-r'rs  zsingledispatchmethod.__get__cCst|jddSrrrr&r&r'rsz)singledispatchmethod.__isabstractmethod__)N)N) rrrrrTrrrrr&r&r&r'r s  r c@s.eZdZddZddZdddZeeZdS) rcCs ||_d|_|j|_t|_dSrC)rgattrnamerrrr*r&r&r'rTszcached_property.__init__cCs8|jdur||_n"||jkr4td|jd|ddS)Nz?Cannot assign the same cached_property to two different names (z and z).)r.ra)r-ownernamer&r&r' __set_name__s  zcached_property.__set_name__Nc Cs|dur |S|jdurtdz |j}Wn6ty^dt|jd|jd}t|dYn0||jt}|tur|jv||jt}|tur| |}z|||j<Wn6tydt|jd|jd}t|dYn0Wdn1s0Y|S)NzGCannot use cached_property instance without calling __set_name__ on it.zNo '__dict__' attribute on z instance to cache z property.zThe '__dict__' attribute on z7 instance does not support item assignment for caching ) r.rarrr*rr _NOT_FOUNDrrg)r-instancer/rmsgvalr&r&r'rs:      .zcached_property.__get__)N) rrrrTr1rrrrr&r&r&r'rs r)rF)N)s                     AJ   .t  -*f5PK!F]66 heapq.pyca C3(@sDdZdZgdZddZddZddZd d Zd d Zd dZddZ ddZ ddZ ddZ ddZ ddZdddddZd*d d!Zd+d"d#Zz d$d%lTWneyYn0zd$d&lm Z WneyYn0zd$d'lm Z WneyYn0zd$d(lmZWney Yn0ed)kr@d$dlZeedS),aHeap queue algorithm (a.k.a. priority queue). Heaps are arrays for which a[k] <= a[2*k+1] and a[k] <= a[2*k+2] for all k, counting elements from 0. For the sake of comparison, non-existing elements are considered to be infinite. The interesting property of a heap is that a[0] is always its smallest element. Usage: heap = [] # creates an empty heap heappush(heap, item) # pushes a new item on the heap item = heappop(heap) # pops the smallest item from the heap item = heap[0] # smallest item on the heap without popping it heapify(x) # transforms list into a heap, in-place, in linear time item = heapreplace(heap, item) # pops and returns smallest item, and adds # new item; the heap size is unchanged Our API differs from textbook heap algorithms as follows: - We use 0-based indexing. This makes the relationship between the index for a node and the indexes for its children slightly less obvious, but is more suitable since Python uses 0-based indexing. - Our heappop() method returns the smallest item, not the largest. These two make it possible to view the heap as a regular Python list without surprises: heap[0] is the smallest item, and heap.sort() maintains the heap invariant! uoHeap queues [explanation by François Pinard] Heaps are arrays for which a[k] <= a[2*k+1] and a[k] <= a[2*k+2] for all k, counting elements from 0. For the sake of comparison, non-existing elements are considered to be infinite. The interesting property of a heap is that a[0] is always its smallest element. The strange invariant above is meant to be an efficient memory representation for a tournament. The numbers below are `k', not a[k]: 0 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 In the tree above, each cell `k' is topping `2*k+1' and `2*k+2'. In a usual binary tournament we see in sports, each cell is the winner over the two cells it tops, and we can trace the winner down the tree to see all opponents s/he had. However, in many computer applications of such tournaments, we do not need to trace the history of a winner. To be more memory efficient, when a winner is promoted, we try to replace it by something else at a lower level, and the rule becomes that a cell and the two cells it tops contain three different items, but the top cell "wins" over the two topped cells. If this heap invariant is protected at all time, index 0 is clearly the overall winner. The simplest algorithmic way to remove it and find the "next" winner is to move some loser (let's say cell 30 in the diagram above) into the 0 position, and then percolate this new 0 down the tree, exchanging values, until the invariant is re-established. This is clearly logarithmic on the total number of items in the tree. By iterating over all items, you get an O(n ln n) sort. A nice feature of this sort is that you can efficiently insert new items while the sort is going on, provided that the inserted items are not "better" than the last 0'th element you extracted. This is especially useful in simulation contexts, where the tree holds all incoming events, and the "win" condition means the smallest scheduled time. When an event schedule other events for execution, they are scheduled into the future, so they can easily go into the heap. So, a heap is a good structure for implementing schedulers (this is what I used for my MIDI sequencer :-). Various structures for implementing schedulers have been extensively studied, and heaps are good for this, as they are reasonably speedy, the speed is almost constant, and the worst case is not much different than the average case. However, there are other representations which are more efficient overall, yet the worst cases might be terrible. Heaps are also very useful in big disk sorts. You most probably all know that a big sort implies producing "runs" (which are pre-sorted sequences, which size is usually related to the amount of CPU memory), followed by a merging passes for these runs, which merging is often very cleverly organised[1]. It is very important that the initial sort produces the longest runs possible. Tournaments are a good way to that. If, using all the memory available to hold a tournament, you replace and percolate items that happen to fit the current run, you'll produce runs which are twice the size of the memory for random input, and much better for input fuzzily ordered. Moreover, if you output the 0'th item on disk and get an input which may not fit in the current tournament (because the value "wins" over the last output value), it cannot fit in the heap, so the size of the heap decreases. The freed memory could be cleverly reused immediately for progressively building a second heap, which grows at exactly the same rate the first heap is melting. When the first heap completely vanishes, you switch heaps and start a new run. Clever and quite effective! In a word, heaps are useful memory structures to know. I use them in a few applications, and I think it is good to keep a `heap' module around. :-) -------------------- [1] The disk balancing algorithms which are current, nowadays, are more annoying than clever, and this is a consequence of the seeking capabilities of the disks. On devices which cannot seek, like big tape drives, the story was quite different, and one had to be very clever to ensure (far in advance) that each tape movement will be the most effective possible (that is, will best participate at "progressing" the merge). Some tapes were even able to read backwards, and this was also used to avoid the rewinding time. Believe me, real good tape sorts were quite spectacular to watch! From all times, sorting has always been a Great Art! :-) )heappushheappopheapify heapreplacemergenlargest nsmallest heappushpopcCs"||t|dt|ddS)z4Push item onto heap, maintaining the heap invariant.N)append _siftdownlenheapitemr5/usr/local/cpython-exe-builder/lib/python3.9/heapq.pyrs rcCs.|}|r*|d}||d<t|d|S|S)zCPop the smallest item off the heap, maintaining the heap invariant.r )pop_siftuprZlastelt returnitemrrrrs rcCs|d}||d<t|d|S)aPop and return the current smallest value, and add the new item. This is more efficient than heappop() followed by heappush(), and can be more appropriate when using a fixed-size heap. Note that the value returned may be larger than item! That constrains reasonable uses of this routine unless written as part of a conditional replacement: if item > heap[0]: item = heapreplace(heap, item) r rrrrrrrrs  rcCs0|r,|d|kr,|d|}|d<t|d|S)z1Fast version of a heappush followed by a heappop.r rrrrrrs rcCs,t|}tt|dD]}t||qdS)z8Transform list into a heap, in-place, in O(len(x)) time.N)r reversedrangerxnirrrrsrcCs.|}|r*|d}||d<t|d|S|S)zMaxheap version of a heappop.r )r _siftup_maxrrrr _heappop_maxs r!cCs|d}||d<t|d|S)z4Maxheap version of a heappop followed by a heappush.r )r rrrr_heapreplace_maxs r"cCs,t|}tt|dD]}t||qdS)z;Transform list into a maxheap, in-place, in O(len(x)) time.rN)r rrr rrrr _heapify_maxsr#cCsJ||}||kr>|dd?}||}||kr>|||<|}qq>q|||<dS)Nr rrstartposposnewitem parentposparentrrrr s r cCst|}|}||}d|d}||krj|d}||krL||||ksL|}||||<|}d|d}q |||<t|||dS)Nrr )r r rr&endposr%r'childposrightposrrrrs  rcCsJ||}||kr>|dd?}||}||kr>|||<|}qq>q|||<dS)zMaxheap variant of _siftdownr Nrr$rrr _siftdown_maxs r.cCst|}|}||}d|d}||krj|d}||krL||||ksL|}||||<|}d|d}q |||<t|||dS)zMaxheap variant of _siftuprr N)r r.r*rrrr %s  r NFkeyreversec gsg}|j}|r t}t}t}d}nt}t}t}d}|durttt |D]:\} } z| j } || | || gWqHt yYqH0qH||t |dkrz2|d\} } } } | V| | d<||| qWqt y||Yq0q|r|d\} } } | V| j EdHdSttt |D]H\} } z(| j } | } ||| | || | gWnt ydYn0q ||t |dkrzF|d\}} } } } | V| } || | d<| | d<||| qWnt y||Yn0qr|r|d\}} } } | V| j EdHdS)akMerge multiple sorted inputs into a single sorted output. Similar to sorted(itertools.chain(*iterables)) but returns a generator, does not pull the data into memory all at once, and assumes that each of the input streams is already sorted (smallest to largest). >>> list(merge([1,3,5,7], [0,2,4,8], [5,10,15,20], [], [25])) [0, 1, 2, 3, 4, 5, 5, 7, 8, 10, 15, 20, 25] If *key* is not None, applies a key function to each element to determine its sort order. >>> list(merge(['dog', 'horse'], ['cat', 'fish', 'kangaroo'], key=len)) ['dog', 'cat', 'fish', 'horse', 'kangaroo'] r Nr r)r r#r!r"rrr enumeratemapiter__next__ StopIterationr __self__)r0r1 iterableshh_append_heapify_heappop _heapreplace directionorderitnextvalues key_valuerrrr:sl        rc s|dkr6t|}t}t||d}||ur0gS|gSz t|}WnttfyXYn0||krvt|dd|Sdurt|}ddtt||D}|s|St ||dd}|}t } |D].} | |kr| || |f|d\}} |d7}q| dd|DSt|}fd dtt||D}|s<|St ||dd}|}t } |D]>} | } | |kr\| || || f|d\}} } |d7}q\| d d|DS) zbFind the n smallest elements in a dataset. Equivalent to: sorted(iterable, key=key)[:n] r defaultr0r0NcSsg|]\}}||fqSrr.0relemrrr znsmallest..r cSsg|] \}}|qSrrrJrKr@rrrrLrMcsg|]\}}|||fqSrrrIrHrrrLrMcSsg|]\}}}|qSrrrJkr@rKrrrrLrM) r5objectminr TypeErrorAttributeErrorsortedziprr#r"sortriterabler0rAsentinelresultsizetopr@r>rK_orderrP_elemrrHrrsV        rc s|dkr6t|}t}t||d}||ur0gS|gSz t|}WnttfyXYn 0||krxt|ddd|Sdurt|}ddttd| d |D}|s|St ||dd}| }t } |D].} || kr| || |f|d\}} |d8}q|j dd d d|DSt|}fd dttd| d |D}|sP|St ||dd}| }t } |D]>} | } || krr| || || f|d\}} } |d8}qr|j dd d d|DS)zoFind the n largest elements in a dataset. Equivalent to: sorted(iterable, key=key, reverse=True)[:n] r rFTr/NcSsg|]\}}||fqSrrrIrrrrL"rMznlargest..r r2)r1cSsg|] \}}|qSrrrNrrrrL/rMcsg|]\}}|||fqSrrrIrHrrrL3rMcSsg|]\}}}|qSrrrOrrrrLArM) r5rQmaxr rSrTrUrVrrrrWrXrrHrr sV      "    rr )*)r")r#)r!__main__)N)N)__doc__ __about____all__rrrrrr!r"r#r rr.r rrr_heapq ImportError__name__doctestprinttestmodrrrrsJ ^    5 < ;     PK!6ch h io.pyca  42,@sBdZdZgdZddlZddlZddlmZmZmZmZm Z m Z m Z m Z m Z mZmZmZmZmZejZde_dZdZdZGd d d ejejd ZGd d d ejeZGdddejeZGdddejeZ e!e e e eeefD]Z"e!e"qe efD]Z"e !e"q["zddlm#Z#Wne$y2Yn 0e!e#dS)aThe io module provides the Python interfaces to stream handling. The builtin open function is defined in this module. At the top of the I/O hierarchy is the abstract base class IOBase. It defines the basic interface to a stream. Note, however, that there is no separation between reading and writing to streams; implementations are allowed to raise an OSError if they do not support a given operation. Extending IOBase is RawIOBase which deals simply with the reading and writing of raw bytes to a stream. FileIO subclasses RawIOBase to provide an interface to OS files. BufferedIOBase deals with buffering on a raw byte stream (RawIOBase). Its subclasses, BufferedWriter, BufferedReader, and BufferedRWPair buffer streams that are readable, writable, and both respectively. BufferedRandom provides a buffered interface to random access streams. BytesIO is a simple stream of in-memory bytes. Another IOBase subclass, TextIOBase, deals with the encoding and decoding of streams into text. TextIOWrapper, which extends it, is a buffered text interface to a buffered raw stream (`BufferedIOBase`). Finally, StringIO is an in-memory stream for text. Argument names are not part of the specification, and only the arguments of open() are intended to be used as keyword arguments. data: DEFAULT_BUFFER_SIZE An int containing the default buffer size used by the module's buffered I/O classes. open() uses the file's blksize (as obtained by os.stat) if possible. zGuido van Rossum , Mike Verdone , Mark Russell , Antoine Pitrou , Amaury Forgeot d'Arc , Benjamin Peterson )BlockingIOErroropen open_codeIOBase RawIOBaseFileIOBytesIOStringIOBufferedIOBaseBufferedReaderBufferedWriterBufferedRWPairBufferedRandom TextIOBase TextIOWrapperUnsupportedOperationSEEK_SETSEEK_CURSEEK_ENDN)DEFAULT_BUFFER_SIZErrrrrrrr r r r IncrementalNewlineDecoderrioc@seZdZejjZdS)rN)__name__ __module__ __qualname___io_IOBase__doc__r r 2/usr/local/cpython-exe-builder/lib/python3.9/io.pyrHsr) metaclassc@seZdZejjZdS)rN)rrrr _RawIOBaserr r r r!rKsrc@seZdZejjZdS)r N)rrrr_BufferedIOBaserr r r r!r Nsr c@seZdZejjZdS)rN)rrrr _TextIOBaserr r r r!rQsr)_WindowsConsoleIO)%r __author____all__rabcrrrrrrrrr r r r rr OpenWrapperrrrrrABCMetarr#rr$r r%rregisterklassr& ImportErrorr r r r!s6$@    PK!P keyword.pyca ;W$in@s0dZgdZgdZgZeejZeejZdS)aKeywords (from "Grammar/python.gram") This file is automatically generated; please don't muck it up! To update the symbols in this file, 'cd' to the top directory of the python source tree and run: PYTHONPATH=Tools/peg_generator python3 -m pegen.keywordgen Grammar/Grammar Grammar/Tokens Lib/keyword.py Alternatively, you can run 'make regen-keyword'. ) iskeyword issoftkeywordkwlist softkwlist)$FalseNoneTrue__peg_parser__andasassertasyncawaitbreakclasscontinuedefdelelifelseexceptfinallyforfromglobalifimportinislambdanonlocalnotorpassraisereturntrywhilewithyieldN)__doc____all__rr frozenset __contains__rrr-r-7/usr/local/cpython-exe-builder/lib/python3.9/keyword.pys ' PK!Y; linecache.pyca EL|@sldZddlZddlZddlZddlZgdZiZddZdddZddd Z dd d Z dd d Z ddZ dS)zCache lines from Python source files. This is intended to read lines from modules imported -- hence if a filename is not found, it will look down the module search path for a file by that name. N)getline clearcache checkcache lazycachecCs tdS)zClear the cache entirely.N)cacheclearrr9/usr/local/cpython-exe-builder/lib/python3.9/linecache.pyrsrcCs6t||}d|kr"t|kr2nn ||dSdS)z~Get a line for a Python source file from the cache. Update the cache if it doesn't contain an entry for this file already.)getlineslen)filenamelinenomodule_globalslinesrrr rs  rcCsV|tvr(t|}t|dkr(t|dSz t||WStyPtgYS0dS)zGet the lines for a Python source file from the cache. Update the cache if it doesn't contain an entry for this file already.r N)rr updatecache MemoryErrorr)rrentryrrr r $s    r c Cs|durtt}n|tvr&|g}ndS|D]}t|}t|dkrHq.|\}}}}|dur^q.zt|}Wn"tyt|dYq.Yn0||jks||j kr.t|dq.dS)zUDiscard cache entries that are out of date. (This is not checked upon each call!)Nr ) listrkeysr osstatOSErrorpopst_sizest_mtime)r filenamesrsizemtimerfullnamerrrr r4s&     rc Cs|tvr$tt|dkr$t|d|r<|dr@|dr@gS|}zt|}Wntyf|}t||rzt|d}Wnt tfyYnD0|durgYSt|ddd| D|ft|<t|dYStj |rgYSt j D]`}ztj ||}Wnttfy*YqYn0zt|}WqbWqtyVYq0qgYSYn0z8t|}|}Wdn1s0YWntygYS0|r|d d s|d d 7<|j|j} } | | ||ft|<|S) zUpdate a cache entry and return its list of lines. If something's wrong, print a message, discard the cache entry, and return an empty list.r N<>rcSsg|] }|dqS) r).0linerrr pzupdatecache..rr$)rr r startswithendswithrrrr ImportError splitlinespathisabssysjoin TypeErrorAttributeErrortokenizeopen readlinesrr) rrr!rbasenamedatadirnamefprrr rrr rPs\        , rcCs|tvr tt|dkrdSdS|r8|dr<|drs   CPK!d locale.pyca )|-fM@s dZddlZddlZddlZddlZddlZddlmZddl Z gdZ ddZ ddZ z dd l TWnJeyd Zd Zd ZdZd ZdZdZdZeZddZdddZYn0devre Zdevre ZeZiZe eddZddZ!dddZ"ddZ#e$dZ%dd d!Z&dd"d#Z'dd$d%Z(dd'd(Z)d)d*Zd+d,Z*e+fd-d.Z,d/d0Z-d1d2Z.eZ/d3d4Z0d5d6Z1d7d8Z2d9d:Z3d;d<Z4dd>d?Z5efd@dAZ6ddBdZefdCdDZ7ej89dErddFdGZ:nPze;Wn:e<y"e=edHrddIdGZ:n ddJdGZ:Yn0ddKdGZ:dLdLdMdNdNdOdPdQdRdSdMdTdUdVdMdMdMdWdXdYdZdVd[dTd\d]dUd^d_d`dadNdbdcdOdddedfdgdhdidQdRdSdj,Z>e?e>@D]"\ZAZBeACdkdlZAe>DeAeBqdmdmdmdndodpdqdqdrdsdtdtdudvdwdxdxdydzd{d|d}d~ddddddddddddddxddddddddddddddddddddddddddddddddddddLddLdLduddLdLdddddddddudddddddddddddddddddddddddddddddddddddddddddudddddddddddddddddddudddddddduddudLdudddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d d d d ddddddd d dǐdddddddddddddddddddddddddddd d d!d"d d dddudduddudېd#d$d#d#d%d%d%ddd&d'd'd'd(d(d'd'd'd'd'd)d)d)d*d)d+d,d-d-d.d/d/d0d0d0d1d0d0d2d2d3d4d5d5d6d6d7d8d9d:d;d<d=d>d>d?d?d>d<d<d@d@dAdBdCdCdDdEdFdGdHdHdIdJdKdKdLdLdMdNdOdOdPdPdQdQdRdSdddTdUdVdWdXdYddZddd[d[d\d]d\d\d\d\d^d^d_d_d]d]d[d`d`dadbdcdcdddededfdgdhdidjdkdjdldldmdmdmdndodLdLdpdpdqdndodndrdsdtdtdtdududvdtdwdxdxdydzd{d|d|d}d~ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddÐdÐdĐdŐdddǐdddɐdɐdʐdːdddd̐d̐d͐LZEdΐdϐdАdѐdҐdӐdԐdՐd֐dאdؐdِdڐdېdܐdݐdސdߐdddddddddddddddddddddddddddddddddddddddddddd d d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`d_d`dadbdcdddedfdgdfdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddddddddZFddZGzeWne< yYn0e HdeIdk reJdeJeGeJeJdeJe.dS(aLocale support module. The module provides low-level access to the C lib's locale APIs and adds high level number formatting APIs as well as a locale aliasing engine to complement these. The aliasing engine includes support for many commonly used locale names and maps them to values suitable for passing to the C lib's setlocale() function. It also includes default encodings for all supported locale names. N)str) getlocalegetdefaultlocalegetpreferredencodingError setlocale resetlocale localeconvstrcollstrxfrmratofatoiformat format_stringcurrency normalizeLC_CTYPE LC_COLLATELC_TIME LC_MONETARY LC_NUMERICLC_ALLCHAR_MAXcCs||k||kS)zZ strcoll(string,string) -> int. Compares two strings according to the locale. )abrr6/usr/local/cpython-exe-builder/lib/python3.9/locale.py_strcoll!srcCs|S)z\ strxfrm(string) -> string. Returns a string that behaves for cmp locale-aware. r)srrr_strxfrm'sr)*cCs,dgddddgdddddddddddddS)zd localeconv() -> dict. Returns numeric and monetary locale-specific parameters. r!.)groupingcurrency_symbol n_sign_posn p_cs_precedes n_cs_precedes mon_groupingn_sep_by_space decimal_point negative_sign positive_signp_sep_by_spaceint_curr_symbol p_sign_posn thousands_sepmon_thousands_sep frac_digitsmon_decimal_pointint_frac_digitsrrrrrr ?s&r cCs|dvrtddS)zd setlocale(integer,string=None) -> string. Activates/queries locale processing. )Nr(Cz*_locale emulation only supports "C" localer<)r)categoryvaluerrrrWsrr r cCst}tr|t|S)N) _localeconv_override_localeconvupdate)drrrr ls ccsJd}|D]<}|tkrdS|dkr:|dur2td|Vq2|V|}qdS)Nrzinvalid grouping)r ValueError)r* last_intervalintervalrrr_grouping_intervalszsrFFc Cst}||rdpd}||r dp"d}|s2|dfS|ddkr\|}|t|d}|}nd}d}g}t|D]B} |r|dd vr|}d}q||| d|d| }qp|r|||||||t|t|d fS) Nr8r7r/r*r r( 0123456789r&)r rstriplenrFappendreversejoin) rmonetaryconvr7r*stripped right_spaces left_spacesgroupsrErrr_groups2   rUcCsdd}|r&||dkr&|d7}|d8}qt|d}|rT||dkrT|d8}|d8}q2|||dS)NrrHr&)rK)ramountlposrposrrr_strip_paddings   rYzG%(?:\((?P.*?)\))?(?P[-#0-9 +*.hlL]*?)[eEfFgGdiouxXcrs%]c Gs|r||f|}n||}|ddvr~d}|d}|rRt|d|d\|d<}t|r^dp`d}||}|rt||}n2|ddvrd}|rt||d\}}|rt||}|S) NrGeEfFgGrr)rOr:r1diu)splitrUr rNrY) percentr>r*rO additional formattedsepspartsr1rrr_formats*       rcc Cs tt|}td|}t|tjrjg}|D]8}|ddkrN|dq.|t ||||q.nt|t sz|f}g}d}|D]t}|ddkr|dq|d d} |t |||||g||d|d| R|d| 7}qt |}||S)aFormats a string in the same way that the % formatting would use, but takes the current locale into account. Grouping is applied if the third parameter is true. Conversion uses monetary thousands separator and grouping strings if forth parameter monetary is true.z%srG%r modifiersr r&) list _percent_refinditersub isinstance_collections_abcMappinggrouprLrctuplecount) fvalr*rOpercentsnew_fnew_valperci starcountrrrrs4       rcGs`ddl}|jdtddt|}|r:t|t|krJtdt|t ||||g|RS)z&Deprecated, use format_string instead.rNz`This method will be removed in a future version of Python. Use 'locale.format_string()' instead.r') stacklevelzHformat() must be given exactly one %%char format specifier, %s not valid) warningswarnDeprecationWarningrgmatchrKrmrCreprrc)r^r>r*rOr_ryr|rrrrs rTc Cst}||rdpd}|dkr&tdtd|t||dd}d|d }|r||rXd pZd }||d krld pnd}||d krdpd} |r|| rdpd|}n0|r|ddkr|dd}|| rdpd|}||d krdpd} ||d krdpd} | d krd|d}n`| dkr$| |}nL| dkr8|| }n8| dkrP|d| }n | dkrh|d | }n| |}|ddd dS)zIFormats val according to the currency settings in the current locale.r;r9r!z9Currency formatting is not possible using the 'C' locale.z%%.%ifTr[<>r5r+rr.r-r0r4rHr(rGNr,r6r2r3()r&r'r#r%)r rCrcabsreplace) rqsymbolr* internationalrPdigitsrsmbprecedes separatedsign_possignrrrrs:         rcCs td|S)z8Convert float to string, taking the locale into account.z%.12g)rc)rqrrrr2srcCs:t}|d}|r||d}|d}|r6||d}|S)zHParses a string as a normalized number according to the locale settings.r7r(r1r))r r)stringrPtsddrrr delocalize6s  rcCs |t|S)zi>iLi:iiziNi|iPiPiaiiiiHici)iiiiFikikik iiii;$i;i;i;i;i; i; i;i;iOi iiii[ili2ii$i i i i i i i i i $i (i ,i 0i 4i 8i <i @i Di Hi Li Pi TiAiiiZi(i_iIiDiJiiQiQiiBii"i.i i iCiCi*iRii4iixiji5cCsi}|fdd}||d=tdtdt\}}td|p@dtd|pNdttd td|D]@\}}t|d t|\}}td |pdtd |pdtqpttd tdt|D]B\}}t|d t|\}}td |pdtd |pdtqzttdWn$tdtdtdYnh0ttdtd|D]F\}}t|d t|\}}td |pdtd |pdtqldS)z Test function. cSs0tD] \}}|dddkr |||<q dS)Nr#LC_)globalsitems) categorieskvrrr_init_categoriessz'_print_locale.._init_categoriesrz4Locale defaults as determined by getdefaultlocale():zH------------------------------------------------------------------------z Language: z (undefined)z Encoding: zLocale settings on startup:z...z Language: z Encoding: z,Locale settings after calling resetlocale():r(zNOTE:z9setlocale(LC_ALL, "") does not support the default localez&given in the OS environment variables.z4Locale settings after calling setlocale(LC_ALL, ""):N)rrrrrrr)rrlangencnamer=rrr _print_localesV        r LC_MESSAGES__main__zLocale aliasing:zNumber formatting:)N)F)FF)FF)FF)TFF)r)N)T)T)T)T)K__doc__rrZencodings.aliasesrerkbuiltinsrr functools__all__rrrrrrrrrrrrrCrr rrr r r?r@wrapsrFrUrYcompilergrcrrrrfloatr r rrrrrrrrrrr startswithrCODESET NameErrorhasattrrsortedrrrr setdefaultrrrrL__name__rrrrrsL           %  /  S" 5     $6 } aV :    PK!qz*55 operator.pyca [$[R|@sdZgdZddlmZddZddZdd Zd d Zd d Z ddZ ddZ ddZ ddZ ddZddZddZddZddZd d!Zd"d#ZeZd$d%Zd&d'Zd(d)Zd*d+Zd,d-Zd.d/Zd0d1Zd2d3Zd4d5Zd6d7Zd8d9Zd:d;Z dd?Z"d@dAZ#dBdCZ$dDdEZ%dFdGZ&dHdIZ'dqdJdKZ(GdLdMdMZ)GdNdOdOZ*GdPdQdQZ+dRdSZ,dTdUZ-dVdWZ.dXdYZ/dZd[Z0d\d]Z1d^d_Z2d`daZ3dbdcZ4dddeZ5dfdgZ6dhdiZ7djdkZ8dldmZ9z ddnl:TWne;yYn0ddol:mZeZeZ?e Z@e ZAe ZBeZCeZDeZEeZFeZGeZHeZIeZJeZKeZLeZMeZNeZOeZPeZQeZReZSeZTe ZUe!ZVe"ZWe$ZXe%ZYe'ZZe,Z[e-Z\e.Z]e/Z^e0Z_e1Z`e2Zae3Zbe4Zce5Zde6Zee7Zfe8Zge9ZhdpS)ras Operator Interface This module exports a set of functions corresponding to the intrinsic operators of Python. For example, operator.add(x, y) is equivalent to the expression x+y. The function names are those used for special methods; variants without leading and trailing '__' are also provided for convenience. This is the pure Python implementation of the module. )6absaddand_ attrgetterconcatcontainscountOfdelitemeqfloordivgegetitemgtiaddiandiconcat ifloordivilshiftimatmulimodimulindexindexOfinvinvertioripowirshiftis_is_notisub itemgetteritruedivixorle length_hintlshiftltmatmul methodcallermodmulnenegnot_or_pospowrshiftsetitemsubtruedivtruthxor)rcCs||kS)zSame as a < b.abr8r88/usr/local/cpython-exe-builder/lib/python3.9/operator.pyr&sr&cCs||kS)zSame as a <= b.r8r9r8r8r<r#sr#cCs||kS)zSame as a == b.r8r9r8r8r<r #sr cCs||kS)zSame as a != b.r8r9r8r8r<r+'sr+cCs||kS)zSame as a >= b.r8r9r8r8r<r +sr cCs||kS)zSame as a > b.r8r9r8r8r<r /sr cCs| S)zSame as not a.r8r:r8r8r<r-5sr-cCs |rdSdS)z*Return True if a is true, False otherwise.TFr8r=r8r8r<r59sr5cCs||uS)zSame as a is b.r8r9r8r8r<r=srcCs||uS)zSame as a is not b.r8r9r8r8r<rAsrcCst|S)zSame as abs(a).)_absr=r8r8r<rGsrcCs||S)zSame as a + b.r8r9r8r8r<rKsrcCs||@S)zSame as a & b.r8r9r8r8r<rOsrcCs||S)zSame as a // b.r8r9r8r8r<r Ssr cCs|S)zSame as a.__index__().) __index__r=r8r8r<rWsrcCs|S)z Same as ~a.r8r=r8r8r<r[srcCs||>S)zSame as a << b.r8r9r8r8r<r%`sr%cCs||S)zSame as a % b.r8r9r8r8r<r)dsr)cCs||S)zSame as a * b.r8r9r8r8r<r*hsr*cCs||S)zSame as a @ b.r8r9r8r8r<r'lsr'cCs| S)z Same as -a.r8r=r8r8r<r,psr,cCs||BS)zSame as a | b.r8r9r8r8r<r.tsr.cCs| S)z Same as +a.r8r=r8r8r<r/xsr/cCs||S)zSame as a ** b.r8r9r8r8r<r0|sr0cCs||?S)zSame as a >> b.r8r9r8r8r<r1sr1cCs||S)zSame as a - b.r8r9r8r8r<r3sr3cCs||S)zSame as a / b.r8r9r8r8r<r4sr4cCs||AS)zSame as a ^ b.r8r9r8r8r<r6sr6cCs(t|ds dt|j}t|||S)z%Same as a + b, for a and b sequences. __getitem__!'%s' object can't be concatenatedhasattrtype__name__ TypeErrorr:r;msgr8r8r<rs rcCs||vS)z(Same as b in a (note reversed operands).r8r9r8r8r<rsrcCs*d}|D]}||us||kr|d7}q|S)z=Return the number of items in a which are, or which equal, b.r7r8)r:r;countir8r8r<rs  rcCs ||=dS)zSame as del a[b].Nr8r9r8r8r<rsrcCs||S)z Same as a[b].r8r9r8r8r<r sr cCs6t|D] \}}||us ||kr|SqtddS)z!Return the first index of b in a.z$sequence.index(x): x not in sequenceN) enumerate ValueError)r:r;rKjr8r8r<rs rcCs |||<dS)zSame as a[b] = c.Nr8)r:r;cr8r8r<r2sr2cCst|ts dt|j}t|z t|WSty<Yn0zt|j}Wntyb|YS0z ||}Wnty|YS0|tur|St|tsdt|j}t||dkrd}t ||S)a2 Return an estimate of the number of items in obj. This is useful for presizing containers when building from an iterable. If the object supports len(), the result will be exact. Otherwise, it may over- or under-estimate by an arbitrary amount. The result will be an integer >= 0. z/'%s' object cannot be interpreted as an integerz'__length_hint__ must be integer, not %sr7z$__length_hint__() should return >= 0) isinstanceintrDrErFlen__length_hint__AttributeErrorNotImplementedrM)objdefaultrHhintvalr8r8r<r$s8         r$c@s4eZdZdZdZddZddZddZd d Zd S) raV Return a callable object that fetches the given attribute(s) from its operand. After f = attrgetter('name'), the call f(r) returns r.name. After g = attrgetter('name', 'date'), the call g(r) returns (r.name, r.date). After h = attrgetter('name.first', 'name.last'), the call h(r) returns (r.name.first, r.name.last). )_attrs_callcsn|s.funccstfddDS)Nc3s|]}|VqdSr]r8).0getterrVr8r< z4attrgetter.__init__..func..tuplerd)gettersrdr<ras) rPstrrFrZsplitr[rhmapr)selfattrattrsrar8)rir`r<__init__s     zattrgetter.__init__cCs ||Sr]r[rmrVr8r8r<__call__szattrgetter.__call__cCs$d|jj|jjdtt|jfSN %s.%s(%s), ) __class__ __module__ __qualname__joinrlreprrZrmr8r8r<__repr__szattrgetter.__repr__cCs |j|jfSr])rwrZr|r8r8r< __reduce__szattrgetter.__reduce__N rErxry__doc__ __slots__rprsr}r~r8r8r8r<rs rc@s4eZdZdZdZddZddZddZd d Zd S) r z Return a callable object that fetches the given item(s) from its operand. After f = itemgetter(2), the call f(r) returns r[2]. After g = itemgetter(2, 5, 3), the call g(r) returns (r[2], r[5], r[3]) _itemsr[csFs f|_fdd}||_n"f|_fdd}||_dS)Ncs|Sr]r8rd)itemr8r<rasz!itemgetter.__init__..funccstfddDS)Nc3s|]}|VqdSr]r8)rbrKrdr8r<rerfz4itemgetter.__init__..func..rgrd)itemsrdr<rasr)rmrrrar8)rrr<rps  zitemgetter.__init__cCs ||Sr]rqrrr8r8r<rsszitemgetter.__call__cCs$d|jj|jjdtt|jfSrt)rwrxrErzrlr{rr|r8r8r<r} szitemgetter.__repr__cCs |j|jfSr])rwrr|r8r8r<r~%szitemgetter.__reduce__Nrr8r8r8r<r s  r c@s4eZdZdZdZddZddZddZd d Zd S) r(z Return a callable object that calls the given method on its operand. After f = methodcaller('name'), the call f(r) returns r.name(). After g = methodcaller('name', 'date', foo=1), the call g(r) returns r.name('date', foo=1). )_name_args_kwargscOs*||_t|jtstd||_||_dS)Nzmethod name must be a string)rrPrjrFrr)rmr_argskwargsr8r8r<rp1s  zmethodcaller.__init__cCst||j|ji|jSr])r^rrrrrr8r8r<rs8szmethodcaller.__call__cCsTt|jg}|tt|j|dd|jDd|jj|jj d |fS)Ncss|]\}}d||fVqdS)z%s=%rNr8)rbkvr8r8r<re>rfz(methodcaller.__repr__..rurv) r{rextendrlrrrrwrxrErz)rmrr8r8r<r};s zmethodcaller.__repr__cCsH|js|j|jf|jfSddlm}||j|jfi|j|jfSdS)Nr7)partial)rrwrr functoolsr)rmrr8r8r<r~Cs zmethodcaller.__reduce__Nrr8r8r8r<r((s r(cCs ||7}|S)zSame as a += b.r8r9r8r8r<rMsrcCs ||M}|S)zSame as a &= b.r8r9r8r8r<rRsrcCs,t|ds dt|j}t|||7}|S)z&Same as a += b, for a and b sequences.r@rArBrGr8r8r<rWs  rcCs ||}|S)zSame as a //= b.r8r9r8r8r<r_srcCs ||K}|S)zSame as a <<= b.r8r9r8r8r<rdsrcCs ||;}|S)zSame as a %= b.r8r9r8r8r<risrcCs ||9}|S)zSame as a *= b.r8r9r8r8r<rnsrcCs ||}|S)zSame as a @= b.r8r9r8r8r<rssrcCs ||O}|S)zSame as a |= b.r8r9r8r8r<rxsrcCs ||C}|S)zSame as a **= b.r8r9r8r8r<r}srcCs ||L}|S)zSame as a >>= b.r8r9r8r8r<rsrcCs ||8}|S)zSame as a -= b.r8r9r8r8r<rsrcCs ||}|S)zSame as a /= b.r8r9r8r8r<r!sr!cCs ||N}|S)zSame as a ^= b.r8r9r8r8r<r"sr")*)rN)r7)ir__all__builtinsrr>r&r#r r+r r r-r5rrrrr rrrr%r)r*r'r,r.r/r0r1r3r4r6rrrrr rr2r$rr r(rrrrrrrrrrrrr!r" _operator ImportError__lt____le____eq____ne____ge____gt____not____abs____add____and__ __floordiv__r?__inv__ __invert__ __lshift____mod____mul__ __matmul____neg____or____pos____pow__ __rshift____sub__ __truediv____xor__ __concat__ __contains__ __delitem__r@ __setitem____iadd____iand__ __iconcat__ __ifloordiv__ __ilshift____imod____imul__ __imatmul____ior____ipow__ __irshift____isub__ __itruediv____ixor__r8r8r8r<s   )'%  PK!!x2828re.pyca ev́U@sdZddlZddlZddlZddlZz ddlZWneyFdZYn0gdZdZGdddej Z e e j ejZd0ddZd1d d Zd2d d Zd3d dZd4ddZd5ddZd6ddZd7ddZd8ddZddZd9ddZdddDZd d!Zeed"dZeed"dd"ZiZd#Z d$d%Z!e"e d&d'Z#d(d)Z$d*d+Z%ddl&Z&d,d-Z'e&(ee'e!Gd.d/d/Z)dS):aSupport for regular expressions (RE). This module provides regular expression matching operations similar to those found in Perl. It supports both 8-bit and Unicode strings; both the pattern and the strings being processed can contain null bytes and characters outside the US ASCII range. Regular expressions can contain both special and ordinary characters. Most ordinary characters, like "A", "a", or "0", are the simplest regular expressions; they simply match themselves. You can concatenate ordinary characters, so last matches the string 'last'. The special characters are: "." Matches any character except a newline. "^" Matches the start of the string. "$" Matches the end of the string or just before the newline at the end of the string. "*" Matches 0 or more (greedy) repetitions of the preceding RE. Greedy means that it will match as many repetitions as possible. "+" Matches 1 or more (greedy) repetitions of the preceding RE. "?" Matches 0 or 1 (greedy) of the preceding RE. *?,+?,?? Non-greedy versions of the previous three special characters. {m,n} Matches from m to n repetitions of the preceding RE. {m,n}? Non-greedy version of the above. "\\" Either escapes special characters or signals a special sequence. [] Indicates a set of characters. A "^" as the first character indicates a complementing set. "|" A|B, creates an RE that will match either A or B. (...) Matches the RE inside the parentheses. The contents can be retrieved or matched later in the string. (?aiLmsux) The letters set the corresponding flags defined below. (?:...) Non-grouping version of regular parentheses. (?P...) The substring matched by the group is accessible by name. (?P=name) Matches the text matched earlier by the group named name. (?#...) A comment; ignored. (?=...) Matches if ... matches next, but doesn't consume the string. (?!...) Matches if ... doesn't match next. (?<=...) Matches if preceded by ... (must be fixed length). (? rXs()[]{}?*+-|^$\.&~# cCs2t|tr|tSt|d}|tdSdS)z0 Escape special characters in a string. latin1N) isinstancestr translate_special_chars_mapencode)rHr1r1r2r s   r ic Cst|tr|j}ztt|||fWSty6Yn0t|trR|rNtd|St |sdt dt ||}|t @st ttkrztttt=WntttfyYn0|tt|||f<|S)Nz5cannot process flags argument with a compiled patternz1first argument must be string or compiled pattern)r[rr,rPtypeKeyErrorr ValueErrorr7isstring TypeErrorr rCr* _MAXCACHEnextiter StopIteration RuntimeError)rHrJpr1r1r2rF!s.      rFcCs t||SN) sre_parseparse_template)rLrHr1r1r2rR;srRcCst||}t||Srl)rmrnexpand_template)rHrr r1r1r2_expand@s rpcCs>t||}|ds.t|ddkr.|ddS|fdd}|S)Nrr!cSs t||Srl)rmro)rr r1r1r2filterKsz_subx..filter)rRr*)rHr rqr1r1r2_subxEs    rrcCst|j|jffSrl)rFrHrJ)rkr1r1r2_pickleSsrsc@seZdZdddZddZdS)Scannerrc Csddlm}m}t|tr |j}||_g}t}||_ |D]H\}}| } | t ||| ddt ||ffg|| |dqsNk   #         PK! r reprlib.pyca *J@s\dZgdZddlZddlmZddlmZd ddZGd d d Zd d Z eZ e j Z dS)zGRedo the builtin repr() (representation) but with limits on most sizes.)Reprreprrecursive_reprN)islice) get_ident...csfdd}|S)zGDecorator to make a repr function return fillvalue for a recursive callcsXtfdd}td|_td|_td|_td|_tdi|_|S)Nc sLt|tf}|vrS|z|}W|n |0|SN)idradddiscard)selfkeyresult) fillvalue repr_running user_function7/usr/local/cpython-exe-builder/lib/python3.9/reprlib.pywrappers  z.decorating_function..wrapper __module____doc____name__ __qualname____annotations__)setgetattrrrrrr)rrr)rrrdecorating_function s    z+recursive_repr..decorating_functionr)rrrrrr s rc@s~eZdZddZddZddZddd Zd d Zd d ZddZ ddZ ddZ ddZ ddZ ddZddZddZdS) rcCsFd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ dS)N() maxlevelmaxtuplemaxlistmaxarraymaxdictmaxset maxfrozensetmaxdeque maxstringmaxlongmaxother)r rrr__init__&sz Repr.__init__cCs|||jSr)repr1r#)r xrrrr3sz Repr.reprcCsVt|j}d|vr$|}d|}t|d|rFt|d|||S|||SdS)N _repr_)typersplitjoinhasattrr repr_instance)r r0leveltypenamepartsrrrr/6s  z Repr.repr1c st|}|dkr|rd}nX|d|jfddt||D} ||krT| dd| }|dkrr|rr||}d|||fS)Nrrcsg|]}|qSrr).0elemnewlevelr/rr Gz'Repr._repr_iterable.., z%s%s%s)lenr/rappendr6) r r0r9leftrightmaxitertrailnspiecesrr@r_repr_iterable@s  zRepr._repr_iterablecCs|||dd|jdS)N(),)rNr$r r0r9rrr repr_tupleMszRepr.repr_tuplecCs|||dd|jS)N[])rNr%rRrrr repr_listPszRepr.repr_listcCs,|sd|jSd|j}||||d|jS)Nz array('%s')z array('%s', []))typecoderNr&)r r0r9headerrrr repr_arraySs  zRepr.repr_arraycCs$|sdSt|}|||dd|jS)Nzset(){})_possibly_sortedrNr(rRrrrrepr_setYsz Repr.repr_setcCs$|sdSt|}|||dd|jS)Nz frozenset()z frozenset({z}))r]rNr)rRrrrrepr_frozenset_s  zRepr.repr_frozensetcCs|||dd|jS)Nzdeque([rW)rNr*rRrrr repr_dequefszRepr.repr_dequec Cst|}|dkrdS|dkr dS|d}|j}g}tt||jD].}|||}||||} |d|| fqB||jkr|dd|} d| fS) Nrz{}z{...}r=z%s: %srrDz{%s})rEr/rr]r'rFr6) r r0r9rKrAr/rMr keyreprvalreprrLrrr repr_dictis    zRepr.repr_dictcCst|d|j}t||jkrtd|jdd}td|jd|}t|d||t||d}|d|d|t||d}|SNrr)builtinsrr+rEmaxr r0r9rLijrrrrepr_strxs&$z Repr.repr_strcCsht|}t||jkrdtd|jdd}td|jd|}|d|d|t||d}|Srd)rgrrEr,rhrirrrrepr_ints  $z Repr.repr_intcCszt|}Wn&ty4d|jjt|fYS0t||jkrtd|jdd}td|jd|}|d|d|t||d}|S)Nz<%s instance at %#x>rrerfr) rgr Exception __class__rr rEr-rhrirrrr8s $zRepr.repr_instanceN)r<)rrrr.rr/rNrSrVrZr^r_r`rcrlrmr8rrrrr$s   rcCs*z t|WSty$t|YS0dSr)sortedrnlist)r0rrrr]s  r])r) r__all__rg itertoolsr_threadrrrr]aReprrrrrrs   s PK!^::sre_compile.pyca V-eF1@s$dZddlZddlZddlTejeks.JdeehZee e hZ e e hZeehZeeehBZdZddeDZejfdd Zd d Zd d Zd-ddZejdZde>dZdZee fddZ!ddZ"ddZ#ddZ$ddZ%ddZ&dd Z'd!d"Z(d#d$Z)d%d&Z*d'd(Z+d)d*Z,d.d+d,Z-dS)/zInternal support module for sreN)*zSRE module mismatch))ii1)si)i)iEii)ii)ii)ii)ii)ii)ii)ii)ii)ii)ii)iai)iics.i|]&}|D]tfdd|Dq qS)c3s|]}|kr|VqdSN).0jir;/usr/local/cpython-exe-builder/lib/python3.9/sre_compile.py >z.)tuple)rtrr r >s rcCs ||@r||M}||B|@Srr)flags add_flags del_flags TYPE_FLAGSrrr _combine_flagsAs rcCs|j}t}t}t}t}t}d} d} d} |t@r\|t@s\|t@rPt j } t j } t } n t j } t j} |D]|\} } | |vrr|t@s|| || n|t@r|t| || n| | s|| || n| | }| s|t| ||n|| vr|t| ||nh|t||}|d| tur2|t|f| |D]}|t||q@|t|||||<q`| turt| | | | \}}|t@r|t@r|tn(|s|tn| s|tn|t||}|dt||||||||<q`| tur*|t@r |tn|tq`| |vr6|t@rLt d| ft!| dr| t"urn|t#n|t$||}|d|| d|| dt%|| d||t&|||||<nl|t'||}|d|| d|| dt%|| d||||||<| t"ur,|t(n|t)q`| t*ur| \}}}}|rj|t+||ddt%||t,||||r|t+||dddq`| |vr|| q`| |vrD|| ||}|d| ddkr|dn*| d-\}}||krt d||t%|| d||t&|||||<q`| t.ur|| ||}|dt%|| ||t&|||||<q`| t/ur|| |t0@rt12| | } |t@rt32| | } n|t@rt42| | } || q`| t5ur|| g}|j}| dD]N} ||}|dt%|| ||t6||||d|||||<q|t|D]}|||||<qlq`| t7ur|| |t@rt8| } n|t@rt9| } || q`| t:ur |t@s|| n,|t@r|t;n| s |t<n|t=|| dq`| t>ur|| || dd||}|dt%|| d|| dr|t6||}|d|||d||<t%|| d||||||<n|||d||<q`t d| fq`dS)Nrz*internal: unsupported template operator %rz(look-behind requires fixed-width patternz%internal: unsupported operand type %r)?appendlen_LITERAL_CODES_REPEATING_CODES_SUCCESS_CODES _ASSERT_CODESSRE_FLAG_IGNORECASESRE_FLAG_LOCALESRE_FLAG_UNICODE_sreunicode_iscasedunicode_tolower_ignorecase_fixes ascii_iscased ascii_tolowerOP_LOCALE_IGNORE OP_IGNOREOP_UNICODE_IGNORE IN_UNI_IGNORE NOT_LITERALNEGATELITERALFAILUREIN_optimize_charset IN_LOC_IGNORE IN_IGNORE_compile_charsetANYSRE_FLAG_DOTALLANY_ALLSRE_FLAG_TEMPLATEerror_simple MAX_REPEAT REPEAT_ONEMIN_REPEAT_ONE_compileSUCCESSREPEAT MAX_UNTIL MIN_UNTIL SUBPATTERNMARKrgetwidthCALLATSRE_FLAG_MULTILINE AT_MULTILINEget AT_LOCALE AT_UNICODEBRANCHJUMPCATEGORY CH_LOCALE CH_UNICODEGROUPREFGROUPREF_LOC_IGNOREGROUPREF_IGNOREGROUPREF_UNI_IGNOREGROUPREF_EXISTS)codepatternremit_len LITERAL_CODESREPEATING_CODES SUCCESS_CODES ASSERT_CODESiscasedtolowerfixesopavloskipkcharsethascasedgrouprrphitail tailappendskipyesskipnorrr r>GsB                                                                r>cCs|j}|D]\}}|||tur$q |tur6||q |tusF|tur`||d||dq |turt||q |tur||q |tur|t @r|t |q|t @r|t |q||q t d|fq |tdS)Nrrz%internal: unsupported set operator %r)rr-r.RANGERANGE_UNI_IGNORECHARSETextend BIGCHARSETrOr rPr!rQr9r/)rgrrWrYrbrcrrr r4s,      r4c Csg}g}td}d}|D]\}} z,|tur|rv|| } d|| <|rd| |vrd|| D] } d|| <qV|s~|| r~d}nd|| <n|tur&t| d| dd} |r|rt|| D]*} d|| <| |vr|| D] } d|| <qqnt|| D] } d|| <q|s$tt|| }n| D]} d|| <qn(|tur@||| fn||| fWnXtyt |dkr~|dd7}Yq"|rd}|turt }||| fYn0qq"qg}d}| d|}|dkrҐq&t |dkrd}q&| d|}|dkr||t |fq&|||fq|dur|D]>\}}||dkrZ|t|fn|t||dffq4||7}|st |t |kr||fS||fSt |dkrt |}|t |f||7}||fSt|}i}td}d}t}tdd dD]V} || | d}||vr2|||| d<n$||| d<||<|d7}||7}qt |}|gt||dd<|t|f||7}||fS) NFrTriri) bytearrayr.rprangemapanyr-r IndexErrorrrqfind _mk_bitmaprrbytes_bytes_to_codesrt)rgr_fixupraoutrlcharmaprhrbrcrdrfrr runsqrjdatacompsmappingblockchunkrrr r1s                   r1rs0111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111cs8|tdddfddttd DS)Ncs"g|]}||dqS)rr)rr  _CODEBITS_intsrr sz_mk_bitmap..r) translate _BITS_TRANSrxr)bitsrrrrr r}sr}cCs@t|d}|jtjksJt||jt|ks8J|S)NI) memoryviewcastitemsizer"CODESIZErtolist)barrr rsrcCsDt|dkrdS|d\}}|tur<|dduo:t|dS|tvS)NrFrr)rrCr: _UNIT_CODES)rjrbrcrrr r:s   r:cCsndgt|}tdt|D]L}||d}||||kr\|dkrNd||<q||d}q,|d||<q|S)aj Generate an overlap table for the following prefix. An overlap table is a table of the same size as the prefix which informs about the potential self-overlap for each index in the prefix: - if overlap[i] == 0, prefix[i:] can't overlap prefix[0:...] - if overlap[i] == k with 0 < k <= i, prefix[i-k+1:i+1] overlaps with prefix[0:k] rr)rrx)prefixtabler idxrrr _generate_overlap_tables  rcCs$|t@s dS|t@rtjStjSdSr)rr!r"r#r&)rrrr _get_iscaseds rcCsg}|j}d}t|}|jD]\}}|turF|r<||r<q||q|tur|\}} } } t|| | } | t@rz| t@rzqt| | \} }}|dur|durt |}n|durt ||}| | |sqqqq||dfS||dfS)NTF) rrrr.rCrrr _get_literal_prefixrrs)rXrr prefixappend prefix_skipr_rbrcrirrrjflags1prefix1 prefix_skip1got_allrrr rs4        rc Csd|js dS|jd\}}|tur"qP|\}}}}t|||}|t@r|t@rdSqt|}|turz|rp||rpdS||fgS|turg}|j} |dD]B} | sdS| d\}}|tur|r||s| ||fqdSq|S|t ur`|}|r\|D]f\}}|tur||rZdSq|t ur|ddkr4dSt t |t |d|ddrdSq|SdS)Nrri)rrCrrr rr.rMrr0rprzryrx) rXrrbrcrirrr_rg charsetappendrjrrr _get_charset_prefixsN           rc Cs||\}}|tkrt}|dkr8|tdd||gdSg}d}g}|t@rT|t@srt||\}}}|srt||}|j} | tt |} | dd} |rt } |dur|r| t B} n |r| t B} | | |tkr| |n| t|dt}| t |t|r@| t ||durt |}| ||||t|n(|rht|\}} | r\Jt|||t || || <dS)Nr)rEMAXCODErsINFOrr rrrrSRE_INFO_PREFIXSRE_INFO_LITERALSRE_INFO_CHARSETminrr1r4) rWrXrrdrkrrrgrrYremaskrhrrr _compile_infosR            rcCst|ttfSr) isinstancestrr~)objrrr isstringSsrcCs8|jj|B}g}t|||t||j||t|Sr)staterrr>rrr?)rjrrWrrr _codeVs    rcCsdddd|DS)N[%s], css$|]}dtjdd|fVqdS)z%#0*xrN)r"rrxrrr r frz_hex_code..)joinrWrrr _hex_codeesrcsNddltdtttdfdddtdS)Nrrc sddfdd }fdd}d7}||kr||}|d7}t|}|tttttttfvrx||q2|tt t t t t ttfvr|}|d7}||d|t|fq2|tur|}|d7}tt|}|ddd ksJ|||ddq2|turV|}|d7}tt|}|dd d ksBJ|||d dq2|ttttfvr|}|||||d|d||||7}q2|ttfvr||d \}} |d 7}||d || t|t| fq2|tur||t||dt|dt7}q2|turʈ|}|d7}t d!fdd||dt"j#D} |||| |dt"j#7}d7t$|D].} |t||dt|dt7}qd8q2|t%t&t't(t)fvr|}|d7}|||q2|t*ur(|}|||||d|d7}q2|t+ur|}|||||d|r|d||||7}||}|r|d|||dn|tqL|d7}q2|t,t-t.fvr||d\}} } | t/krd} |||| | ||d|d||||7}q2|t0urJ||d \}}||||||d|d 7}q2|t1t2fvr||d \}}||||||d|d ||||7}q2|t3urĈ||d\}}} } | t/krd} |||t4|| | ||d|d|t5@r|d|d\}}|d||d|}|ddd!dd|Ddd!t6t||7|d||7|t7@rd7|d||d8||7}q2t8|q2d8dS)N)tocsX|dur"||d|ff7}tdvr6dndfdddt|dS)Nz(to %d)z%*d%s :.z rend)addprint)rargs)labelslevel offset_widthstartrr print_ps  z!dis..dis_..print_cs"tdddt|dS)N rr)r)r)rrrr print_2xsz"dis..dis_..print_2rz %#02x (%r)AT_ CATEGORY_rz%#02x %#02x (%r-%r)rurc3s|]}|tjjVqdSr)to_bytesr"r byteorderr)sysrr r sz$dis..dis_..branch MAXREPEATrz prefix_skipz prefixrrcss|]}d|VqdS)z%#02xNrrrrr r rz(%r)z overlapin)9OPCODESr?r/r5r7rArBr-r.r,LITERAL_IGNORENOT_LITERAL_IGNORELITERAL_UNI_IGNORENOT_LITERAL_UNI_IGNORELITERAL_LOC_IGNORENOT_LITERAL_LOC_IGNOREchrrGrATCODESrOCHCODESr0r3r+r2rprqrrrrrtlistrr"rrxrDrRrTrUrSrNrMr@r<r=rrVASSERT ASSERT_NOTrbinrryr ValueError)rrrrr rbargrerdrkrr rmaxr prefix_lenrrrWdis_rrrr)rr ros                                  zdis..dis_)rsetrrrrrr dishsrc Cst|r|}t||}nd}t||}|t@r>tt||jj}dg|jj }| D]\}}|||<q\t |||jj B||jj d|t|S)Nr)r sre_parseparserSRE_FLAG_DEBUGrrr groupdictgroupsitemsr"compilerr)rjrrXrW groupindex indexgrouprfr rrr rs"   r)NNN)r).__doc__r"r sre_constantsMAGICr.r,rr@ MIN_REPEATr;rr?r/rrrrr5r0r _equivalencesr%rrr>r4r1rrrrintr}rr:rrrrrrrrrrrrrr  sJ  $ 3    ,;PK!Cvsre_constants.pyca @` n2@sZdZdZddlmZmZGdddeZGdddeZeedZd d Z e d Z e d d =e dZ e dZ e eeeiZe eeeiZe eeeiZeeeeiZeeee iZ!ee"ee#iZ$e%e%e&e&e'e'e(e(e)e*e+e,e-e-e.e.iZ/e%e0e&e1e'e2e(e3e)e4e+e5e-e6e.e7iZ8dZ9dZ:dZ;dZdZ?dZ@dZAdZBdZCdZDeEdkrVddZFeGddZHeHIdeHIdeeFeHe d eFeHe d!eFeHe d!eHId"e9eHId#e:eHId$e;eHId%e<eHId&e=eHId'e>eHId(e?eHId)e@eHId*eAeHId+eBeHId,eCeHId-eDWd n1sD0YeJd.d S)/zInternal support module for srei3) MAXREPEAT MAXGROUPScs&eZdZdZdZdfdd ZZS)erroraiException raised for invalid regular expressions. Attributes: msg: The unformatted error message pattern: The regular expression pattern pos: The index in the pattern where compilation failed (may be None) lineno: The line corresponding to pos (may be None) colno: The column corresponding to pos (may be None) reNcs||_||_||_|dur|durd||f}t|tr>d}nd}||d|d|_|||d||_||vrd||j|jf}n d|_|_t |dS)Nz%s at position %d  rz%s (line %d, column %d)) msgpatternpos isinstancestrcountlinenorfindcolnosuper__init__)selfr r r newline __class__=/usr/local/cpython-exe-builder/lib/python3.9/sre_constants.pyr%s   zerror.__init__)NN)__name__ __module__ __qualname____doc__r __classcell__rrrrrs rcs$eZdZfddZddZZS)_NamedIntConstantcstt|||}||_|SN)rr__new__name)clsvaluer"rrrrr!9sz_NamedIntConstant.__new__cCs|jSr r")rrrr__repr__>sz_NamedIntConstant.__repr__)rrrr!r&rrrrrr8s rrcCs8|}ddt|D}tdd|D|S)NcSsg|]\}}t||qSr)r).0ir"rrr Ez_makecodes..cSsi|] }|j|qSrr%)r'itemrrr Fr*z_makecodes..)stripsplit enumerateglobalsupdate)namesitemsrrr _makecodesCs r4az FAILURE SUCCESS ANY ANY_ALL ASSERT ASSERT_NOT AT BRANCH CALL CATEGORY CHARSET BIGCHARSET GROUPREF GROUPREF_EXISTS IN INFO JUMP LITERAL MARK MAX_UNTIL MIN_UNTIL NOT_LITERAL NEGATE RANGE REPEAT REPEAT_ONE SUBPATTERN MIN_REPEAT_ONE GROUPREF_IGNORE IN_IGNORE LITERAL_IGNORE NOT_LITERAL_IGNORE GROUPREF_LOC_IGNORE IN_LOC_IGNORE LITERAL_LOC_IGNORE NOT_LITERAL_LOC_IGNORE GROUPREF_UNI_IGNORE IN_UNI_IGNORE LITERAL_UNI_IGNORE NOT_LITERAL_UNI_IGNORE RANGE_UNI_IGNORE MIN_REPEAT MAX_REPEAT Nz AT_BEGINNING AT_BEGINNING_LINE AT_BEGINNING_STRING AT_BOUNDARY AT_NON_BOUNDARY AT_END AT_END_LINE AT_END_STRING AT_LOC_BOUNDARY AT_LOC_NON_BOUNDARY AT_UNI_BOUNDARY AT_UNI_NON_BOUNDARY a CATEGORY_DIGIT CATEGORY_NOT_DIGIT CATEGORY_SPACE CATEGORY_NOT_SPACE CATEGORY_WORD CATEGORY_NOT_WORD CATEGORY_LINEBREAK CATEGORY_NOT_LINEBREAK CATEGORY_LOC_WORD CATEGORY_LOC_NOT_WORD CATEGORY_UNI_DIGIT CATEGORY_UNI_NOT_DIGIT CATEGORY_UNI_SPACE CATEGORY_UNI_NOT_SPACE CATEGORY_UNI_WORD CATEGORY_UNI_NOT_WORD CATEGORY_UNI_LINEBREAK CATEGORY_UNI_NOT_LINEBREAK r @__main__cCs*t|}|D]}|d|||fq dS)Nz#define %s_%s %d )sortedwrite)fdprefixr3r+rrrdumpsrDzsre_constants.hwao/* * Secret Labs' Regular Expression Engine * * regular expression matching engine * * NOTE: This file is generated by sre_constants.py. If you need * to change anything in here, edit sre_constants.py and run it. * * Copyright (c) 1997-2001 by Secret Labs AB. All rights reserved. * * See the _sre.c file for information on usage and redistribution. */ z#define SRE_MAGIC %d ZSRE_OPZSREz#define SRE_FLAG_TEMPLATE %d z#define SRE_FLAG_IGNORECASE %d z#define SRE_FLAG_LOCALE %d z#define SRE_FLAG_MULTILINE %d z#define SRE_FLAG_DOTALL %d z#define SRE_FLAG_UNICODE %d z#define SRE_FLAG_VERBOSE %d z#define SRE_FLAG_DEBUG %d z#define SRE_FLAG_ASCII %d z#define SRE_INFO_PREFIX %d z#define SRE_INFO_LITERAL %d z#define SRE_INFO_CHARSET %d done)KrMAGIC_srerr Exceptionrintrr4OPCODESATCODESCHCODESLITERALLITERAL_IGNORE NOT_LITERALNOT_LITERAL_IGNORE OP_IGNORELITERAL_LOC_IGNORENOT_LITERAL_LOC_IGNOREOP_LOCALE_IGNORELITERAL_UNI_IGNORENOT_LITERAL_UNI_IGNOREOP_UNICODE_IGNORE AT_BEGINNINGZAT_BEGINNING_LINEAT_ENDZ AT_END_LINE AT_MULTILINE AT_BOUNDARYZAT_LOC_BOUNDARYAT_NON_BOUNDARYZAT_LOC_NON_BOUNDARY AT_LOCALEZAT_UNI_BOUNDARYZAT_UNI_NON_BOUNDARY AT_UNICODECATEGORY_DIGITCATEGORY_NOT_DIGITCATEGORY_SPACECATEGORY_NOT_SPACE CATEGORY_WORDZCATEGORY_LOC_WORDCATEGORY_NOT_WORDZCATEGORY_LOC_NOT_WORDZCATEGORY_LINEBREAKZCATEGORY_NOT_LINEBREAK CH_LOCALEZCATEGORY_UNI_DIGITZCATEGORY_UNI_NOT_DIGITZCATEGORY_UNI_SPACEZCATEGORY_UNI_NOT_SPACEZCATEGORY_UNI_WORDZCATEGORY_UNI_NOT_WORDZCATEGORY_UNI_LINEBREAKZCATEGORY_UNI_NOT_LINEBREAK CH_UNICODESRE_FLAG_TEMPLATESRE_FLAG_IGNORECASESRE_FLAG_LOCALESRE_FLAG_MULTILINESRE_FLAG_DOTALLSRE_FLAG_UNICODESRE_FLAG_VERBOSESRE_FLAG_DEBUGSRE_FLAG_ASCIISRE_INFO_PREFIXSRE_INFO_LITERALSRE_INFO_CHARSETrrDopenrAr@printrrrr s! ,          .PK!Y{T{T sre_parse.pyca u} @sdZddlTdZdZedZedZedZedZed Z ee e hZ ee eeeeehZeed feed feed feed feedfeedfeedfeedfdZeefeefeefeeefgfeeefgfeeefgfeeefgfeeefgfeeefgfee fd Z!e"e#e$e%e&e'e(e)dZ*e'e#Be)BZ+e,e(BZ-Gddde.Z/GdddZ0GdddZ1GdddZ2ddZ3dd Z4d!d"Z5d#d$Z6d3d&d'Z7d(d)Z8d*d+Z9d4d-d.Z:d/d0Z;d1d2Z)r;r:rG MAXREPEATr0minmaxCALL SUBPATTERN _REPEATCODES _UNITCODESGROUPREFr9r rJSUCCESS) r#lohirOrPrjlhrrrr0sZ                  zSubPattern.getwidth)N)r) rrrr$rIrUrVrZr\r_r`r(r0rrrrr8ms  (r8c@sbeZdZddZddZddZddZd d Zd d Ze d dZ ddZ ddZ dddZ dS) TokenizercCs@t|t|_||_|js"t|d}||_d|_d|_|dS)Nlatin1r)rKrEistextstringdecoded_stringrYnext_Tokenizer__next)r#rtrrrr$s  zTokenizer.__init__cCs|j}z|j|}Wnty.d|_YdS0|dkr|d7}z||j|7}Wn,ty~td|jt|jddYn0|d|_||_dS)Nr r>zbad escape (end of pattern))rYru IndexErrorrvr*rtr&)r#rYcharrrr__nexts$   zTokenizer.__nextcCs||jkr|dSdS)NTFrvrw)r#ryrrrmatchs zTokenizer.matchcCs|j}||Sr%r{)r#thisrrrr+sz Tokenizer.getcCs8d}t|D]&}|j}||vr"q4||7}|q |SNr<)rangervrw)r#ncharsetresult_crrrgetwhiles  zTokenizer.getwhilecCsld}|j}||dur@|s,|d||d|t|||kr^|sh|d|dqh||7}q|S)Nr<zmissing zmissing %s, unterminated namer>)rvrwr*r&)r# terminatorr,rrrrrgetuntil s  zTokenizer.getuntilcCs|jt|jpdSr~rYr&rvr"rrrpossz Tokenizer.poscCs|jt|jpdSr~rr"rrrtellszTokenizer.tellcCs||_|dSr%)rYrwrXrrrseek szTokenizer.seekrcCst||j||Sr%)r*rtr)r#msgoffsetrrrr*$szTokenizer.errorN)r)rrrr$rwr|r+rrr7rrrr*rrrrrqs   rqc Cst|}|r|St|}|r0|dtur0|SzH|dd}|dkr||dt7}t|dkrx|d|t|tt |dddfWS|dkr|j r||dt7}t|d kr|d|t|tt |dddfWS|d krN|j rN||d t7}t|d kr*|d|t|t |ddd}t |t|fWS|d kr|j rddl }| ds~|d|dd}zt||}Wn0ty|d|t|tdYn0t|fWS|tvr,||dt7}t |ddd }|dkr"|d|t|t|fWS|tvr:tt|dkrx|tvrf|d|t|tt|dfWSWntyYn0|d|t|dS)Nrr>rbrincomplete escape %srU N{ missing {}character nameundefined character name %r\N{}.octal escape value %s outside of range 0-0o377 bad escape %s)ESCAPESr+ CATEGORIESrFr HEXDIGITSr&r*LITERALintrschr unicodedatar|rordlookupKeyError OCTDIGITSDIGITS ValueError ASCIILETTERS)r5escaper^rrcharnamerrr _class_escape'sp                 rc Csbt|}|r|St|}|r$|Sz|dd}|dkr||dt7}t|dkrl|d|t|tt|dddfWS|dkr|j r||dt7}t|dkr|d|t|tt|dddfWS|d krB|j rB||d t7}t|d kr|d|t|t|ddd}t |t|fWS|d kr|j rd dl }| dsr|d| dd}zt||}Wn0ty|d|t|tdYn0t|fWS|dkr||dt7}tt|ddd fWS|tvr|jtvr||7}|dtvr|dtvr|jtvr||7}t|ddd }|dkr|d|t|t|fWSt|dd}||jkr||s|dt||||t|fWS|d|t|dt|dkr2|tvr |d|t|tt|dfWSWntyHYn0|d|t|dS)Nr>rbrrrrrrrrrrrrrrrrr0rrr4invalid group reference %dr)rr+rrrr&r*rrrsrrr|rrrrrrrvr'r3r6rjrr)r5rr9r^rrrgrouprrr_escapecs                        rcCstt|Sr%)rCdictfromkeys)itemsrrr_uniqsrcCsVg}|j}|j}|}|t||||d| o2| |dsqDqt|dkrX|dSt|}d} |D].} | stq| dur| d} qh| d| krhqqh|D] } | d=q|| q`qq`g} |D]h} t| dkrq@| d\} } | tur| | | fq| tur"| ddtur"| | qq@q|tt | f|S|t d|ff|S)Nr>|r) r(r|r_parser&r8rrFNEGATEextendrrG)r5r9verbosenestedr itemsappend sourcematchstart subpatternprefixitemsetrOrPrrr _parse_subsN        rFc/ Cs t|}|j}|j}|j}t} t} |j} | dur4 q*| dvr@ q*||rx| tvrTq"| dkrx|} | dusv| dkr\q"q\q"| ddkrt|| |} || q"| t vr|t | | fq"| dkr| d} g}|j}|jdkrddl }|j d| t|d d |d }|} | dur0|d | | | d krF|rFqbn| ddkr`t|| }n~|r| dvr|j| krddl }|j d| dkrdn| dkrdn| dkrdnd| dft|d d t | | f}|dr<|}|dur |d | | |d krL|dtur0|dd}|||t | dfqb|ddkrft||}n>|dkrddl }|j d| dt|d d t | |f}|dt ks|dt krd| |f}||t| dt||d}|d}||kr*d| |f}||t| dt||t||ffn"|dturV|dd}||q t|}| |dkr|ddt ur|r|t|ddfn ||dn"|r|dtdf|t|fq"| tvr.| } | dkrd\}}nB| dkrdt}}n*| dkr0dt}}n| dkr4|jdkrX|t | | fq"dt}}d }}|jtvr||7}qj|d!r|jtvr||7}qn|}|ds|t | | f|| q"|rt|}|tkrtd"|rBt|}|tkrtd"||krB|d#| | ntd$|f|rV|d%d}nd}|rr|ddtur|d&| | t| |ddtvr|d'| | t| |ddt ur|dd\}}}}|dur|s|s|}|drt!|||ff|d%<nt"|||ff|d%<q"| d(krF|t#dfq"| d)k r| d} d*}d}!d}d}|d r|}|dur|d+|d,kr|d-r|$d.d/}!|!%sd0|!}||t|!dn|d1r|$d2d/}!|!%sd0|!}||t|!d|j&|!}"|"durFd3|!}||t|!d|'|"sf|d4t|!d|(|"||t)|"fq"n2|}|dur|d+|d5|t|dnb|d6krd}nP|dkr |jdur|d7| | |d2krq"qq"n|d8vrd}#|d-kr||}|dur>|d+|d9vr`|d:|t|dd%}#|j*}$|$dur||j+|_*t,||||d}|#dkr|$durd|_*|d2s|d;| | |d1kr|t-|#|ffq"|t.|#|ffq"n"|d)k rh|$d2d/}%|%% rL|j&|%}&|&du rd3|%}||t|%dnzt|%}&|&dk rdt/Wn2t/ yd0|%}||t|%ddYn0|& s|d r.t1||||d}(|jd>k r2|d?nd}(|d2 sR|d;| | |t2|&|'|(ffq"n|t3v s||dk rt4|||})|)du r| r| rddl }|j d@|j5ddAt|j5dAk rdBnd ft6|d d |j7t8@r"|s"t9q"|)\}}d}n|dC|t|d|du rrz|:|!}Wn>t yp}*z$||*j;t|!ddWYd}*~*n d}*~*00| s|t8@ o|t8@ }+t,|||+|d}|d2 s|d;| | |du r|<|||t ||||ffq"| d k r|tt=fq"| dDk r|tt>fq"tdE|fq"t?t|ddd%D]N},||,\}-}.|-t u r@|.\}}}}|du r@| s@| s@|||,|,d< q@|S)FNz|)#r rr [r>z"Possible nested set at position %dr) stacklevel^zunterminated character set]z-&~|zPossible set %s at position %d- difference& intersection~zsymmetric differenceunionz&Possible set difference at position %drbzbad character range %s-%s?)rr>r+rrr<,z"the repetition number is too largez"min repeat greater than max repeatzunsupported quantifier %rraznothing to repeatzmultiple repeat.(Tzunexpected end of patternP<> group namebad character in group name %r=)unknown group name %rr4zunknown extension ?P:zmissing ), unterminated commentz=!z missing flagz8bad inline flags: cannot turn off flags 'a', 'u' and 'L'z missing :rz-bad inline flags: cannot turn off global flagz(bad inline flags: flag turned on and off) r+rrsr* TYPE_FLAGSisalphar&r GLOBAL_FLAGS)r5r9ryrrrflagrrrrr]sn                   rcCsjt|tr>|t@rtd|t@s,|tO}qf|t@rftdn(|t@rNtd|t@rf|t@rftd|S)Nz)cannot use LOCALE flag with a str patternz(ASCII and UNICODE flags are incompatiblez,cannot use UNICODE flag with a bytes patternz'ASCII and LOCALE flags are incompatible)rKrESRE_FLAG_LOCALErSRE_FLAG_ASCIISRE_FLAG_UNICODE)srcrrrr fix_flagss   rNcCst|}|durt}||_||_zt|||t@d}Wn@tyxt}|tB|_||_|dt||dd}Yn0t||j j|j _|j dur|j dksJ| d|t @r| |S)NrTrzunbalanced parenthesis)rqrrrErrrrrr9rvr*SRE_FLAG_DEBUGrI)rErr9r5r1rrrparses(     rc st|j}gggj}fdd}j}|}|durLq|ddkr|d}|dkrFd}dsd d d }|rz ||} Wntyt d |Yn0njzt |} | dkrt Wn.t y d |t |ddYn0| t kr0d| t |d|| t |dq|dkrjtvr|||7}jtvr|||7}|tt |dddd@q|tvrVd} jtvr0||7}|tvr0|dtvr0jtvr0||7}d} t |ddd}|dkr$d|t ||t|| s|t |ddt |dnPztt|d}Wn2ty|tvrd|t |Yn0||q:||q:rȈdt|tsddDfS)NcsX|jkrd||r8ddd=t|fddS)Nrr<)r'r*r(joinr&)rYrr'literalliteralsrr9rraddgroups  z parse_template..addgrouprr r>gr<rz missing z"parse_template..)rqr+r( groupindexr|r*rrrrxrrr&r)rvrrrrrrrKrE) r5r9sgetlappendrrr}rr,rYisoctalrrrparse_templates                "           r"cCst|j}|jdd}|\}}|dd}z"|D]\}}||p@|||<q.Wntyhtd|Yn0||S)Nrr)rrtrxr*r)templater|remptyr'rrYrrrrexpand_templates   r%)F)rN)=__doc__ sre_constantsrr frozensetrrrrrrrrhrrrFrrCATEGORYrirrrZAT_BEGINNING_STRING AT_BOUNDARYAT_NON_BOUNDARYCATEGORY_DIGITCATEGORY_NOT_DIGITCATEGORY_SPACECATEGORY_NOT_SPACE CATEGORY_WORDCATEGORY_NOT_WORDZ AT_END_STRINGrSRE_FLAG_IGNORECASEr SRE_FLAG_MULTILINESRE_FLAG_DOTALLrrSRE_FLAG_TEMPLATErrr rr  Exceptionrrr8rqrrrrrrrrr"r%rrrr sr                 #rH<M: r< UPK! ?OO traceback.pyca 5UD @sdZddlZddlZddlZddlZgdZd4ddZddZd5dd Zd6d d Z d7d d Z dZ dZ d8ddZ d9ddZddZddZddZd:ddZd;ddZdd#d$Zd?d%d&Zd'd(ZGd)d*d*Zd+d,Zd-d.Zd/ZGd0d1d1eZGd2d3d3ZdS)@z@Extract, format and print information about Python stack traces.N) extract_stack extract_tbformat_exceptionformat_exception_only format_list format_stack format_tb print_exc format_excprint_exception print_last print_stackprint_tb clear_frames FrameSummary StackSummaryTracebackException walk_stackwalk_tbcCs4|durtj}t|D]}t||ddqdS)zyPrint the list of tuples as returned by extract_tb() or extract_stack() as a formatted stack trace to the given file.Nfileend)sysstderrr from_listformatprint)extracted_listritemr 9/usr/local/cpython-exe-builder/lib/python3.9/traceback.py print_listsr"cCst|S)aFormat a list of tuples or FrameSummary objects for printing. Given a list of tuples or FrameSummary objects as returned by extract_tb() or extract_stack(), return a list of strings ready for printing. Each string in the resulting list corresponds to the item with the same index in the argument list. Each string ends in a newline; the strings may contain internal newlines as well, for those items whose source text line is not None. )rrr)rr r r!rs rcCstt||d|ddS)aPrint up to 'limit' stack trace entries from the traceback 'tb'. If 'limit' is omitted or None, all entries are printed. If 'file' is omitted or None, the output goes to sys.stderr; otherwise 'file' should be an open file or file-like object with a write() method. limitrN)r"r)tbr$rr r r!r-srcCst||dS)z5A shorthand for 'format_list(extract_tb(tb, limit))'.r#)rrr&r$r r r!r7srcCstjt||dS)a# Return a StackSummary object representing a list of pre-processed entries from traceback. This is useful for alternate formatting of stack traces. If 'limit' is omitted or None, all entries are extracted. A pre-processed stack trace entry is a FrameSummary object containing attributes filename, lineno, name, and line representing the information that is usually printed for a stack trace. The line is a string with leading and trailing whitespace stripped; if the source is not available it is None. r#)rextractrr'r r r!r;s rzG The above exception was the direct cause of the following exception: zF During handling of the above exception, another exception occurred: TcCsB|durtj}tt||||dj|dD]}t||ddq*dS)aPrint exception up to 'limit' stack trace entries from 'tb' to 'file'. This differs from print_tb() in the following ways: (1) if traceback is not None, it prints a header "Traceback (most recent call last):"; (2) it prints the exception type and value after the stack trace; (3) if type is SyntaxError and value has the appropriate format, it prints the line where the syntax error occurred with a caret on the next line indicating the approximate position of the error. Nr#chainrr)rrrtyperr)etypevaluer&r$rr*liner r r!r Ws  r cCs ttt||||dj|dS)azFormat a stack trace and the exception information. The arguments have the same meaning as the corresponding arguments to print_exception(). The return value is a list of strings, each ending in a newline and some containing internal newlines. When these lines are concatenated and printed, exactly the same text is printed as does print_exception(). r#r))listrr+r)r,r-r&r$r*r r r!rls  rcCstt||dS)aFormat the exception part of a traceback. The arguments are the exception type and value such as given by sys.last_type and sys.last_value. The return value is a list of strings, each ending in a newline. Normally, the list contains a single string; however, for SyntaxError exceptions, it contains several lines that (when printed) display detailed information about where the syntax error occurred. The message indicating which exception occurred is always the last string in the list. N)r/rr)r,r-r r r!r|srcCs.t|}|dus|sd|}n d||f}|S)Nz%s z%s: %s ) _some_str)r,r-valuestrr.r r r!_format_final_exc_lines    r2cCs*z t|WSdt|jYS0dS)Nz)strr+__name__)r-r r r!r0s r0cCstt|||ddS)z>Shorthand for 'print_exception(*sys.exc_info(), limit, file)'.r$rr*N)r rexc_infor5r r r!r sr cCsdtt||dS)z%Like print_exc() but return a string.rr$r*)joinrrr6r7r r r!r sr cCs.ttdstdttjtjtj|||dS)znThis is a shorthand for 'print_exception(sys.last_type, sys.last_value, sys.last_traceback, limit, file)'. last_typezno last exceptionN)hasattrr ValueErrorr r9 last_valuelast_tracebackr5r r r!r s  r cCs*|durtj}tt||d|ddS)zPrint a stack trace from its invocation point. The optional 'f' argument can be used to specify an alternate stack frame at which to start. The optional 'limit' and 'file' arguments have the same meaning as for print_exception(). Nr#r%)r _getframef_backr"r)fr$rr r r!r s r cCs"|durtj}tt||dS)z5Shorthand for 'format_list(extract_stack(f, limit))'.Nr#)rr>r?rr)r@r$r r r!rs rcCs0|durtj}tjt||d}||S)asExtract the raw traceback from the current stack frame. The return value has the same format as for extract_tb(). The optional 'f' and 'limit' arguments have the same meaning as for print_stack(). Each item in the list is a quadruple (filename, line number, function name, text), and the entries are in order from oldest to newest stack frame. Nr#)rr>r?rr(rreverse)r@r$stackr r r!rs  rcCs6|dur2z|jWnty(Yn0|j}qdS)zEClear all references to local variables in the frames of a traceback.N)tb_frameclear RuntimeErrortb_nextr&r r r!rs  rc@sZeZdZdZdZddddddZdd Zd d Zd d ZddZ ddZ e ddZ dS)ra,A single frame from a traceback. - :attr:`filename` The filename for the frame. - :attr:`lineno` The line within filename for the frame that was active when the frame was captured. - :attr:`name` The name of the function or method that was executing when the frame was captured. - :attr:`line` The text from the linecache module for the of code that was running when the frame was captured. - :attr:`locals` Either None if locals were not supplied, or a dict mapping the name to the repr() of the variable. )filenamelinenoname_linelocalsTN) lookup_linerLr.cCsB||_||_||_||_|r"|j|r8dd|Dnd|_dS)aConstruct a FrameSummary. :param lookup_line: If True, `linecache` is consulted for the source code line. Otherwise, the line will be looked up when first needed. :param locals: If supplied the frame locals, which will be captured as object representations. :param line: If provided, use this instead of looking up the line in the linecache. cSsi|]\}}|t|qSr )repr).0kvr r r! z)FrameSummary.__init__..N)rHrIrJrKr.itemsrL)selfrHrIrJrMrLr.r r r!__init__s zFrameSummary.__init__cCs`t|tr:|j|jko8|j|jko8|j|jko8|j|jkSt|tr\|j|j|j|jf|kStSN) isinstancerrHrIrJrLtupler.NotImplementedrUotherr r r!__eq__s      zFrameSummary.__eq__cCs|j|j|j|jf|SrW)rHrIrJr.)rUposr r r! __getitem__szFrameSummary.__getitem__cCst|j|j|j|jgSrW)iterrHrIrJr.rUr r r!__iter__szFrameSummary.__iter__cCsdj|j|j|jdS)Nz7)rHrIrJ)rrHrIrJrar r r!__repr__s zFrameSummary.__repr__cCsdS)Nr rar r r!__len__szFrameSummary.__len__cCs&|jdur t|j|j|_|jSrW)rK linecachegetlinerHrIstriprar r r!r.s zFrameSummary.line) r4 __module__ __qualname____doc__ __slots__rVr]r_rbrcrepropertyr.r r r r!rs   rccs4|durtjj}|dur0||jfV|j}qdS)zWalk a stack yielding the frame and line number for each frame. This will follow f.f_back from the given frame. If no frame is given, the current stack is used. Usually used with StackSummary.extract. N)rr>r?f_lineno)r@r r r!r$s   rccs"|dur|j|jfV|j}qdS)zWalk a traceback yielding the frame and line number for each frame. This will follow tb.tb_next (and thus is in the opposite order to walk_stack). Usually used with StackSummary.extract. N)rC tb_linenorFrGr r r!r1src@s:eZdZdZeddddddZedd Zd d ZdS) rzA stack of frames.NTFr$ lookup_linescapture_localsc Cs|dur(ttdd}|dur(|dkr(d}|durV|dkrFt||}ntj|| d}|}t}|D]Z\}}|j} | j} | j } | | t | |j |r|j} nd} |t| || d| dqf|D]} t | q|r|D] }|jq|S)a?Create a StackSummary from a traceback or stack object. :param frame_gen: A generator that yields (frame, lineno) tuples to include in the stack. :param limit: None to include all frames or the number of frames to include. :param lookup_lines: If True, lookup lines for each frame immediately, otherwise lookup is deferred until the frame is rendered. :param capture_locals: If True, the local variables from each frame will be captured as object representations into the FrameSummary. Ntracebacklimitr)maxlenF)rMrL)getattrr itertoolsislice collectionsdequesetf_code co_filenameco_nameaddrf lazycache f_globalsf_localsappendr checkcacher.) klass frame_genr$rrrsresultfnamesr@rIcorHrJrr r r!r(As8     zStackSummary.extractc CsLt}|D]<}t|tr$||q |\}}}}|t||||dq |S)z Create a StackSummary object from a supplied list of FrameSummary objects or old-style list of tuples. )r.)rrXrr)ra_listrframerHrIrJr.r r r!rqs    zStackSummary.from_listc Csng}d}d}d}d}|D]}|dusT||jksT|dusT||jksT|dusT||jkr|tkr|t8}|d|d|dkr|dndd|j}|j}|j}d}|d7}|tkrqg}|d |j|j|j|jr|d |j|jr t |j D]\}} |d j|| d q|d |q|tkrj|t8}|d|d|dkr^dndd|S) aFormat the stack ready for printing. Returns a list of strings ready for printing. Each string in the resulting list corresponds to a single frame from the stack. Each string ends in a newline; the strings may contain internal newlines as well, for those items with source text lines. For long sequences of the same frame and line, the first few repetitions are shown, followed by a summary line stating the exact number of further repetitions. Nrz [Previous line repeated z more timesrz] z File "{}", line {}, in {}  {} z {name} = {value} )rJr-) rHrIrJ_RECURSIVE_CUTOFFrrr.rhrLsortedrTr8) rUr last_file last_line last_namecountrrowrJr-r r r!rs^    zStackSummary.format)r4rirjrk classmethodr(rrr r r r!r>s/ rc@sfeZdZdZdddddddZedd Zd d Zd d ZddZ ddZ ddZ ddddZ dS)raAn exception ready for rendering. The traceback module captures enough attributes from the original exception to this intermediary form to ensure that no references are held, while still being able to fully print or format it. Use `from_exception` to create TracebackException instances from exception objects, or the constructor to create TracebackException instances from individual components. - :attr:`__cause__` A TracebackException of the original *__cause__*. - :attr:`__context__` A TracebackException of the original *__context__*. - :attr:`__suppress_context__` The *__suppress_context__* value from the original exception. - :attr:`stack` A `StackSummary` representing the traceback. - :attr:`exc_type` The class of the original traceback. - :attr:`filename` For syntax errors - the filename where the error occurred. - :attr:`lineno` For syntax errors - the linenumber where the error occurred. - :attr:`text` For syntax errors - the text where the error occurred. - :attr:`offset` For syntax errors - the offset into the text where the error occurred. - :attr:`msg` For syntax errors - the compiler error message. NTFr$rrrs_seenc Csv|durt}|t|d|_z|rd|jdurdt|j|vrdtt|j|j|jj|d||d}nd}|r|jdurt|j|vrtt|j|j|jj|d||d} nd} Wn t yd|_d}d} Yn0||_| |_|r|j nd|_ t j t ||||d|_||_t||_|rdt|trd|j|_|j} | durFt| nd|_|j|_|j|_|j|_|rr|dS)NFrTrq)r{rid _truncated __cause__rr+ __traceback__ __context__RecursionError__suppress_context__rr(rrBexc_typer0_str issubclass SyntaxErrorrHrIr3textoffsetmsg _load_lines) rUr exc_value exc_tracebackr$rrrsrcausecontextlnor r r!rVsl         zTracebackException.__init__cOs |t|||jg|Ri|S)z.Create a TracebackException from an exception.)r+r)clsexcargskwargsr r r!from_exceptionsz!TracebackException.from_exceptioncCs6|jD] }|jq|jr"|j|jr2|jdS)z7Private API. force all lines in the stack to be loaded.N)rBr.rrr)rUrr r r!rs   zTracebackException._load_linescCst|tr|j|jkStSrW)rXr__dict__rZr[r r r!r]%s  zTracebackException.__eq__cCs|jSrW)rrar r r!__str__*szTracebackException.__str__ccs~|jdurtd|jVdS|jj}|jj}|dvrNt|tsBd}|d|}t|jtsjt||jVn| |EdHdS)aFormat the exception part of the traceback. The return value is a generator of strings, each ending in a newline. Normally, the generator emits a single string; however, for SyntaxError exceptions, it emits several lines that (when printed) display detailed information about where the syntax error occurred. The message indicating which exception occurred is always the last string in the output. N)__main__builtinsz .) rr2rrjrirXr3rr_format_syntax_error)rUstypesmodr r r!r-s    z(TracebackException.format_exception_onlyc csd}|jdur&d|jpd|jVn|jdurz ({}) z rrrcss|]}|r|ndVqdS) N)isspace)rOcr r r! arSz:TracebackException._format_syntax_error..z {}^ zz {}: {}{} ) rIrrHrrstriplstriplenrr8r) rUrfilename_suffixrrtextltextspacescaret caretspacerr r r!rJs&        z'TracebackException._format_syntax_errorr)ccs|r`|jdur*|jj|dEdHtVn*|jdurT|jsT|jj|dEdHtV|jr`dV|jr|dV|jEdH|EdHdS)aFormat the exception. If chain is not *True*, *__cause__* and *__context__* will not be formatted. The return value is a generator of strings, each ending in a newline and some containing internal newlines. `print_exception` is a wrapper around this method which just prints the lines to a file. The message indicating which exception occurred is always the last string in the output. Nr)zXChained exceptions have been truncated to avoid stack overflow in traceback formatting: z#Traceback (most recent call last): ) rr_cause_messagerr_context_messagerrBr)rUr*r r r!rfs   zTracebackException.format) r4rirjrkrVrrrr]rrrrr r r r!rs C  r)N)NN)N)N)NNT)NT)NNT)NT)NNT)NNN)NN)NN) rkryrwrfr__all__r"rrrrrrr rrr2r0r r r r rrrrrrrr/rrr r r r!s@          A  zPK!2,$,$ types.pyca ?"(E@sdZddlZddZeeZeddZeejZeejZ eej Z ddZ ee Z d d ZeeZd d ZeZeeZed dZeZeeZGdddZeejZeeZegjZeejZeejZ ee!j"Z#ee$jdZ%eeZ&ze'Wn8e'y@e(dZ)ee)Z*ee)j+Z,dZ)[)Yn0eejZ-eej.Z/[[[[[[d$ddZ0ddZ1d%ddZ2ddZ3GdddZ4GdddZ5d d!Z6ee7e8Z9d"d#e:DZ;dS)&zO Define names for built-in types that aren't directly accessible as a builtin. NcCsdSNrrr5/usr/local/cpython-exe-builder/lib/python3.9/types.py_f rcCsdSrrrrrr rrcsdfdd}|jdS)NcsdSrrrarrfsz_cell_factory..fr) __closure__)r rr r _cell_factorys r ccs dVdS)Nrrrrrr_gsrcsdSrrrrrr_crrcCs dVdSrrrrrr_ag"src@seZdZddZdS)_CcCsdSrrselfrrr_m(rz_C._mN)__name__ __module__ __qualname__rrrrrr'srfromkeysrcCsNt|}t|||\}}}|dur*||||ur:||d<||||fi|S)zBCreate a class object dynamically using the appropriate metaclass.N__orig_bases__) resolve_bases prepare_class)namebaseskwds exec_bodyresolved_basesmetansrrr new_classEsr$cCst|}d}d}t|D]t\}}t|tr6t|ts6qt|dsBq||}d}t|tsdtdq||||||d<|t |d7}q|s|St|S)z8Resolve MRO entries dynamically as specified by PEP 560.Fr__mro_entries__Tz#__mro_entries__ must return a tupler) list enumerate isinstancetype GenericAliashasattrr%tuple TypeErrorlen)r new_basesupdatedshiftibasenew_baserrrrOs"    rcCs|duri}nt|}d|vr*|d}n|r|}|D]0}t|}t||r qt||r0|}qtdq|S)z%Calculate the most derived metaclass.zxmetaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases)r) issubclassr-)r"rwinnerr3 base_metarrrr9s   r9c@sLeZdZdZdddZdddZddZd d Zd d Zd dZ ddZ dS)DynamicClassAttributeaRoute attribute access on a class to __getattr__. This is a descriptor, used to define attributes that act differently when accessed through an instance and through a class. Instance access remains normal, but access to an attribute through a class will be routed to the class's __getattr__ method; this is done by raising AttributeError. This allows one to have properties active on an instance, and have virtual attributes on the class with the same name (see Enum for an example). NcCs>||_||_||_|p|j|_|du|_tt|dd|_dS)N__isabstractmethod__F)fgetfsetfdel__doc__ overwrite_docboolgetattrr>)rr?r@rAdocrrr__init__s   zDynamicClassAttribute.__init__cCs6|dur|jr|Stn|jdur,td||S)Nzunreadable attribute)r>AttributeErrorr?)rinstance ownerclassrrr__get__s zDynamicClassAttribute.__get__cCs"|jdurtd|||dS)Nzcan't set attribute)r@rH)rrIvaluerrr__set__s zDynamicClassAttribute.__set__cCs |jdurtd||dS)Nzcan't delete attribute)rArH)rrIrrr __delete__s z DynamicClassAttribute.__delete__cCs8|jr |jnd}t|||j|j|p(|j}|j|_|Sr)rCrBr)r@rA)rr?fdocresultrrrgetterszDynamicClassAttribute.gettercCs$t||j||j|j}|j|_|Sr)r)r?rArBrC)rr@rPrrrsetterszDynamicClassAttribute.settercCs$t||j|j||j}|j|_|Sr)r)r?r@rBrC)rrArPrrrdeleterszDynamicClassAttribute.deleter)NNNN)N) rrrrBrGrKrMrNrQrRrSrrrrr=s r=c@seZdZddZddZddZddZed d Zed d Z ed dZ eddZ eZ e Z e Ze ZddZddZeZdS)_GeneratorWrappercCs2||_|jtu|_t|dd|_t|dd|_dS)Nrr)_GeneratorWrapper__wrapped __class__ GeneratorType_GeneratorWrapper__isgenrErr)rgenrrrrGs z_GeneratorWrapper.__init__cCs |j|Sr)rUsend)rvalrrrrZsz_GeneratorWrapper.sendcGs|jj|g|RSr)rUthrow)rtprestrrrr\sz_GeneratorWrapper.throwcCs |jSr)rUcloserrrrr_sz_GeneratorWrapper.closecCs|jjSr)rUgi_coderrrrr`sz_GeneratorWrapper.gi_codecCs|jjSr)rUgi_framerrrrrasz_GeneratorWrapper.gi_framecCs|jjSr)rU gi_runningrrrrrbsz_GeneratorWrapper.gi_runningcCs|jjSr)rU gi_yieldfromrrrrrcsz_GeneratorWrapper.gi_yieldfromcCs t|jSr)nextrUrrrr__next__sz_GeneratorWrapper.__next__cCs|jr |jS|Sr)rXrUrrrr__iter__sz_GeneratorWrapper.__iter__N)rrrrGrZr\r_propertyr`rarbrccr_codecr_frame cr_runningcr_awaitrerf __await__rrrrrTs&    rTcststdjturftddjturfjj}|d@r@S|d@rfj}|j|jdBd_Sddl }ddl | fd d }|S) z2Convert regular generator function to a coroutine.z$types.coroutine() expects a callable__code__Ni )co_flagsrcsV|i|}|jtus.|jtur2|jjd@r2|St|jrRt|jsRt|S|S)Nro) rV CoroutineTyperWr`rpr( Generator CoroutinerT)argskwargscoro_collections_abcfuncrrwrappeds    zcoroutine..wrapped) callabler-rV FunctionTyperECodeTypermrpreplace functoolsrxwraps)ryrpcorrzrrwr coroutines" rcCs g|]}|dddkr|qS)Nr_r).0nrrr +rr)rNN)rN)s\                   :%4 PK!=5=5 warnings.pyca `!pUA@sdZddlZgdZd=ddZd>ddZdd Zd d ZeZd d ZeZ ddZ de dddfddZ e ddfddZ ddZddZGdddeZddZddZd d!Zd"d#Zd$d%Zd&d'Zd?d)d*Zd@d+d,ZGd-d.d.eZGd/d0d0eZd1d2Zz0dd3lmZm Z m!Z!mZmZm"Z"e Z#e!Z$d4Z%Wn0e&y`gZd5Z#iZ$d(a'd6d7Z"dZ%Yn0eej(e%se)ed8se d5e*d9d(d:e d;e*d(d<e d;e+d(d<e d;e,d(d<e d;e-d(d<[%dS)Az&Python part of the warnings subsystem.N)warn warn_explicit showwarning formatwarningfilterwarnings simplefilter resetwarningscatch_warningscCst||||||}t|dS)7Hook to write a warning to a file; replace if you like.N)WarningMessage_showwarnmsg_impl)messagecategoryfilenamelinenofilelinemsgr8/usr/local/cpython-exe-builder/lib/python3.9/warnings.pyr srcCst||||d|}t|S).Function to format a warning the standard way.N)r _formatwarnmsg_impl)r rrrrrrrrrsrcCsN|j}|dur tj}|dur dSt|}z||WntyHYn0dSN)rsysstderr_formatwarnmsgwriteOSError)rrtextrrrr s r c Cs|jj}|jd|jd|d|jd}|jdurnzddl}||j|j}Wqttyjd}d}Yqt0n|j}|r| }|d|7}|j durz ddl }Wntyd}d}Yn20| }z| |j }Wntyd}Yn0|dur||d7}|D]r}|d|j|jf7}z$|dur<||j|j}nd}WntyZd}Yn0|r| }|d |7}qn|s||d 7}|S) N:z:  rz %s Tz-Object allocated at (most recent call last): z File "%s", lineno %s z %s z<: Enable tracemalloc to get the object allocation traceback )r__name__rrr r linecachegetline Exceptionstripsource tracemalloc is_tracingget_object_traceback) rrsr"rr'tracingtbframerrrr#sT"              rcCsbzt}WntyYn<0|turVt|s4td||j|j|j|j|j |j dSt |dS)r z:warnings.showwarning() must be set to a function or methodN) r NameError_showwarning_origcallable TypeErrorr rrrrrr )rswrrr _showwarnmsg`s r3cCsFzt}WntyYn$0|tur>||j|j|j|j|jSt|S)r) rr._formatwarning_origr rrrrr)rfwrrrrus   rFcCs|dvsJd|ft|ts(Jdt|ts:Jdt|tsLJdt|ts^Jdt|trp|dksxJd|s|rdd l}|r|||j}nd }|r||}nd }t ||||||d d S) aInsert an entry into the list of warnings filters (at the front). 'action' -- one of "error", "ignore", "always", "default", "module", or "once" 'message' -- a regex that the warning message must match 'category' -- a class that the warning must be a subclass of 'module' -- a regex that the module name must match 'lineno' -- an integer line number, 0 matches all warnings 'append' -- if true, append to the list of filters errorignorealwaysdefaultmoduleonceinvalid action: %rzmessage must be a stringzcategory must be a classz#category must be a Warning subclasszmodule must be a stringrlineno must be an int >= 0Nappend) isinstancestrtype issubclassWarningintrecompileI _add_filter)actionr rr<rrArHrrrrs&  rcCsH|dvsJd|ft|tr(|dks0Jdt|d|d||ddS)aInsert a simple entry into the list of warnings filters (at the front). A simple filter matches all modules and messages. 'action' -- one of "error", "ignore", "always", "default", "module", or "once" 'category' -- a class that the warning must be a subclass of 'lineno' -- an integer line number, 0 matches all warnings 'append' -- if true, append to the list of filters r7r>rr?Nr@)rBrGrK)rLrrrArrrrs rcGsP|s4zt|Wnty$Yn0td|n|tvrFt|tdS)Nr)filtersremove ValueErrorinsertrA_filters_mutated)rAitemrrrrKs  rKcCsgtdd<tdS)zAClear the list of warning filters, so that no filters are active.N)rMrQrrrrrs rc@seZdZdZdS) _OptionErrorz,Exception used by option processing helpers.N)r! __module__ __qualname____doc__rrrrrSsrSc CsP|D]F}z t|WqtyH}ztd|tjdWYd}~qd}~00qdS)NzInvalid -W option ignored:)r) _setoptionrSprintrr)argsargrrrr_processoptionss  r[c Cs|d}t|dkr$td|ft|dkr<|dq$dd|D\}}}}}t|}t|}|sl|rtddl}|r||}|r||d}|rzt|}|dkrt Wqt t fytd |fdYq0nd}t |||||dS) Nrztoo many fields (max 5): %rr6cSsg|] }|qSr)r%).0r*rrr sz_setoption..rz\Zzinvalid lineno %r) splitlenrSrA _getaction _getcategoryrHescaperGrO OverflowErrorr)rZpartsrLr rr<rrHrrrrWs2     rWcCsB|sdS|dkrdSdD]}||r|Sqtd|fdS)Nr;allr:)r;r:r9r<r=r8r>) startswithrS)rLarrrras   racCs|stSd|vrddl}|}nH|d\}}}zt|dd|g}Wn"tydtd|fdYn0zt||}Wn"tytd|fdYn0t|tstd|f|S)N.rzinvalid module name: %rzunknown warning category: %rzinvalid warning category: %r) rFbuiltins rpartition __import__ ImportErrorrSgetattrAttributeErrorrE)rmklassr<_catrrrrbs"   rbcCs|jj}d|vod|vS)zFSignal whether the frame is an internal CPython implementation detail. importlib _bootstrap)f_code co_filename)r-rrrr_is_internal_framesrxcCs"|j}|durt|r|j}q|S)z;Find the next frame that doesn't involve CPython internals.N)f_backrx)r-rrr_next_external_framesrzc Cs t|tr|j}|durt}t|tr0t|tsDtdt|jzV|dks\t t drht |}n0t d}t |dD]}t |}|dur~tq~Wn tyt j}d}d}Yn0|j}|jj}|j}d|vr|d} nd} |di} t||||| | ||dS)z:Issue a warning, or maybe ignore it or raise an exception.Nz/category must be a Warning subclass, not '{:s}'r{rr!z__warningregistry__)rBrF __class__ UserWarningrDrEr1formatr!rxr _getframerangerzrO__dict__ f_globalsrvrwf_lineno setdefaultr) r r stacklevelr&r-xglobalsrrr<registryrrrrs<        rcCst|}|dur8|pd}|dddkr8|dd}|durDi}|ddtkrd|t|d<t|tr~t|}|j}n |}||}|||f} || rdSt D]V} | \} } } }}| dus| |rt || r|dus| |r|dks||krqqt } | dkrdSddl }|||| dkr2|| dkrfd || <||f}t|r\dSd t|<nf| d krrnZ| d krd || <||df}||rdSd ||<n$| d krd || <ntd | | ft|||||} t| dS)Nz z.pyversionrr9r8r=r{r:r<r;z1Unrecognized action (%r) in warnings.filters: %s)rGlowerget_filters_versionclearrBrFrCr}rMmatchrE defaultactionr"getlines onceregistry RuntimeErrorr r3)r rrrr<rmodule_globalsr&rkeyrRrLrrsmodlnr"ZoncekeyZaltkeyrrrrGs|                 rc@s"eZdZdZdddZddZdS)r )r rrrrrr&NcCs>||_||_||_||_||_||_||_|r4|jnd|_dSr) r rrrrrr&r!_category_name)selfr rrrrrr&rrr__init__szWarningMessage.__init__cCsd|j|j|j|j|jfS)NzD{message : %r, category : %r, filename : %r, lineno : %s, line : %r})r rrrr)rrrr__str__s  zWarningMessage.__str__)NNN)r!rTrU_WARNING_DETAILSrrrrrrr s  r c@s8eZdZdZdddddZddZd d Zd d ZdS) r aA context manager that copies and restores the warnings filter upon exiting the context. The 'record' argument specifies whether warnings should be captured by a custom implementation of warnings.showwarning() and be appended to a list returned by the context manager. Otherwise None is returned by the context manager. The objects appended to the list are arguments whose attributes mirror the arguments to showwarning(). The 'module' argument is to specify an alternative module to the module named 'warnings' and imported under that name. This argument is only useful when testing the warnings module itself. FN)recordr<cCs(||_|durtjdn||_d|_dS)zSpecify whether to record warnings and if an alternative module should be used other than sys.modules['warnings']. For compatibility with Python 3.0, please consider all arguments to be keyword-only. NwarningsF)_recordrmodules_module_entered)rrr<rrrrszcatch_warnings.__init__cCsPg}|jr|d|jtjdur4|d|jt|j}d|d|fS)Nz record=Truerz module=%rz%s(%s)z, )rrArrrrDr!join)rrYnamerrr__repr__s  zcatch_warnings.__repr__cCs~|jrtd|d|_|jj|_|jdd|j_|j|jj|_|jj|_|j rvg}|j |j_|jj |j_|SdSdS)NzCannot enter %r twiceT) rrrrM_filtersrQr _showwarningr rrAr/)rlogrrr __enter__s       zcatch_warnings.__enter__cGs>|jstd||j|j_|j|j|j_|j|j_dS)Nz%Cannot exit %r without entering first) rrrrrMrQrrr )rexc_inforrr__exit__s     zcatch_warnings.__exit__)r!rTrUrVrrrrrrrrr s   r cszdjdg}jdurVddlddl}fdd}|d||t|7}d|d}t |t d d dS) Nz coroutine 'z' was never awaited rc3s4tjD]$\}}}||}||||fVq dSr)reversed cr_originr#)rrfuncnamercoror"rrextracts z*_warn_unawaited_coroutine..extractz-Coroutine created at (most recent call last) r6r )rrr&) rUrr" tracebackrA format_listlistrrstriprRuntimeWarning)r msg_linesrrrrrr_warn_unawaited_coroutines   r)rM_defaultaction _onceregistryrrrQTr;cCs td7adS)Nr{)rrrrrrQsrQgettotalrefcount__main__)rr<rAr9)rrA)NN)N)Nr{N)NNNN).rVr__all__rrr rr/r3r4rrFrrrKrr$rSr[rWrarbrxrzrrobjectr r r _warningsrMrrrQrrZ_warnings_defaultsrmr warnoptionshasattrDeprecationWarningPendingDeprecationWarning ImportWarningResourceWarningrrrrsj  ;  #  ) GC    PK!59WUOUO weakref.pyca $%ν/LE@sdZddlmZmZmZmZmZmZmZm Z ddl m Z m Z ddl Z ddlZddlZeefZgdZe je e je GdddeZGdd d e jZGd d d eZGd d d e jZGdddZdS)z|Weak reference support for Python. This module is an implementation of PEP 205: https://www.python.org/dev/peps/pep-0205/ )getweakrefcount getweakrefsrefproxyCallableProxyType ProxyType ReferenceType_remove_dead_weakref)WeakSet_IterationGuardN) rrrrWeakKeyDictionaryrrr ProxyTypesWeakValueDictionaryr WeakMethodfinalizecsDeZdZdZdZd ddZfddZdd Zd d Ze j Z Z S) rz A custom `weakref.ref` subclass which simulates a weak reference to a bound method, working around the lifetime problem of bound methods. ) _func_ref _meth_type_alive __weakref__Ncs|z|j}|j}Wn&ty6tdt|dYn0fdd}t|||}t|||_t||_ d|_ t||S)Nz)argument should be a bound method, not {}cs&}|jr"d|_dur"|dSNF)r)argselfcallbackself_wr7/usr/local/cpython-exe-builder/lib/python3.9/weakref.py_cb6s zWeakMethod.__new__.._cbT) __self____func__AttributeError TypeErrorformattyper__new__rrr)clsmethrobjfuncrrrrrr$/s     zWeakMethod.__new__cs2t}|}|dus"|dur&dS|||SN)super__call__rr)rr'r( __class__rrr+Es  zWeakMethod.__call__cCs:t|tr6|jr|js||uSt||o4|j|jkStSr)) isinstancerrr__eq__rNotImplementedrotherrrrr/Ls   zWeakMethod.__eq__cCs:t|tr6|jr|js||uSt||p4|j|jkStSr))r.rrr__ne__rr0r1rrrr3Ss   zWeakMethod.__ne__)N) __name__ __module__ __qualname____doc__ __slots__r$r+r/r3r__hash__ __classcell__rrr,rr's  rc@seZdZdZd2ddZefddZddZd d Zd d Z d dZ ddZ ddZ ddZ e ZddZd3ddZddZddZeZddZd d!Zd"d#Zd$d%Zd4d&d'Zd5d(d)Zd*d+Zd,d-Zd.d/Zd0d1ZdS)6rzMapping class that references values weakly. Entries in the dictionary will be discarded when no strong reference to the value exists anymore rcKsBt|tfdd}||_g|_t|_i|_|j|fi|dS)NcSs6|}|dur2|jr$|j|jn||j|jdSr)) _iterating_pending_removalsappendkeydata)wrselfref_atomic_removalrrrrremovejs z,WeakValueDictionary.__init__..remove)rr _remover<setr;r?update)rr2kwrCrrr__init__is  zWeakValueDictionary.__init__cCs>|jj}|j}z |}Wnty,YdS0|||qdSr))r<popr? IndexError)rrBrIdr>rrr_commit_removalszs  z$WeakValueDictionary._commit_removalscCs4|jr||j|}|dur,t|n|SdSr)r<rLr?KeyErrorrr>orrr __getitem__s   zWeakValueDictionary.__getitem__cCs|jr||j|=dSr))r<rLr?rr>rrr __delitem__szWeakValueDictionary.__delitem__cCs|jr|t|jSr))r<rLlenr?rrrr__len__szWeakValueDictionary.__len__cCs<|jr|z|j|}Wnty2YdS0|duSrrMrOrrr __contains__s z WeakValueDictionary.__contains__cCsd|jjt|fSNz <%s at %#x>r-r4idrUrrr__repr__szWeakValueDictionary.__repr__cCs&|jr|t||j||j|<dSr))r<rLKeyedRefrDr?rr>valuerrr __setitem__szWeakValueDictionary.__setitem__cCsj|jr|t}t|:|jD]\}}|}|dur(|||<q(Wdn1s\0Y|Sr))r<rLrr r?items)rnewr>r@rPrrrcopys (zWeakValueDictionary.copycCs~ddlm}|jr||}t|@|jD]$\}}|}|dur6|||||<q6Wdn1sp0Y|SNr)deepcopy)rbrdr<rLr-r r?r`)rmemordrar>r@rPrrr __deepcopy__s  .z WeakValueDictionary.__deepcopy__NcCsN|jr|z|j|}Wnty2|YS0|}|durF|S|SdSr)rM)rr>defaultr@rPrrrgets  zWeakValueDictionary.getccsf|jr|t|<|jD] \}}|}|dur"||fVq"Wdn1sX0YdSr)r<rLr r?r`)rkr@vrrrr`s zWeakValueDictionary.itemsccs^|jr|t|4|jD]\}}|dur"|Vq"Wdn1sP0YdSr)ri)rrjr@rrrkeyss   zWeakValueDictionary.keysccsJ|jr|t| |jEdHWdn1s<0YdS)aReturn an iterator that yields the weak references to the values. The references are not guaranteed to be 'live' at the time they are used, so the result of calling the references needs to be checked before being used. This can be used to avoid creating references that will cause the garbage collector to keep the values around longer than needed. Nr<rLr r?valuesrUrrr itervaluerefss  z!WeakValueDictionary.itervaluerefsccs^|jr|t|4|jD]}|}|dur"|Vq"Wdn1sP0YdSr)rmrr@r'rrrrns zWeakValueDictionary.valuescCs8|jr||j\}}|}|dur||fSqdSr))r<rLr?popitem)rr>r@rPrrrrqs zWeakValueDictionary.popitemcGs^|jr|z|j|}Wnty6d}Yn0|durV|rL|dSt|n|SdS)Nr)r<rLr?rIrN)rr>argsrPrrrrIs   zWeakValueDictionary.popcCs^z|j|}Wnty&d}Yn0|durV|jr>|t||j||j|<|S|SdSr))r?rNr<rLr\rD)rr>rgrPrrr setdefaults  zWeakValueDictionary.setdefaultcKsz|jr||j}|durRt|ds.t|}|D]\}}t||j|||<q6|D]\}}t||j|||<qZdSNr`)r<rLr?hasattrdictr`r\rD)rr2kwargsrKr>rPrrrrF"s zWeakValueDictionary.updatecCs|jr|t|jS)a~Return a list of weak references to the values. The references are not guaranteed to be 'live' at the time they are used, so the result of calling the references needs to be checked before being used. This can be used to avoid creating references that will cause the garbage collector to keep the values around longer than needed. )r<rLlistr?rnrUrrr valuerefs.s zWeakValueDictionary.valuerefscCs|||Sr)rFr1rrr__ior__<s zWeakValueDictionary.__ior__cCs&t|tjr"|}|||StSr)r._collections_abcMappingrbrFr0rr2crrr__or__@s   zWeakValueDictionary.__or__cCs0t|tjr,|}|||||StSr)r.r}r~r-rFr0rrrr__ror__Gs    zWeakValueDictionary.__ror__)r)N)N)N)r4r5r6r7rHr rLrQrSrVrWr[r_rb__copy__rfrhr`rl__iter__rornrqrIrsrFryr{rrrrrrr]s4          rcs,eZdZdZdZddZfddZZS)r\a[Specialized reference that includes a key corresponding to the value. This is used in the WeakValueDictionary to avoid having to create a function object for each key stored in the mapping. A shared callback object can use the 'key' attribute of a KeyedRef instead of getting a reference to the key from an enclosing scope. r>cCst|||}||_|Sr))rr$r>)r#obrr>rrrrr$\szKeyedRef.__new__cst||dSr))r*rH)rrrr>r,rrrHaszKeyedRef.__init__)r4r5r6r7r8r$rHr:rrr,rr\Ps r\c@seZdZdZd1ddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ e Z ddZd2ddZddZddZddZeZdd Zd!d"Zd#d$Zd%d&Zd3d'd(Zd4d)d*Zd+d,Zd-d.Zd/d0ZdS)5r a Mapping class that references keys weakly. Entries in the dictionary will be discarded when there is no longer a strong reference to the key. This can be used to associate additional data with an object owned by other parts of an application without adding attributes to those objects. This can be especially useful with objects that override attribute accesses. NcCsFi|_t|fdd}||_g|_t|_d|_|durB||dS)NcSsF|}|durB|jr"|j|n z |j|=Wnty@Yn0dSr))r;r<r=r?rN)rjrArrrrrCrs  z*WeakKeyDictionary.__init__..removeF)r?rrDr<rEr; _dirty_lenrF)rrvrCrrrrHps zWeakKeyDictionary.__init__cCsR|jj}|j}z |}Wnty,YdS0z ||=WqtyJYq0qdSr))r<rIr?rJrN)rrIrKr>rrrrLs    z"WeakKeyDictionary._commit_removalscs&|jfdd|jD|_d|_dS)Ncsg|]}|vr|qSrr).0rjrKrr z5WeakKeyDictionary._scrub_removals..F)r?r<rrUrrr_scrub_removalssz!WeakKeyDictionary._scrub_removalscCsd|_|jt|=dSNT)rr?rrRrrrrSszWeakKeyDictionary.__delitem__cCs|jt|Sr))r?rrRrrrrQszWeakKeyDictionary.__getitem__cCs(|jr|jr|t|jt|jSr))rr<rrTr?rUrrrrVs zWeakKeyDictionary.__len__cCsd|jjt|fSrXrYrUrrrr[szWeakKeyDictionary.__repr__cCs||jt||j<dSr))r?rrDr]rrrr_szWeakKeyDictionary.__setitem__cCs\t}t|:|jD]\}}|}|dur|||<qWdn1sN0Y|Sr))r r r?r`)rrar>r^rPrrrrbs (zWeakKeyDictionary.copycCspddlm}|}t|@|jD]$\}}|}|dur(|||||<q(Wdn1sb0Y|Src)rbrdr-r r?r`)rrerdrar>r^rPrrrrfs  .zWeakKeyDictionary.__deepcopy__cCs|jt||Sr))r?rhrrr>rgrrrrhszWeakKeyDictionary.getcCs,z t|}Wnty YdS0||jvSr)rr!r?)rr>r@rrrrWs   zWeakKeyDictionary.__contains__ccsXt|<|jD] \}}|}|dur||fVqWdn1sJ0YdSr)r r?r`)rr@r^r>rrrr`s  zWeakKeyDictionary.itemsccsLt|0|jD]}|}|dur|VqWdn1s>0YdSr))r r?rprrrrls   zWeakKeyDictionary.keysccsPt|4|jD]\}}|dur|VqWdn1sB0YdSr)r)rr@r^rrrrns  zWeakKeyDictionary.valuescCs t|jS)azReturn a list of weak references to the keys. The references are not guaranteed to be 'live' at the time they are used, so the result of calling the references needs to be checked before being used. This can be used to avoid creating references that will cause the garbage collector to keep the keys around longer than needed. )rxr?rUrrrkeyrefss zWeakKeyDictionary.keyrefscCs0d|_|j\}}|}|dur||fSqdSr)rr?rq)rr>r^rPrrrrqs zWeakKeyDictionary.popitemcGsd|_|jjt|g|RSr)rr?rIr)rr>rrrrrrIszWeakKeyDictionary.popcCs|jt||j|Sr))r?rsrrDrrrrrsszWeakKeyDictionary.setdefaultcKs\|j}|durFt|ds$ti|}|D]\}}||t||j<q,t|rX||dSrt)r?rur#r`rrDrTrF)rrvrwrKr>r^rrrrFs  zWeakKeyDictionary.updatecCs|||Sr)rzr1rrrr{ s zWeakKeyDictionary.__ior__cCs&t|tjr"|}|||StSr)r|rrrrr s   zWeakKeyDictionary.__or__cCs0t|tjr,|}|||||StSr)rrrrrrs    zWeakKeyDictionary.__ror__)N)N)N)N)r4r5r6r7rHrLrrSrQrVr[r_rbrrfrhrWr`rlrrnrrqrIrsrFr{rrrrrrr es4      r c@seZdZdZdZiZdZeZ dZ dZ GdddZ ddZ dd d Zd d Zd dZeddZeddZejddZddZeddZeddZdS)raClass for finalization of weakrefable objects finalize(obj, func, *args, **kwargs) returns a callable finalizer object which will be called when obj is garbage collected. The first time the finalizer is called it evaluates func(*arg, **kwargs) and returns the result. After this the finalizer is dead, and calling it just returns None. When the program exits any remaining finalizers for which the atexit attribute is true will be run in reverse order of creation. By default atexit is true. rFc@seZdZdZdS)zfinalize._Info)weakrefr(rrrwatexitindexN)r4r5r6r8rrrr_Info6srcOsp|js ddl}||jdt_|}t|||_||_||_ |pFd|_ d|_t |j |_ ||j|<dt_dS)NrT)_registered_with_atexitrregister _exitfuncrrrrr(rrrwnext _index_iterr _registry_dirty)rr'r(rrrwrinforrrrH9s     zfinalize.__init__NcCs4|j|d}|r0|js0|j|ji|jp*iSdS)zZIf alive then mark as dead and return func(*args, **kwargs); otherwise return NoneN)rrI _shutdownr(rrrw)r_rrrrr+Js zfinalize.__call__cCsH|j|}|o|}|durD|j|drD||j|j|jp@ifSdS)z^If alive then mark as dead and return (obj, func, args, kwargs); otherwise return NoneN)rrhrrIr(rrrwrrr'rrrdetachQs  zfinalize.detachcCs:|j|}|o|}|dur6||j|j|jp2ifSdS)zMIf alive then return (obj, func, args, kwargs); otherwise return NoneN)rrhrr(rrrwrrrrpeekYs  z finalize.peekcCs ||jvS)zWhether finalizer is alive)rrUrrraliveaszfinalize.alivecCs|j|}t|o|jS)z*Whether finalizer should be called at exitrrhboolr)rrrrrrfs zfinalize.atexitcCs|j|}|rt||_dSr)r)rr^rrrrrls cCs^|j|}|o|}|dur6dt|jt|fSdt|jt|t|jt|fSdS)Nz<%s object at %#x; dead>z!<%s object at %#x; for %r at %#x>)rrhrr#r4rZrrrrr[rs  zfinalize.__repr__cCs2dd|jD}|jddddd|DS)NcSsg|]\}}|jr||fqSr)rrfirrrr~rz-finalize._select_for_exit..cSs |djS)N)r)itemrrrrz+finalize._select_for_exit..rcSsg|] \}}|qSrrrrrrrr)rr`sort)r%Lrrr_select_for_exit{szfinalize._select_for_exitcCsd}z|jrddl}|r(d}|d}|dus:tjrH|}dt_|sNq|}z |Wn tyt j t Yn0||jvs,Jq,Wdt_ |r| ndt_ |r| 0dS)NFrT)rgc isenableddisablerrrrI Exceptionsys excepthookexc_inforenable)r% reenable_gcrpendingrrrrrs2   zfinalize._exitfunc)N)r4r5r6r7r8rr itertoolscountrrrrrHr+rrpropertyrrsetterr[ classmethodrrrrrrrs.      r)r7_weakrefrrrrrrrr _weakrefsetr r r}rrr __all__Setr MutableSetrMutableMappingrr\r rrrrrs  (   6t9PK!X_bootlocale.pycPK!᫦B | |_collections_abc.pycPK!(<>;DDM_weakrefset.pycPK!e*abc.pycPK!L1yxx codecs.pycPK!u*;collections/__init__.pycPK!h!O]collections/abc.pycPK!A[ff copyreg.pycPK!QQ" encodings/__init__.pycPK!xbencodings/aliases.pycPK!=ss2encodings/ascii.pycPK!j$Z Z P:encodings/base64_codec.pycPK!*Cencodings/big5.pycPK!4zIencodings/big5hkscs.pycPK!^K Oencodings/bz2_codec.pycPK!Te e \encodings/charmap.pycPK!4b 'hencodings/cp037.pycPK!mݲq qencodings/cp1006.pycPK!T {encodings/cp1026.pycPK!encodings/cp1125.pycPK!%" ɥencodings/cp1140.pycPK!:v< encodings/cp1250.pycPK!J ^encodings/cp1251.pycPK!i 8encodings/cp1252.pycPK!_ encodings/cp1253.pycPK!? encodings/cp1254.pycPK!pv encodings/cp1255.pycPK!{wu encodings/cp1256.pycPK!y encodings/cp1257.pycPK!U%< encodings/cp1258.pycPK!4͡ rencodings/cp273.pycPK!eĮ %encodings/cp424.pycPK!DXencodings/cp437.pycPK!6U :encodings/cp500.pycPK! Dencodings/cp720.pycPK!z  Nencodings/cp737.pycPK!I oencodings/cp775.pycPK!()mmencodings/cp850.pycPK!)Dencodings/cp852.pycPK!Yencodings/cp855.pycPK!* encodings/cp856.pycPK!lYYencodings/cp857.pycPK!OOlencodings/cp858.pycPK!{Ϋ/encodings/cp860.pycPK!w)Nencodings/cp861.pycPK!wwmencodings/cp862.pycPK!7g[encodings/cp863.pycPK!\#JJFencodings/cp864.pycPK!t6encodings/cp865.pycPK!Anf  encodings/cp866.pycPK!! encodings/cp869.pycPK!5"  )encodings/cp874.pycPK!O (4encodings/cp875.pycPK!$&=encodings/cp932.pycPK!fCencodings/cp949.pycPK!DԝIencodings/cp950.pycPK!TBPOencodings/euc_jis_2004.pycPK!rR3Uencodings/euc_jisx0213.pycPK!{&#[encodings/euc_jp.pycPK!,`encodings/euc_kr.pycPK!p Gfencodings/gb18030.pycPK!a*lencodings/gb2312.pycPK!]*Й]rencodings/gbk.pycPK!YM M %xencodings/hex_codec.pycPK!_$%Y Y encodings/hp_roman8.pycPK!5encodings/hz.pycPK!encodings/idna.pycPK!O!encodings/iso2022_jp.pycPK!9/rencodings/iso2022_jp_1.pycPK!BWencodings/iso2022_jp_2.pycPK!Rӹencodings/iso2022_jp_2004.pycPK!GĿencodings/iso2022_jp_3.pycPK!ݴencodings/iso2022_jp_ext.pycPK!9encodings/iso2022_kr.pycPK!r |encodings/iso8859_1.pycPK!틔 @encodings/iso8859_10.pycPK!E?  encodings/iso8859_11.pycPK!}& 2encodings/iso8859_13.pycPK! encodings/iso8859_14.pycPK!ݔ encodings/iso8859_15.pycPK!gF  encodings/iso8859_16.pycPK! tencodings/iso8859_2.pycPK!= 8 encodings/iso8859_3.pycPK!q#= *encodings/iso8859_4.pycPK!(x 3encodings/iso8859_5.pycPK!fIw =encodings/iso8859_6.pycPK![S˗ }Gencodings/iso8859_7.pycPK! IQencodings/iso8859_8.pycPK! 4[encodings/iso8859_9.pycPK! ۝dencodings/johab.pycPK!0Ƴ jencodings/koi8_r.pycPK!!j j tencodings/koi8_t.pycPK!* W~encodings/koi8_u.pycPK!H's >encodings/kz1048.pycPK!ў:encodings/latin_1.pycPK!ÓXMVVencodings/mac_arabic.pycPK!8B=5 Lencodings/mac_croatian.pycPK!kO1 Bencodings/mac_cyrillic.pycPK!5| | .encodings/mac_farsi.pycPK!4 encodings/mac_greek.pycPK! encodings/mac_iceland.pycPK!rRAD D encodings/mac_latin2.pycPK!곂-  encodings/mac_roman.pycPK!/>  encodings/mac_romanian.pycPK!- encodings/mac_turkish.pycPK!encodings/mbcs.pycPK!uencodings/oem.pycPK!.[|@ &encodings/palmos.pycPK!BP )encodings/ptcp154.pycPK!ao?3encodings/punycode.pycPK! %t t 0Lencodings/quopri_codec.pycPK!mY; Uencodings/raw_unicode_escape.pycPK!hB ]encodings/rot_13.pycPK!Xiencodings/shift_jis.pycPK!ƈoencodings/shift_jis_2004.pycPK!Quencodings/shift_jisx0213.pycPK!a {encodings/tis_620.pycPK!IIencodings/undefined.pycPK!m~/4encodings/unicode_escape.pycPK!#'  )encodings/utf_16.pycPK!qjь{encodings/utf_16_be.pycPK!?<encodings/utf_16_le.pycPK!bencodings/utf_32.pycPK!A`!!encodings/utf_32_be.pycPK!B{!!:encodings/utf_32_le.pycPK!Z==encodings/utf_7.pycPK!F5xxencodings/utf_8.pycPK!ROoencodings/utf_8_sig.pycPK!`t encodings/uu_codec.pycPK!璷 encodings/zlib_codec.pycPK!geeenum.pycPK!KpKp tfunctools.pycPK!F]66 Nheapq.pycPK!6ch h e io.pycPK!P ) keyword.pycPK!Y; - linecache.pycPK!d = locale.pycPK!qz*55  operator.pycPK!!x2828 re.pycPK! r 3 reprlib.pycPK!^::H sre_compile.pycPK!Cv sre_constants.pycPK!Y{T{T  sre_parse.pycPK! ?OO  traceback.pycPK!2,$,$ A types.pycPK!=5=5 f warnings.pycPK!59WUOUO z weakref.pycPK%