芝麻web文件管理V1.00
编辑当前文件:/home/conskgoa/doughi.co.uk/code.cpython-38.opt-1.pyc.tar
usr/lib64/python3.8/__pycache__/code.cpython-38.opt-1.pyc 0000644 00000023273 15220154565 0016574 0 ustar 00 U e5d~) @ s d Z ddlZddlZddlmZmZ ddddgZG dd dZG d d deZdd dZ e dkrddlZe Z e jdd dd e ZejsejjrdZndZe e dS )z?Utilities needed to emulate Python's interactive interpreter. N)CommandCompilercompile_commandInteractiveInterpreterInteractiveConsoleinteractr c @ sF e Zd ZdZdddZdddZd d ZdddZd d Zdd Z dS )r zBase class for InteractiveConsole. This class deals with parsing and interpreter state (the user's namespace); it doesn't deal with input buffering or prompting or input file naming (the filename is always passed in explicitly). Nc C s$ |dkrddd}|| _ t | _dS )a Constructor. The optional 'locals' argument specifies the dictionary in which code will be executed; it defaults to a newly created dictionary with key "__name__" set to "__console__" and key "__doc__" set to None. NZ__console__)__name____doc__)localsr compile)selfr r /usr/lib64/python3.8/code.py__init__ s zInteractiveInterpreter.__init__
singlec C sT z| |||}W n& tttfk r8 | | Y dS X |dkrFdS | | dS )a Compile and run some source in the interpreter. Arguments are as for compile_command(). One of several things can happen: 1) The input is incorrect; compile_command() raised an exception (SyntaxError or OverflowError). A syntax traceback will be printed by calling the showsyntaxerror() method. 2) The input is incomplete, and more input is required; compile_command() returned None. Nothing happens. 3) The input is complete; compile_command() returned a code object. The code is executed by calling self.runcode() (which also handles run-time exceptions, except for SystemExit). The return value is True in case 2, False in the other cases (unless an exception is raised). The return value can be used to decide whether to use sys.ps1 or sys.ps2 to prompt the next line. FNT)r OverflowErrorSyntaxError ValueErrorshowsyntaxerrorruncode)r sourcefilenameZsymbolcoder r r runsource&