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

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


�`^c@s�dZddlmZd�Zedddddd	d
ddd
dgedd��Zd�Zi�dd6dd6dd6dd6dd6dd6dd6d d!6d"d#6d$d%6d&d'6d(d)6d*d+6d,d-6d.d/6d0d16d2d36d4d56d6d76d8d96d&d:6d;d<6d=d>6d?d@6dAdB6dCdD6dEdF6dGdH6dIdJ6dKdL6dMdN6dOdP6dQdR6dSdT6dUdV6dWdX6dYdZ6d[d\6d]d^6d_d`6dadb6dSdc6dUdd6dWde6dYdf6d[dg6d]dh6d_di6dadj6dkdl6dmdn6dodp6dqdr6dsdt6dudv6dwdx6dydz6dkd{6dmd|6dod}6dqd~6dsd6dud�6dwd�6dyd�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�6d��d��d��d��d��d��d��d��d��d�6d�6d�6d�6d�d��6d�6d�6d�6d4d6dd6dd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d	d)6d*d+6d,d-6d.d/6d0d16d2d36d4d56d6d76d8d96d6d:6d;d<6d=d>6d?d@6dAdB6dCdD6dAdE6dFdG6dHdI6dJdK6dLdM6dNdO6dPdQ6dRdS6dTdU6dVdW6dXdY6dZd[6d\d]6d^d_6d`da6dbdc6ddde6dfdg6dhdi6djdk6dldm6dndo6dndp6dqdr6dsdt6dudv6dwdx6dydz6d{d|6d�6d�d~6dd6d�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�6d�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��d��6d���d�������d��d��d��d��d��d��d��6d{d6d�6dd6d�6d�6d�d6d�d6d�d6d�d6d�6d�
6d�d6d�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�d/6d�d06d�d16d�d26d�d36d�6d�56d�d66d�76d�86d�96dd:6d�d;6d�d<6d�d=6d�d>6d�d?6d�d@6d�6d{dB6d�6d�dD6ddE6d�6d�6d�dH6d�dI6d�dJ6d�dK6d�dL6d�dM6d�6d�O6d�dP6d�Q6d�R6d�S6ddT6d�dU6d�dV6d�dW6d�dX6d�dY6d�dZ6d�6d{d\6d�6d�d^6dd_6d�6d�6d�db6d�dc6d�dd6d�de6d�df6d�dg6d�6d�i6d�dj6d�k6d�l6d�m6ddn6d�do6d�dp6d�dq6d�dr6d�ds6d�dt6d�6d{dv6d�6d�dx6ddy6d�6d�6d�d|6d�d}6d�d~6d�d6d�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�6d6d�6d�d�6dd�6d�d�6d�d�6d�d�6d4d�6d8d�6d*d�6d&d�6d�d�d,d�d2d�d��d��d��d&d�d�d�d(d�d�6d�d�d;d�d�d�d�d�*d�d�6d��d�d��d��d��d�4d�8d�*d�&d��d�,d�2d��6d�6d�6d&d6d�d6d(d6d�6d�d6d;d6d�d	6d�d
6d*d6dd6d6d
6d�d6dd6d�d6d�d6d�d6d4d6d8d6d*d6d&d6d�d6d,d6d2d6d�6d�6d�6d&d6d�d6d(d6d�6d�d!6d;d"6d�d#6d�d$6d*d%6dd&6d6d'6d�d(6dd)6d�d*6d�d+6d�d,6d4d-6d8d.6d*d/6d&d06d�d16d,d26d2d36d�46d�56d�66d&d76d�d86d(d96d�6d�d;6d;d<6d�d=6d�d>6d*d?6dd@6d6dA6d�dB6ddC6d�dD6d�dE6d�dF6d4dG6d8dH6d*dI6d&dJ6d�dK6d,dL6d2dM6d�N6d�O6d�P6d&dQ6ZdR�Z	dS�Z
dT�ZdU�ZdV�Z
dW�ZedXdYdZddd[d\dged
d]�ed^d_�ed`da�edbdc��Zdd�Zde�Zdf�Zdg�Zdh�Zeed`di��Zdj�Zeedkdl��Zdm�Zedndodpdqgedrds�ed^d_��Zdt�Zedugedvdw��Zdx�Zdy�Zdz�Zd{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_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__RRRtsettrangeR	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.