403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/encodings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/encodings/__init__.pyc
ó
—|_c@sŽdZddlZddlmZddlZiZdZdgZdZejZ	de
efd„ƒYZd	„Z
d
„ZejeƒdS(s, 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 a CodecInfo object with encoder, decoder,
    incrementalencoder, incrementaldecoder, streamwriter and streamreader
    atttributes 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.

iÿÿÿÿN(taliasess--unknown--t*s                                              . 0123456789       ABCDEFGHIJKLMNOPQRSTUVWXYZ      abcdefghijklmnopqrstuvwxyz                                                                                                                                     tCodecRegistryErrorcBseZRS((t__name__t
__module__(((s(/usr/lib/python2.7/encodings/__init__.pyR.scCsLttdƒr0t|tƒr0|jdƒ}ndj|jtƒjƒƒS(s´ 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; if they do use
        non-ASCII characters, these must be Latin-1 compatible.

    tunicodeslatin-1t_(	thasattrt__builtin__t
isinstanceRtencodetjoint	translatet_norm_encoding_maptsplit(tencoding((s(/usr/lib/python2.7/encodings/__init__.pytnormalize_encoding1sc
Cs8tj|tƒ}|tk	r"|St|ƒ}tj|ƒpUtj|jddƒƒ}|dk	rs||g}n	|g}xb|D]T}|sƒd|kr¢qƒny td|dtddƒ}Wnt	k
rÕqƒXPqƒWd}y
|j
}Wntk
rd}nX|dkr"dt|<dS|ƒ}t|t
jƒsÜdt|ƒkoZdkns{td	|j|jf‚nt|dd
ƒsWt|dd
ƒsW|ddk	rÇt|dd
ƒsW|d
dk	rët|d
d
ƒsWt|ƒdkr!|ddk	r!t|dd
ƒsWt|ƒdkrs|ddk	rst|dd
ƒrstd|j|jf‚nt|ƒdks•|ddkrÊ|ddt|ƒ|jjddƒdf7}nt
j|Œ}n|t|<y|jƒ}Wntk
r	n+Xx'|D]}	|	tkr|t|	<qqW|S(Nt.Rs
encodings.tfromlisttleveliiis#module "%s" (%s) failed to registert__call__iiiis'incompatible codecs in module "%s" (%s)i(N(t_cachetgett_unknownRt_aliasestreplacetNonet
__import__t_import_tailtImportErrortgetregentrytAttributeErrorR	tcodecst	CodecInfotlenRRt__file__RRt
getaliases(
Rtentryt
norm_encodingtaliased_encodingtmodnamestmodnametmodRtcodecaliasestalias((s(/usr/lib/python2.7/encodings/__init__.pytsearch_functionGsl		






	"$$66"5


(t__doc__R t	encodingsRRRRRR
RtLookupErrortSystemErrorRRR-tregister(((s(/usr/lib/python2.7/encodings/__init__.pyt<module>s				V

Youez - 2016 - github.com/yon3zu
LinuXploit