Critics have remarked that those four worthies were truly peerless throughout the ages; yet the present falls short of the pastβthe ancients favored unadorned simplicity, whereas the moderns prefer refined elegance. Styles of substance and ornament rise and fall in succession, shifting with the changing mores of the times; such evolution is simply the natural order of things. The ideal lies in honoring antiquity without clashing with the present, and embracing modernity without succumbing to its flawsβembodying that perfect balance of substance and refinement that defines the true gentleman. There is surely no need to abandon a carved palace in favor of a cave dwelling, or to trade a jade carriage for a primitive cart with solid wooden wheels.
Current path: lib64/python3.6/__pycache__/
β¬οΈ Go up: /lib64/python3.6
3
\v) οΏ½ @ sοΏ½ d Z ddlZddlZddlZddlmZmZ ddddgZG ddοΏ½ dοΏ½ZG d dοΏ½ deοΏ½Z dd
dοΏ½Z
edkrοΏ½ejοΏ½ Z
e
jdd
ddοΏ½ e
jοΏ½ ZejsοΏ½ejjrοΏ½dZndZe
eοΏ½ dS )z?Utilities needed to emulate Python's interactive interpreter.
οΏ½ N)οΏ½CommandCompilerοΏ½compile_commandοΏ½InteractiveInterpreterοΏ½InteractiveConsoleοΏ½interactr c @ sF e Zd ZdZdddοΏ½ZdddοΏ½Zd d
οΏ½ ZdddοΏ½Zd
dοΏ½ ZddοΏ½ Z dS )r zοΏ½Base 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.6/code.pyοΏ½__init__ s
zInteractiveInterpreter.__init__οΏ½<input>οΏ½singlec
C sR y| j |||οΏ½}W n$ tttfk
r6 | j|οΏ½ dS X |dkrDdS | j|οΏ½ dS )aοΏ½ Compile and run some source in the interpreter.
Arguments are as for compile_command().
One 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
οΏ½
OverflowErrorοΏ½SyntaxErrorοΏ½
ValueErrorοΏ½showsyntaxerrorοΏ½runcode)r οΏ½sourceοΏ½filenameZsymbolοΏ½coder r r
οΏ½ runsource'