AlkantarClanX12
Current Path : /opt/alt/python33/lib64/python3.3/__pycache__/ |
Current File : //opt/alt/python33/lib64/python3.3/__pycache__/py_compile.cpython-33.pyc |
� ��f= c @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z e j � Z d d d g Z Gd d � d e � Z d d � Z d d d d d d � Z d d d � Z e d k r� e j e � � n d S( u{ Routine to "compile" a .py file to a .pyc (or .pyo) file. This module has intimate knowledge of the format of .pyc files. i Nu compileu mainu PyCompileErrorc B s5 | Ee Z d Z d Z d d d � Z d d � Z d S( u PyCompileErroru� Exception raised when an error occurs while attempting to compile the file. To raise this exception, use raise PyCompileError(exc_type,exc_value,file[,msg]) where exc_type: exception type to be used in error message type name can be accesses as class variable 'exc_type_name' exc_value: exception value to be used in error message can be accesses as class variable 'exc_value' file: name of file being compiled to be used in error message can be accesses as class variable 'file' msg: string message to be written as error message If no value is given, a default exception message will be given, consistent with 'standard' py_compile output. message (or default) can be accesses as class variable 'msg' u c C s� | j } | t k rI d j t j | | � � } | j d d | � } n d | | f } t j | | pk | | | | � | | _ | | _ | | _ | p� | | _ d S( Nu u File "<string>"u File "%s"u Sorry: %s: %s( u __name__u SyntaxErroru joinu tracebacku format_exception_onlyu replaceu Exceptionu __init__u exc_type_nameu exc_valueu fileu msg( u selfu exc_typeu exc_valueu fileu msgu exc_type_nameu tbtextu errmsg( ( u/ /opt/alt/python33/lib64/python3.3/py_compile.pyu __init__0 s u PyCompileError.__init__c C s | j S( N( u msg( u self( ( u/ /opt/alt/python33/lib64/python3.3/py_compile.pyu __str__@ s u PyCompileError.__str__N( u __name__u __module__u __qualname__u __doc__u __init__u __str__( u __locals__( ( u/ /opt/alt/python33/lib64/python3.3/py_compile.pyu PyCompileError s c C s? | j t | d @| d ?d @| d ?d @| d ?d @g � � d S( u>