Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/stringprep.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@s�dZddlmZejdks+t�d�Zeddddd	d
ddd
ddgedd��Zd�Z	i�dd6dd6dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d)d*6d+d,6d-d.6d/d06d1d26d3d46d5d66d7d86d9d:6d'd;6d<d=6d>d?6d@dA6dBdC6dDdE6dFdG6dHdI6dJdK6dLdM6dNdO6dPdQ6dRdS6dTdU6dVdW6dXdY6dZd[6d\d]6d^d_6d`da6dbdc6dTdd6dVde6dXdf6dZdg6d\dh6d^di6d`dj6dbdk6dldm6dndo6dpdq6drds6dtdu6dvdw6dxdy6dzd{6dld|6dnd}6dpd~6drd6dtd�6dvd�6dxd�6dzd�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6dd�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d#d�6d�d�6d�d�6d�d�6d%d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�d��d��d��d��d��d��d��d��d���6d�6d�6d�6d�d��6d�6d�6d�6d5d6dd6dd6dd6dd	6d
d6dd
6dd6dd6dd6dd6dd6dd6dd6dd6dd6d d!6d"d#6d$d%6d&d'6d(d)6d
d*6d+d,6d-d.6d/d06d1d26d3d46d5d66d7d86d9d:6d7d;6d<d=6d>d?6d@dA6dBdC6dDdE6dBdF6dGdH6dIdJ6dKdL6dMdN6dOdP6dQdR6dSdT6dUdV6dWdX6dYdZ6d[d\6d]d^6d_d`6dadb6dcdd6dedf6dgdh6didj6dkdl6dmdn6dodp6dodq6drds6dtdu6dvdw6dxdy6dzd{6d|d}6d�6d�d6dd�6d�6d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d��6d�d�6d��6d��6d��6dd�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d|d�6d�6d�d�6dd�6d�6d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d��6d�d�6d��6d��6d��6dd�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d|d�6d�6d�d�6dd�6d�6d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d��6d�d�6d��6d��6d��6dd�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d|d�6d�d�6dd�6d�d�6d�d�6d�d�6d��6d�d�6d��6d��6dd�6d�d�d�d�d�d�d�d�d�d�d�d�d�6d|d�d�6d�d�dd�d�6d�6d�d�d�d�d�d�d�d��d��d��6d���d�������d��d��d��d��d��d��d��6d|d6d�6dd6d�6d�6d�d6d�d6d�d6d�d	6d�6d�6d�d6d�
6d�6dd6d�d6d�d6d�d6d�d6d�d6d�d6d|d6d�6dd6d�6d�6d�d6d�d6d�d6d�d6d�d6d�6d�d!6dd"6d�d#6d�d$6d�d%6d�d&6d�d'6d�d(6d|d)6d�6d�d+6dd,6d�6d�6d�d/6d�d06d�d16d�d26d�d36d�d46d�6d�66d�d76d�86d�96d�:6dd;6d�d<6d�d=6d�d>6d�d?6d�d@6d�dA6d�6d|dC6d�6d�dE6ddF6d�6d�6d�dI6d�dJ6d�dK6d�dL6d�dM6d�dN6d�6d�P6d�dQ6d�R6d�S6d�T6ddU6d�dV6d�dW6d�dX6d�dY6d�dZ6d�d[6d�6d|d]6d�6d�d_6dd`6d�6d�6d�dc6d�dd6d�de6d�df6d�dg6d�dh6d�6d�j6d�dk6d�l6d�m6d�n6ddo6d�dp6d�dq6d�dr6d�ds6d�dt6d�du6d�6d|dw6d�6d�dy6ddz6d�6d�6d�d}6d�d~6d�d6d�d�6d�d�6d�d�6d�6d��6d�d�6d��6d��6d��6dd�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d|d�6d�6d�d�6dd�6d�6d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d��6d�d�6d��6d��6d��6dd�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d|d�6d�6d�d�6dd�6d�6d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d��6d�d�6d��6d��6d��6dd�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�6d�d�6d)d�6d�6d�d�6d<d�6d�d�6d�d�6d+d�6dd�6d7d�6d�d�6dd�6d�d�6d�d�6d�d�6d5d�6d9d�6d+d�6d'd�6d��d-d�d3d�d��d��d��d'd�d�d�d)d�d�6d�d�d<d�d�d��d�+d�d�7d��d�d��d��d��d�5d�9d�+d�'d���-d�3d6d�6d�6d�6d'd6d�d6d)d6d�6d�d6d<d	6d�d
6d�d6d+d6dd
6d7d6d�d6dd6d�d6d�d6d�d6d5d6d9d6d+d6d'd6d�6d-d6d3d6d�6d�6d�6d'd6d�d6d)d 6d�6d�d"6d<d#6d�d$6d�d%6d+d&6dd'6d7d(6d�d)6dd*6d�d+6d�d,6d�d-6d5d.6d9d/6d+d06d'd16d�26d-d36d3d46d�56d�66d�76d'd86d�d96d)d:6d�6d�d<6d<d=6d�d>6d�d?6d+d@6ddA6d7dB6d�dC6ddD6d�dE6d�dF6d�dG6d5dH6d9dI6d+dJ6d'dK6d�L6d-dM6d3dN6d�O6d�P6d�Q6d'dR6Z
dS�ZdT�ZdU�Z
dV�ZdW�ZdX�ZedYdZd[dd
d\d]dgedd^�ed_d`�edadb�edcdd��Zde�Zdf�Zdg�Zdh�Zdi�Zeedadj��Zdk�Zeedldm��Zdn�Zedodpdqdrgedsdt�ed_d`��Zdu�Zedvgedwdx��Zdy�Zdz�Zd{�Z d|S(}s�Library that exposes various tables found in the StringPrep RFC 3454.

There are two kinds of tables: sets, for which a member test is provided,
and mappings, for which a mapping function is provided.
i�(t	ucd_3_2_0s3.2.0cCsStj|�dkrtSt|�}d|ko<dknrEtS|d@dkS(NtCni�i�i�i�(i�i�(tunicodedatatcategorytFalsetord(tcodetc((s /sys/lib/python2.7/stringprep.pytin_table_a1si�iOiiii
i i i
 i` i�i��Cst|�tkS(N(Rtb1_set(R((s /sys/lib/python2.7/stringprep.pytin_table_b1suμi�ussi�ui̇i0uʼniIusiuǰi�uιiEu ιizuΐi�uΰi�uσi�uβi�uθi�uυi�uύi�uϋi�uφi�uπi�uκi�uρi�i�uεi�uեւi�uẖi�uẗi�uẘi�uẙi�uaʾi�uṡi�uὐiPuὒiRuὔiTuὖiVuἀιi�uἁιi�uἂιi�uἃιi�uἄιi�uἅιi�uἆιi�uἇιi�i�i�i�i�i�i�i�i�uἠιi�uἡιi�uἢιi�uἣιi�uἤιi�uἥιi�uἦιi�uἧιi�i�i�i�i�i�i�i�i�uὠιi�uὡιi�uὢιi�uὣιi�uὤιi�uὥιi�uὦιi�uὧιi�i�i�i�i�i�i�i�i�uὰιi�uαιi�uάιi�uᾶi�uᾶιi�i�i�uὴιi�uηιi�uήιi�uῆi�uῆιi�i�uῒi�i�uῖi�uῗi�uῢi�i�uῤi�uῦi�uῧi�uὼιi�uωιi�uώιi�uῶi�uῶιi�i�ursi�uci!u°ci!uɛi!u°fi	!uhi!i!i
!uii!i!uli!uni!unoi!upi!uqi!uri!i!i!usmi !uteli!!utmi"!uzi$!i(!ubi,!i-!uei0!ufi1!umi3!uγi>!i?!udiE!uhpaiq3uauis3uoviu3upai�unai�uμai�umai�ukai�ukbi�umbi�ugbi�upfi�unfi�uμfi�uhzi�ukhzi�umhzi�ughzi�uthzi�i�ukpai�umpai�ugpai�upvi�unvi�uμvi�umvi�ukvi�i�upwi�unwi�uμwi�umwi�ukwi�i�ukωi�umωi�ubqi�uc∕kgi�uco.i�udbi�ugyi�uhpi�ukki�ukmi�uphi�uppmi�upri�usvi�uwbi�uffi�fii�fli�ffii�ffli�sti��մնi�մեi�միi�վնi�մխi�ai�i�i�i�i�i�ugi�i�i�uji	�uki
�i�i�i
�uoi�i�i�i�i�uti�uui�uvi�uwi�uxi�uyi�i�i4�i5�i6�i7�i8�i9�i:�i;�i<�i=�i>�i?�i@�iA�iB�iC�iD�iE�iF�iG�iH�iI�iJ�iK�iL�iM�ih�ii�ij�ik�il�im�in�io�ip�iq�ir�is�it�iu�iv�iw�ix�iy�iz�i{�i|�i}�i~�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i	�i
�i
�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i8�i9�i;�i<�i=�i>�i@�iA�iB�iC�iD�iF�iJ�iK�iL�iM�iN�iO�iP�il�im�in�io�ip�iq�ir�is�it�iu�iv�iw�ix�iy�iz�i{�i|�i}�i~�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i	�i
�i�i�i
�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i �i!�i<�i=�i>�i?�i@�iA�iB�iC�iD�iE�iF�iG�iH�iI�iJ�iK�iL�iM�iN�iO�iP�iQ�iR�iS�iT�iU�ip�iq�ir�is�it�iu�iv�iw�ix�iy�iz�i{�i|�i}�i~�i�i�i�i�i�i�i�i�i�i�i�uαi�i�i�uδi�i�uζi�uηi�i�i�i�uλi�i�uνi�uξi�uοi�i�i�i�i�uτi�i�i�uχi�uψi�uωi�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i
�i�i�i�i�i �i!�i"�i#�i$�i%�i&�i'�i(�i)�i*�i+�i,�i-�i.�i/�i0�i1�i2�i3�i4�iG�iV�iW�iX�iY�iZ�i[�i\�i]�i^�i_�i`�ia�ib�ic�id�ie�if�ig�ih�ii�ij�ik�il�im�in�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�cCs/tjt|��}|dk	r%|S|j�S(N(t
b3_exceptionstgetRtNonetlower(Rtr((s /sys/lib/python2.7/stringprep.pytmap_table_b3�scCspt|�}tjd|�}djg|D]}t|�^q+�}tjd|�}||krh|S|SdS(NtNFKCu(RRt	normalizetjoin(tataltbtchtblR((s /sys/lib/python2.7/stringprep.pytmap_table_b2�s(cCs
|dkS(Nu ((R((s /sys/lib/python2.7/stringprep.pytin_table_c11�scCstj|�dko|dkS(NtZsu (RR(R((s /sys/lib/python2.7/stringprep.pytin_table_c12�scCstj|�dkS(NR(RR(R((s /sys/lib/python2.7/stringprep.pytin_table_c11_c12�scCs%t|�dko$tj|�dkS(Ni�tCc(RRR(R((s /sys/lib/python2.7/stringprep.pytin_table_c21�si�iii( i) id ij ip i�i�is�i{�cCs?t|�}|dkrtStj|�dkr5tS|tkS(Ni�R(RRRRtTruetc22_specials(RR((s /sys/lib/python2.7/stringprep.pytin_table_c22�scCs%tj|�dkp$t|�tkS(NR(RRRR!(R((s /sys/lib/python2.7/stringprep.pytin_table_c21_c22�scCstj|�dkS(NtCo(RR(R((s /sys/lib/python2.7/stringprep.pytin_table_c3�scCs@t|�}|dkrtS|dkr,tSt|�d@dkS(Ni�i�i�i�(i�i�(RRR (RR((s /sys/lib/python2.7/stringprep.pytin_table_c4�scCstj|�dkS(NtCs(RR(R((s /sys/lib/python2.7/stringprep.pytin_table_c5�si�cCst|�tkS(N(Rtc6_set(R((s /sys/lib/python2.7/stringprep.pytin_table_c6�si�i�cCst|�tkS(N(Rtc7_set(R((s /sys/lib/python2.7/stringprep.pytin_table_c7�si@iAi i i* i/ cCst|�tkS(N(Rtc8_set(R((s /sys/lib/python2.7/stringprep.pytin_table_c8sii i�cCst|�tkS(N(Rtc9_set(R((s /sys/lib/python2.7/stringprep.pytin_table_c9scCstj|�dkS(NtRtAL(R1R2(Rt
bidirectional(R((s /sys/lib/python2.7/stringprep.pytin_table_d1scCstj|�dkS(NtL(RR3(R((s /sys/lib/python2.7/stringprep.pytin_table_d2sN(!t__doc__RRtunidata_versiontAssertionErrorRtsettrangeR	R
RRRRRRRR!R"R#R%R&R(R)R*R+R,R-R.R/R0R4R6(((s /sys/lib/python2.7/stringprep.pyt<module>s~	:							X							2			

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.