/snap/core18/2979/usr/lib/python3.6/__pycache__
NameSizeModeActions
abc.cpython-36.pyc75150644editdlrm
aifc.cpython-36.pyc259430644editdlrm
antigravity.cpython-36.pyc7790644editdlrm
argparse.cpython-36.pyc604560644editdlrm
ast.cpython-36.pyc117040644editdlrm
asynchat.cpython-36.pyc68150644editdlrm
asyncore.cpython-36.pyc158380644editdlrm
base64.cpython-36.pyc170590644editdlrm
bdb.cpython-36.pyc170330644editdlrm
binhex.cpython-36.pyc120860644editdlrm
bisect.cpython-36.pyc26760644editdlrm
bz2.cpython-36.pyc112820644editdlrm
calendar.cpython-36.pyc258820644editdlrm
cgi.cpython-36.pyc284160644editdlrm
cgitb.cpython-36.pyc100800644editdlrm
chunk.cpython-36.pyc49000644editdlrm
cmd.cpython-36.pyc125750644editdlrm
code.cpython-36.pyc98360644editdlrm
codecs.cpython-36.pyc339000644editdlrm
codeop.cpython-36.pyc62700644editdlrm
colorsys.cpython-36.pyc33110644editdlrm
compileall.cpython-36.pyc82780644editdlrm
configparser.cpython-36.pyc452440644editdlrm
contextlib.cpython-36.pyc111580644editdlrm
copy.cpython-36.pyc70790644editdlrm
copyreg.cpython-36.pyc42440644editdlrm
cProfile.cpython-36.pyc42940644editdlrm
crypt.cpython-36.pyc22420644editdlrm
csv.cpython-36.pyc118550644editdlrm
datetime.cpython-36.pyc545110644editdlrm
decimal.cpython-36.pyc3510644editdlrm
difflib.cpython-36.pyc596420644editdlrm
dis.cpython-36.pyc141810644editdlrm
doctest.cpython-36.pyc755890644editdlrm
dummy_threading.cpython-36.pyc11020644editdlrm
enum.cpython-36.pyc234530644editdlrm
filecmp.cpython-36.pyc83050644editdlrm
fileinput.cpython-36.pyc131520644editdlrm
fnmatch.cpython-36.pyc28740644editdlrm
formatter.cpython-36.pyc175790644editdlrm
fractions.cpython-36.pyc184260644editdlrm
ftplib.cpython-36.pyc283570644editdlrm
functools.cpython-36.pyc240620644editdlrm
genericpath.cpython-36.pyc37260644editdlrm
getopt.cpython-36.pyc62170644editdlrm
getpass.cpython-36.pyc41770644editdlrm
gettext.cpython-36.pyc143060644editdlrm
glob.cpython-36.pyc42590644editdlrm
gzip.cpython-36.pyc162260644editdlrm
hashlib.cpython-36.pyc66920644editdlrm
heapq.cpython-36.pyc142920644editdlrm
hmac.cpython-36.pyc48360644editdlrm
imaplib.cpython-36.pyc421380644editdlrm
imghdr.cpython-36.pyc41500644editdlrm
imp.cpython-36.pyc96960644editdlrm
inspect.cpython-36.pyc797390644editdlrm
io.cpython-36.pyc33870644editdlrm
ipaddress.cpython-36.pyc623860644editdlrm
keyword.cpython-36.pyc17650644editdlrm
linecache.cpython-36.pyc37780644editdlrm
locale.cpython-36.pyc340300644editdlrm
lzma.cpython-36.pyc119920644editdlrm
macpath.cpython-36.pyc56410644editdlrm
macurl2path.cpython-36.pyc18670644editdlrm
mailbox.cpython-36.pyc637520644editdlrm
mailcap.cpython-36.pyc72090644editdlrm
mimetypes.cpython-36.pyc155530644editdlrm
modulefinder.cpython-36.pyc153660644editdlrm
netrc.cpython-36.pyc38360644editdlrm
nntplib.cpython-36.pyc337800644editdlrm
ntpath.cpython-36.pyc131900644editdlrm
nturl2path.cpython-36.pyc14990644editdlrm
numbers.cpython-36.pyc121420644editdlrm
opcode.cpython-36.pyc54130644editdlrm
operator.cpython-36.pyc139130644editdlrm
optparse.cpython-36.pyc480540644editdlrm
os.cpython-36.pyc296280644editdlrm
pathlib.cpython-36.pyc420070644editdlrm
pdb.cpython-36.pyc460940644editdlrm
pickle.cpython-36.pyc426910644editdlrm
pickletools.cpython-36.pyc660200644editdlrm
pipes.cpython-36.pyc78080644editdlrm
pkgutil.cpython-36.pyc162610644editdlrm
platform.cpython-36.pyc291970644editdlrm
plistlib.cpython-36.pyc280550644editdlrm
poplib.cpython-36.pyc133290644editdlrm
posixpath.cpython-36.pyc104560644editdlrm
pprint.cpython-36.pyc158240644editdlrm
profile.cpython-36.pyc139010644editdlrm
pstats.cpython-36.pyc218570644editdlrm
pty.cpython-36.pyc38610644editdlrm
pyclbr.cpython-36.pyc83650644editdlrm
pydoc.cpython-36.pyc837750644editdlrm
py_compile.cpython-36.pyc65440644editdlrm
queue.cpython-36.pyc87550644editdlrm
quopri.cpython-36.pyc57730644editdlrm
random.cpython-36.pyc193300644editdlrm
re.cpython-36.pyc140580644editdlrm
reprlib.cpython-36.pyc54000644editdlrm
rlcompleter.cpython-36.pyc57800644editdlrm
runpy.cpython-36.pyc79820644editdlrm
sched.cpython-36.pyc65640644editdlrm
secrets.cpython-36.pyc21620644editdlrm
selectors.cpython-36.pyc176970644editdlrm
shelve.cpython-36.pyc94580644editdlrm
shlex.cpython-36.pyc69700644editdlrm
shutil.cpython-36.pyc307040644editdlrm
signal.cpython-36.pyc25150644editdlrm
site.cpython-36.pyc165600644editdlrm
sitecustomize.cpython-36.pyc2120644editdlrm
smtpd.cpython-36.pyc266830644editdlrm
smtplib.cpython-36.pyc353400644editdlrm
sndhdr.cpython-36.pyc69130644editdlrm
socket.cpython-36.pyc220130644editdlrm
socketserver.cpython-36.pyc242500644editdlrm
sre_compile.cpython-36.pyc102780644editdlrm
sre_constants.cpython-36.pyc59720644editdlrm
sre_parse.cpython-36.pyc203580644editdlrm
ssl.cpython-36.pyc369390644editdlrm
stat.cpython-36.pyc38510644editdlrm
statistics.cpython-36.pyc181740644editdlrm
string.cpython-36.pyc79640644editdlrm
stringprep.cpython-36.pyc100300644editdlrm
struct.cpython-36.pyc3120644editdlrm
subprocess.cpython-36.pyc354850644editdlrm
sunau.cpython-36.pyc169380644editdlrm
symbol.cpython-36.pyc25170644editdlrm
symtable.cpython-36.pyc104280644editdlrm
sysconfig.cpython-36.pyc159160644editdlrm
tabnanny.cpython-36.pyc69750644editdlrm
tarfile.cpython-36.pyc630850644editdlrm
telnetlib.cpython-36.pyc180970644editdlrm
tempfile.cpython-36.pyc253090644editdlrm
textwrap.cpython-36.pyc136840644editdlrm
this.cpython-36.pyc12650644editdlrm
threading.cpython-36.pyc372340644editdlrm
timeit.cpython-36.pyc116030644editdlrm
token.cpython-36.pyc33200644editdlrm
tokenize.cpython-36.pyc186470644editdlrm
trace.cpython-36.pyc194950644editdlrm
traceback.cpython-36.pyc196460644editdlrm
tracemalloc.cpython-36.pyc172290644editdlrm
tty.cpython-36.pyc10720644editdlrm
turtle.cpython-36.pyc1317510644editdlrm
types.cpython-36.pyc82010644editdlrm
typing.cpython-36.pyc733060644editdlrm
uu.cpython-36.pyc34980644editdlrm
uuid.cpython-36.pyc209180644editdlrm
warnings.cpython-36.pyc132580644editdlrm
wave.cpython-36.pyc178850644editdlrm
weakref.cpython-36.pyc191430644editdlrm
webbrowser.cpython-36.pyc157970644editdlrm
xdrlib.cpython-36.pyc83020644editdlrm
zipapp.cpython-36.pyc55340644editdlrm
zipfile.cpython-36.pyc497280644editdlrm
_bootlocale.cpython-36.pyc9800644editdlrm
_collections_abc.cpython-36.pyc287970644editdlrm
_compat_pickle.cpython-36.pyc65660644editdlrm
_compression.cpython-36.pyc41040644editdlrm
_dummy_thread.cpython-36.pyc48510644editdlrm
_markupbase.cpython-36.pyc79910644editdlrm
_osx_support.cpython-36.pyc96840644editdlrm
_pydecimal.cpython-36.pyc1634020644editdlrm
_pyio.cpython-36.pyc713860644editdlrm
_sitebuiltins.cpython-36.pyc34350644editdlrm
_strptime.cpython-36.pyc159630644editdlrm
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-36.pyc187790644editdlrm
_threading_local.cpython-36.pyc64250644editdlrm
_weakrefset.cpython-36.pyc78280644editdlrm
__future__.cpython-36.pyc41670644editdlrm
__phello__.foo.cpython-36.pyc1190644editdlrm
Edit: /snap/core18/2979/usr/lib/python3.6/__pycache__/site.cpython-36.pyc (16560B)
3 NqiU@s dZddlZddlZddlZddlZejejgadada da ddZ ddZ ddZ d d Zd d Zd.d dZddZddZddZddZd/ddZd0ddZddZddZdd Zd!d"Zd#d$Zd%d&Zd'd(Zd)d*Zejj sed+d,Z!e"d-kre!dS)1a Append module search paths for third-party packages to sys.path. **************************************************************** * This module is automatically imported during initialization. * **************************************************************** This will append site-specific paths to the module search path. On Unix (including Mac OSX), it starts with sys.prefix and sys.exec_prefix (if different) and appends lib/python3/dist-packages. On other platforms (such as Windows), it tries each of the prefixes directly, as well as with lib/site-packages appended. The resulting directories, if they exist, are appended to sys.path, and also inspected for path configuration files. For Debian and derivatives, this sys.path is augmented with directories for packages distributed within the distribution. Local addons go into /usr/local/lib/python/dist-packages, Debian addons install into /usr/lib/python3/dist-packages. /usr/lib/python/site-packages is not used. If a file named "pyvenv.cfg" exists one directory above sys.executable, sys.prefix and sys.exec_prefix are set to that directory and it is also checked for site-packages (sys.base_prefix and sys.base_exec_prefix will always be the "real" prefixes of the Python installation). If "pyvenv.cfg" (a bootstrap configuration file) contains the key "include-system-site-packages" set to anything other than "false" (case-insensitive), the system-level prefixes will still also be searched for site-packages; otherwise they won't. All of the resulting site-specific directories, if they exist, are appended to sys.path, and also inspected for path configuration files. A path configuration file is a file whose name has the form .pth; its contents are additional directories (one per line) to be added to sys.path. Non-existing directories (or non-directories) are never added to sys.path; no directory is added to sys.path more than once. Blank lines and lines beginning with '#' are skipped. Lines starting with 'import' are executed. For example, suppose sys.prefix and sys.exec_prefix are set to /usr/local and there is a directory /usr/local/lib/python2.5/site-packages with three subdirectories, foo, bar and spam, and two path configuration files, foo.pth and bar.pth. Assume foo.pth contains the following: # foo package configuration foo bar bletch and bar.pth contains: # bar package configuration bar Then the following directories are added to sys.path, in this order: /usr/local/lib/python2.5/site-packages/bar /usr/local/lib/python2.5/site-packages/foo Note that bletch is omitted because it doesn't exist; bar precedes foo because bar.pth comes alphabetically before foo.pth; and spam is omitted because it is not mentioned in either path configuration file. The readline module is also automatically configured to enable completion for systems that support it. This can be overridden in sitecustomize, usercustomize or PYTHONSTARTUP. Starting Python in isolated mode (-I) disables automatic readline configuration. After these operations, an attempt is made to import a module named sitecustomize, which can perform arbitrary additional site-specific customizations. If this import fails with an ImportError exception, it is silently ignored. Nc GsBtjj|}ytjj|}Wntk r0YnX|tjj|fS)N)ospathjoinabspathOSErrornormcase)pathsdirr /usr/lib/python3.6/site.pymakepath`s  r cCsxttjjD]~}tt|dddddkr.qytjj|j|_Wnt t t fk r\YnXytjj|j |_ Wqt t t fk rYqXqWdS)zESet all module __file__ and __cached__ attributes to an absolute path __loader__N __module___frozen_importlib_frozen_importlib_external)rr) setsysmodulesvaluesgetattrrrr__file__AttributeErrorr TypeError __cached__)mr r r abs_pathsisrcCsTg}t}x6tjD],}t|\}}||kr|j||j|qW|tjdd<|S)zK Remove duplicate entries from sys.path along with making them absoluteN)rrrr appendadd)L known_pathsr dircaser r r removeduppathsys   r!c CsXt}xLtjD]B}y&tjj|r6t|\}}|j|Wqtk rNwYqXqW|S)zEReturn a set containing all existing file system items from sys.path.)rrrrexistsr rr)ditem_Zitemcaser r r _init_pathinfos    r&c Csp|dkrt}d}nd}tjj||}yt|d}Wntk rHdSX| xt|D]\}}|jdrrq^yX|jdrt|w^|j }t ||\}} | |krtjj |rt jj ||j| Wq^tk rRtdj|d |t jd d dl} x>| jt jD],} x$| jD]}td |t jd qWqWtd t jd PYq^Xq^WWdQRX|rld}|S)zProcess a .pth file within the site-packages directory: For each line in the file, either combine it with sitedir to a path and add that to known_paths, or execute it if it starts with 'import '. NTFr#import import z"Error processing line {:d} of {}: )filerz z Remainder of file ignored)r)r*)r&rrropenr enumerate startswithexecrstripr r"rrr Exceptionprintformatstderr tracebackformat_exceptionexc_info splitlines) sitedirnamerresetfullnamefnliner r r6recordr r r addpackagesD    rBc Cs|dkrt}d}nd}t|\}}||krBtjj||j|ytj|}Wntk rddSXdd|D}xt |D]}t |||q~W|rd}|S)zTAdd 'sitedir' argument to sys.path if missing and handle .pth files in 'sitedir'NTFcSsg|]}|jdr|qS)z.pth)endswith).0r;r r r szaddsitedir..) r&r rrrrrlistdirrsortedrB)r:rr<Z sitedircasenamesr;r r r addsitedirs$   rIcCs`tjjr dSttdr4ttdr4tjtjkr4dSttdr\ttdr\tjtjkr\dSdS)a,Check if user site directory is safe for inclusion The function tests for the command line flag (including environment var), process uid/gid equal to effective uid/gid. None: Disabled for security reasons False: Disabled by user (command line option) True: Safe and enabled FgetuidgeteuidNgetgidgetegidT) rflags no_user_sitehasattrrrKrJrMrLr r r r check_enableusersites rQcCs$tdk r tSddlm}|datS)zReturns the `user base` directory path. The `user base` directory can be used to store data. If the global variable ``USER_BASE`` is not initialized yet, this function will also set it. Nr)get_config_varZuserbase) USER_BASE sysconfigrR)rRr r r getuserbases  rUcCs^t}tdk rtSddlm}tjdkrJddlm}|drJ|ddatS|dd tjatS) zReturns the user-specific site-packages directory path. If the global variable ``USER_SITE`` is not initialized yet, this function will also set it. Nr)get_pathdarwin)rRPYTHONFRAMEWORKZpurelibZosx_framework_userz%s_user) rU USER_SITErTrVrplatformrRrr;) user_baserVrRr r r getusersitepackagess    r\cCs$t}tr tjj|r t|||S)zAdd a per user site-package to sys.path Each user has its own python directory with site-packages in the home directory. )r\ENABLE_USER_SITErrisdirrI)r user_siter r r addusersitepackagess r`c CsZg}t}|dkrt}x<|D]2}| s||kr4q|j|tjdkrdtjks^tjtjkr|j tj j |ddtj ddd|j tj j |ddtj ddd |j tj j |dd d |j tj j |ddtj ddd n |j ||j tj j |ddtj d krd d lm}|d}|r|j tj j d|dtjdddqW|S)aReturns a list containing all global site-packages directories. For each directory present in ``prefixes`` (or the global ``PREFIXES``), this function will find its `site-packages` subdirectory depending on the system environment, and will return a list of full paths. N/Z VIRTUAL_ENVZlibZpythonz site-packagesz local/libz dist-packagesZpython3rWr)rRrXz/Libraryz%d.%d)rPREFIXESrrsepenvironr base_prefixprefixrrrversionrZrTrR version_info)prefixesZ sitepackagesseenrhrRZ frameworkr r r getsitepackages&s@       rmcCs,x&t|D]}tjj|r t||q W|S)zAdd site-packages to sys.path)rmrrr^rI)rrkr:r r r addsitepackagesUs rncCs4tjdkrd}nd}tjd|t_tjd|t_dS)zDefine new builtins 'quit' and 'exit'. These are objects which make the interpreter exit when called. The repr of each object contains a hint at how it works. \zCtrl-Z plus ReturnzCtrl-D (i.e. EOF)quitexitN)rre _sitebuiltinsZQuitterbuiltinsrprq)Zeofr r r setquit]s  rtcCstjdtjt_tjdddkr2tjddt_ntjddt_gg}}ttdrtj j tj }|j d d g|j tj j |tj|tjgtjd d ||t_dS) z)Set 'copyright' and 'credits' in builtins copyrightNZjavacreditsz?Jython is maintained by the Jython developers (www.jython.org).z Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information.rz LICENSE.txtZLICENSElicensez'See https://www.python.org/psf/license/)rrZ_PrinterrrursrZrwrPrrdirnamerextendrpardircurdirrx)Zfilesdirsherer r r setcopyrightms    rcCstjt_dS)N)rrZ_Helperrshelpr r r r sethelpersrcCsdd}|t_dS)ajEnable default readline configuration on interactive prompts, by registering a sys.__interactivehook__. If the readline module can be imported, the hook will set the Tab key as completion key and register ~/.python_history as history file. This can be overridden in the sitecustomize or usercustomize module, or in a PYTHONSTARTUP file. csddl}yddlddl}Wntk r0dSXtdd}|dk rZd|krZjdn jdy jWntk rYnXjdkrt j j t j j ddyj Wntk rYnXfd d }|j|dS) Nr__doc__Zlibeditzbind ^I rl_completez tab: complete~z.python_historyc s,yjWnttfk r&YnXdS)N)Zwrite_history_fileFileNotFoundErrorPermissionErrorr )historyreadliner r write_historyszCenablerlcompleter..register_readline..write_history)atexitr rlcompleter ImportErrorrZparse_and_bindZread_init_filerZget_current_history_lengthrrr expanduserZread_history_fileIOErrorregister)rrZ readline_docrr )rrr register_readlines.      z,enablerlcompleter..register_readlineN)rZ__interactivehook__)rr r r enablerlcompleters 0rc CsFtj}tjdkr$d|kr$tjd}ntj}tjjtjj|\}}tjj|}dt_ d}ddtjj ||tjj ||fD}|rB|d}d} t |dd `} xX| D]P} d | kr| j d \} }} | j j} | j } | d kr| j} q| d kr| t_ qWWdQRX|t_t_t|tjg| dkr6tjdtjn tjgad a|S)NrWZ__PYVENV_LAUNCHER__z pyvenv.cfgcSsg|]}tjj|r|qSr )rrisfile)rDZconffiler r r rEszvenv..rZtruezutf-8)encoding=zinclude-system-site-packagesZhomeF)rrfrrZ executablersplitrryZ_homerr- partitionstriplowerrh exec_prefixrnrdinsertr])renvrZexe_dirr%Z site_prefixZ conf_basenameZcandidate_confsZ virtual_confZ system_siter>r@keyvaluer r r venvs>        rcCsyBy ddl}Wn0tk r>}z|jdkr,nWYdd}~XnXWnRtk r}z6tjjrltjtjntj j d|j j |fWYdd}~XnXdS)z,Run custom site specific code, if available.rN sitecustomizez@Error in sitecustomize; set PYTHONVERBOSE for traceback: %s: %s ) rrr;r2rrNverbose excepthookr8r5write __class____name__)rexcerrr r r execsitecustomizes  rcCsyBy ddl}Wn0tk r>}z|jdkr,nWYdd}~XnXWnRtk r}z6tjjrltjtjntj j d|j j |fWYdd}~XnXdS)z,Run custom user specific code, if available.rN usercustomizez@Error in usercustomize; set PYTHONVERBOSE for traceback: %s: %s ) rrr;r2rrNrrr8r5rrr)rrrr r r execusercustomize s  rcCsftt}t|}tdkr"tat|}t|}ttt t j j sRt ttrbtdS)zAdd standard site-specific directories to the module search path. This function is called automatically when this module is imported, unless the python interpreter was started with the -S flag. N)rr!rr]rQr`rnrtrrrrNisolatedrrr)rr r r mainsrcCs`d}tjdd}|st}t}tdxtjD]}td|fq2Wtdtd|tjj|rfdndftd |tjj|rdndftd ttj d g}d |kr|j t d |kr|j t |r,ttj j|trtj d n6tdkr tj dn tdkr tj dn tj dn0d dl}t|j|tjd tj ftj ddS)Na %s [--user-base] [--user-site] Without arguments print some useful information With arguments print the value of USER_BASE and/or USER_SITE separated by '%s'. Exit codes with --user-base or --user-site: 0 - user site directory is enabled 1 - user site directory is disabled by user 2 - uses site directory is disabled by super user or for security reasons >2 - unknown error r+z sys.path = [z %r,]zUSER_BASE: %r (%s)r"z doesn't existzUSER_SITE: %r (%s)zENABLE_USER_SITE: %rrz --user-basez --user-siteFrcrb )rargvrUr\r3rrr^r]rqrrSrYpathseprtextwrapZdedent)rargsr[r_r bufferrr r r _script<s@           r__main__)N)N)N)#rrrrsrrrhrrdr]rYrSr rr!r&rBrIrQrUr\r`rmrnrtrrrrrrrrNno_siterrr r r r LsB   *  / ;43