| Server IP : 66.29.146.62 / Your IP : 216.73.216.152 Web Server : LiteSpeed System : Linux premium231.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : dokkdzvi ( 925) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python-internal/lib64/python3.11/__pycache__/ |
Upload File : |
�
!A?h� � �� � d Z ddlZddlZddlZddlZddlZddlZddlZddl Z g d�Z
G d� de� � Z G d� dej
� � Zd� Z dd�Zd� Zed
k r e� � dS dS )zqRoutine to "compile" a .py file to a .pyc file.
This module has intimate knowledge of the format of .pyc files.
� N)�compile�main�PyCompileError�PycInvalidationModec � � e Zd ZdZdd�Zd� ZdS )r a� 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'
� c �6 � |j }|t u rBd� t j ||� � � � }|� dd|z � � }nd|�d|��}t � | |p||||� � || _ || _ || _
|p|| _ d S )Nr zFile "<string>"z File "%s"zSorry: z: )�__name__�SyntaxError�join� traceback�format_exception_only�replace� Exception�__init__�
exc_type_name� exc_value�file�msg)�self�exc_typer r r r �tbtext�errmsgs �7/opt/alt/python-internal/lib64/python3.11/py_compile.pyr zPyCompileError.__init__. s� � � �)�
��{�"�"��W�W�Y�<��)�%� %� &� &�F��^�^�$5�{�T�7I�J�J�F�F� #�
)6�
�
�i�i�@�F����4��
�v�m�I�d�K�K�K�*���"����� ��=�&����� c � � | j S )N)r )r s r �__str__zPyCompileError.__str__>