ACC SHELL
Path : /usr/lib/python/ |
|
Current File : //usr/lib/python/py_compile.pyo |
Ñò
oÄMc @ sý d Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z e i ƒ Z d d d g Z d e
f d „ ƒ YZ e i d j o d d k
Z
d „ Z n
d „ Z d
„ Z d d e d „ Z d d „ Z e d
j o e i e ƒ ƒ n d S( s{ Routine to "compile" a .py file to a .pyc (or .pyo) file.
This module has intimate knowledge of the format of .pyc files.
iÿÿÿÿNt compilet maint PyCompileErrorc B s# e Z d Z d d „ Z d „ Z RS( s› 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'
t c C sª | i } | t j o5 d i t i | | ƒ ƒ } | i d d | ƒ } n d | | f } t i | | p | | | | ƒ | | _ | | _ | | _
| p | | _ d S( NR s File "<string>"s File "%s"s
Sorry: %s: %s( t __name__t SyntaxErrort joint tracebackt format_exception_onlyt replacet Exceptiont __init__t
exc_type_namet exc_valuet filet msg( t selft exc_typeR
R R R t tbtextt errmsg( ( s /usr/lib/python2.6/py_compile.pyR - s
c C s | i S( N( R ( R ( ( s /usr/lib/python2.6/py_compile.pyt __str__<