/snap/core22/2411/usr/lib/python3.10/__pycache__
NameSizeModeActions
abc.cpython-310.pyc67510644editdlrm
aifc.cpython-310.pyc246850644editdlrm
antigravity.cpython-310.pyc8220644editdlrm
argparse.cpython-310.pyc635390644editdlrm
ast.cpython-310.pyc557390644editdlrm
asynchat.cpython-310.pyc70250644editdlrm
asyncore.cpython-310.pyc160020644editdlrm
base64.cpython-310.pyc171620644editdlrm
bdb.cpython-310.pyc258320644editdlrm
binhex.cpython-310.pyc128700644editdlrm
bisect.cpython-310.pyc25880644editdlrm
bz2.cpython-310.pyc108700644editdlrm
calendar.cpython-310.pyc263030644editdlrm
cgi.cpython-310.pyc267230644editdlrm
cgitb.cpython-310.pyc99980644editdlrm
chunk.cpython-310.pyc48600644editdlrm
cmd.cpython-310.pyc127070644editdlrm
code.cpython-310.pyc99570644editdlrm
codecs.cpython-310.pyc332190644editdlrm
codeop.cpython-310.pyc55950644editdlrm
colorsys.cpython-310.pyc32650644editdlrm
compileall.cpython-310.pyc127330644editdlrm
configparser.cpython-310.pyc454580644editdlrm
contextlib.cpython-310.pyc208950644editdlrm
contextvars.cpython-310.pyc2460644editdlrm
copy.cpython-310.pyc69960644editdlrm
copyreg.cpython-310.pyc46830644editdlrm
cProfile.cpython-310.pyc51130644editdlrm
crypt.cpython-310.pyc35500644editdlrm
csv.cpython-310.pyc117980644editdlrm
dataclasses.cpython-310.pyc265780644editdlrm
datetime.cpython-310.pyc565330644editdlrm
decimal.cpython-310.pyc3620644editdlrm
difflib.cpython-310.pyc589050644editdlrm
dis.cpython-310.pyc156560644editdlrm
doctest.cpython-310.pyc761750644editdlrm
enum.cpython-310.pyc260630644editdlrm
filecmp.cpython-310.pyc87490644editdlrm
fileinput.cpython-310.pyc140720644editdlrm
fnmatch.cpython-310.pyc42440644editdlrm
fractions.cpython-310.pyc186000644editdlrm
ftplib.cpython-310.pyc289770644editdlrm
functools.cpython-310.pyc283350644editdlrm
genericpath.cpython-310.pyc39070644editdlrm
getopt.cpython-310.pyc63390644editdlrm
getpass.cpython-310.pyc42100644editdlrm
gettext.cpython-310.pyc182210644editdlrm
glob.cpython-310.pyc58520644editdlrm
graphlib.cpython-310.pyc76160644editdlrm
gzip.cpython-310.pyc185460644editdlrm
hashlib.cpython-310.pyc68450644editdlrm
heapq.cpython-310.pyc138650644editdlrm
hmac.cpython-310.pyc69730644editdlrm
imaplib.cpython-310.pyc424320644editdlrm
imghdr.cpython-310.pyc39050644editdlrm
imp.cpython-310.pyc97860644editdlrm
inspect.cpython-310.pyc851530644editdlrm
io.cpython-310.pyc36630644editdlrm
ipaddress.cpython-310.pyc626700644editdlrm
keyword.cpython-310.pyc9270644editdlrm
linecache.cpython-310.pyc41420644editdlrm
locale.cpython-310.pyc461540644editdlrm
lzma.cpython-310.pyc121000644editdlrm
mailbox.cpython-310.pyc600910644editdlrm
mailcap.cpython-310.pyc73200644editdlrm
mimetypes.cpython-310.pyc176190644editdlrm
modulefinder.cpython-310.pyc161660644editdlrm
netrc.cpython-310.pyc39330644editdlrm
nntplib.cpython-310.pyc316230644editdlrm
ntpath.cpython-310.pyc147040644editdlrm
nturl2path.cpython-310.pyc17470644editdlrm
numbers.cpython-310.pyc118660644editdlrm
opcode.cpython-310.pyc54470644editdlrm
operator.cpython-310.pyc135080644editdlrm
optparse.cpython-310.pyc477540644editdlrm
os.cpython-310.pyc315990644editdlrm
pathlib.cpython-310.pyc420520644editdlrm
pdb.cpython-310.pyc474400644editdlrm
pickle.cpython-310.pyc468820644editdlrm
pickletools.cpython-310.pyc677600644editdlrm
pipes.cpython-310.pyc77690644editdlrm
pkgutil.cpython-310.pyc183610644editdlrm
platform.cpython-310.pyc274290644editdlrm
plistlib.cpython-310.pyc237650644editdlrm
poplib.cpython-310.pyc136700644editdlrm
posixpath.cpython-310.pyc105600644editdlrm
pprint.cpython-310.pyc178750644editdlrm
profile.cpython-310.pyc143910644editdlrm
pstats.cpython-310.pyc236210644editdlrm
pty.cpython-310.pyc41430644editdlrm
pyclbr.cpython-310.pyc97750644editdlrm
pydoc.cpython-310.pyc856450644editdlrm
py_compile.cpython-310.pyc73390644editdlrm
queue.cpython-310.pyc107920644editdlrm
quopri.cpython-310.pyc57940644editdlrm
random.cpython-310.pyc227480644editdlrm
re.cpython-310.pyc142270644editdlrm
reprlib.cpython-310.pyc52500644editdlrm
rlcompleter.cpython-310.pyc59540644editdlrm
runpy.cpython-310.pyc94110644editdlrm
sched.cpython-310.pyc61150644editdlrm
secrets.cpython-310.pyc21750644editdlrm
selectors.cpython-310.pyc171050644editdlrm
shelve.cpython-310.pyc94920644editdlrm
shlex.cpython-310.pyc77820644editdlrm
shutil.cpython-310.pyc385360644editdlrm
signal.cpython-310.pyc29350644editdlrm
site.cpython-310.pyc179220644editdlrm
sitecustomize.cpython-310.pyc2250644editdlrm
smtpd.cpython-310.pyc261470644editdlrm
smtplib.cpython-310.pyc357660644editdlrm
sndhdr.cpython-310.pyc69620644editdlrm
socket.cpython-310.pyc289630644editdlrm
socketserver.cpython-310.pyc253470644editdlrm
sre_compile.cpython-310.pyc151940644editdlrm
sre_constants.cpython-310.pyc63570644editdlrm
sre_parse.cpython-310.pyc217550644editdlrm
ssl.cpython-310.pyc452710644editdlrm
stat.cpython-310.pyc42730644editdlrm
statistics.cpython-310.pyc370510644editdlrm
string.cpython-310.pyc71020644editdlrm
stringprep.cpython-310.pyc170750644editdlrm
struct.cpython-310.pyc3070644editdlrm
subprocess.cpython-310.pyc447410644editdlrm
sunau.cpython-310.pyc164820644editdlrm
symtable.cpython-310.pyc128350644editdlrm
sysconfig.cpython-310.pyc181510644editdlrm
tabnanny.cpython-310.pyc69500644editdlrm
tarfile.cpython-310.pyc706740644editdlrm
telnetlib.cpython-310.pyc185060644editdlrm
tempfile.cpython-310.pyc273390644editdlrm
textwrap.cpython-310.pyc138120644editdlrm
this.cpython-310.pyc12640644editdlrm
threading.cpython-310.pyc449690644editdlrm
timeit.cpython-310.pyc117690644editdlrm
token.cpython-310.pyc27380644editdlrm
tokenize.cpython-310.pyc171940644editdlrm
trace.cpython-310.pyc198700644editdlrm
traceback.cpython-310.pyc217120644editdlrm
tracemalloc.cpython-310.pyc175250644editdlrm
tty.cpython-310.pyc10790644editdlrm
turtle.cpython-310.pyc1288570644editdlrm
types.cpython-310.pyc95250644editdlrm
typing.cpython-310.pyc852770644editdlrm
uu.cpython-310.pyc38670644editdlrm
uuid.cpython-310.pyc224980644editdlrm
warnings.cpython-310.pyc136460644editdlrm
wave.cpython-310.pyc175940644editdlrm
weakref.cpython-310.pyc203430644editdlrm
webbrowser.cpython-310.pyc170000644editdlrm
xdrlib.cpython-310.pyc78800644editdlrm
zipapp.cpython-310.pyc60130644editdlrm
zipfile.cpython-310.pyc618450644editdlrm
zipimport.cpython-310.pyc170330644editdlrm
_aix_support.cpython-310.pyc28790644editdlrm
_bootsubprocess.cpython-310.pyc22940644editdlrm
_collections_abc.cpython-310.pyc329250644editdlrm
_compat_pickle.cpython-310.pyc58720644editdlrm
_compression.cpython-310.pyc45120644editdlrm
_distutils_system_mod.cpython-310.pyc54220644editdlrm
_markupbase.cpython-310.pyc75720644editdlrm
_osx_support.cpython-310.pyc115350644editdlrm
_pydecimal.cpython-310.pyc1577360644editdlrm
_pyio.cpython-310.pyc736540644editdlrm
_py_abc.cpython-310.pyc46830644editdlrm
_sitebuiltins.cpython-310.pyc35470644editdlrm
_strptime.cpython-310.pyc159450644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-310.pyc353850644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-310.pyc353790644editdlrm
_threading_local.cpython-310.pyc65390644editdlrm
_weakrefset.cpython-310.pyc76080644editdlrm
__future__.cpython-310.pyc41310644editdlrm
__phello__.foo.cpython-310.pyc1300644editdlrm
Edit: /snap/core22/2411/usr/lib/python3.10/__pycache__/site.cpython-310.pyc (17922B)
o `wis\@s.dZddlZddlZddlZddlZddlZejejgada da da ddZ ddZ ddZd d Zd d Zd dZd4ddZddZddZddZddZddZddZd4ddZd4dd Zd!d"Zd#d$Zd%d&Zd'd(Zd)d*Zd+d,Z d-d.Z!d/d0Z"ej#j$se"d1d2Z%e&d3kre%dSdS)5a 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. NcCstjjr t|tjddSdS)Nfile)sysflagsverboseprintstderr)messager /usr/lib/python3.10/site.py_traceasr cGs@tjj|}ztj|}Wn tyYnw|tj|fSN)ospathjoinabspathOSErrornormcase)pathsdirr r r makepathfs  rc CsttjD]W}d}z|jj}Wnty+z|jjj}Wn ty(YnwYnw|dvr1qz t j |j |_ Wn tt tfyGYnwz t j |j|_Wqtt tfy^YqwdS)zESet all module __file__ and __cached__ attributes to an absolute pathN>_frozen_importlib_frozen_importlib_external)setrmodulesvalues __loader__ __module__AttributeError__spec__loaderrrr__file__r TypeError __cached__)m loader_moduler r r abs_pathsos2   r&cCsPg}t}tjD]}t|\}}||vr||||q|tjdd<|S)zK Remove duplicate entries from sys.path along with making them absoluteN)rrrrappendadd)L known_pathsrdircaser r r removeduppathss    r,c CsNt}tjD]}ztj|rt|\}}||Wqty$Yqw|S)zEReturn a set containing all existing file system items from sys.path.)rrrrexistsrr(r")ditem_itemcaser r r _init_pathinfos     r2c Cs|dur t}d}nd}tj||}td|z tjt|dd}Wn ty0YdSw|t |D]z\}}| drBq8| dkrIq8z-| d rUt |Wq8| }t||\}} | |vrutj|rutj||| Wq8tytd |d |tjd d dl} | jtD]} | D] }td|tjd qqtdtjd YnwWdn1swY|rd}|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 '. NTFzProcessing .pth file: localeencoding#)zimport zimport z"Error processing line {:d} of {}: rrz z Remainder of file ignored)r2rrrr io TextIOWrapper open_coder enumerate startswithstripexecrstriprr-rr'r( Exceptionrformatr tracebackformat_exceptionexc_info splitlines) sitedirnamer*resetfullnamefnlinerr+rCrecordr r r addpackagesX        rOcCstd||durt}d}nd}t|\}}||vr(tj|||zt|}Wn t y9YdSwdd|D}t |D]}t |||qE|rRd}|S)zTAdd 'sitedir' argument to sys.path if missing and handle .pth files in 'sitedir'zAdding directory: NTFcSsg|] }|dr|qS)z.pth)endswith).0rHr r r szaddsitedir..) r r2rrrr'r(rlistdirrsortedrO)rGr*rI sitedircasenamesrHr r r addsitedirs(     rWcCs`tjjrdSttdrttdrttkrdSttdr.ttdr.ttkr.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) rr no_user_sitehasattrrrYrXr[rZr r r r check_enableusersites r^cCstjdd}|r |StjdkrdSdd}tjdkr(tjdp"d}||dStjd kr?tjr?|dd tjd tjdd S|dd S)NPYTHONUSERBASEvxworkscWstjtjj|Sr )rr expanduserr)argsr r r joinusersz_getuserbase..joinuserntAPPDATA~PythondarwinLibraryz%d.%dz.local)renvirongetrplatformrH _framework version_info)env_basercbaser r r _getuserbases     rrcCsftj}tjdkrtjdd}|d|dStjdkr$tjr$|dS|d|d d|d d S) Nrd.r7z\Pythonz\site-packagesrhz/lib/python/site-packagesz /lib/pythonrr8z/site-packages)rrorrHwinverreplacermrn)userbaseversion ver_nodotr r r _get_path&s  rycCstdurtatS)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. N) USER_BASErrr r r r getuserbase3sr{cCs*t}tdur|durdatSt|atS)zReturns the user-specific site-packages directory path. If the global variable ``USER_SITE`` is not initialized yet, this function will also set it. NF)r{ USER_SITEENABLE_USER_SITEry)rvr r r getusersitepackages@sr~cCs,tdt}trtj|rt|||S)zAdd a per user site-package to sys.path Each user has its own python directory with site-packages in the home directory. zProcessing user site-packages)r r~r}rrisdirrW)r* user_siter r r addusersitepackagesQs  rc CsDg}t}|dur t}tjtjkpttd}|D]}|r ||vr!q||tjg}tjdkr4|dt j dkr|rN|t j |ddtj ddd|t j |ddtj ddd |t j |dd d |D]}t j ||dtj ddd }||qoq|||D]}t j ||d}||qq|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 real_prefixlib/z python%d.%drjz site-packagesz local/libz dist-packagespython3)rPREFIXESr base_prefixprefixr]r( platlibdirr'rseprrro)prefixes sitepackagesseenis_virtual_environmentrlibdirslibdirrr r r getsitepackages`sN         rcCs0tdt|D] }tj|rt||q|S)zAdd site-packages to sys.pathzProcessing global site-packages)r rrrrrW)r*rrGr r r addsitepackagess    rcCs4tjdkrd}nd}td|t_td|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)rr _sitebuiltinsQuitterbuiltinsrr)eofr r r setquits rcCstdtjt_tjdddkrtddt_ntddt_gg}}ttdrGtj tj }| d d g| tj |tj|tjgtd d ||t_dS) z)Set 'copyright' and 'credits' in builtins copyrightNjavacreditsz?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.r!z LICENSE.txtLICENSElicensez'See https://www.python.org/psf/license/)r_Printerrrrrmrr]rrdirnamer!extendrpardircurdirr)filesdirsherer r r setcopyrights"   rcCstt_dSr )r_Helperrhelpr 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}z ddlddl}Wn tyYdSwtdd}|dur-d|vr-dndzWn tyAYnwdkrrt j t j ddz Wn tycYnwfd d }||dSdS) Nr__doc__r7libeditzbind ^I rl_completez tab: completerfz.python_historycs&zWdStyYdSwr )write_history_filerr historyreadliner r write_historys  zCenablerlcompleter..register_readline..write_history)atexitr rlcompleter ImportErrorgetattrparse_and_bindread_init_filerget_current_history_lengthrrrraread_history_fileregister)rr readline_docrr rr register_readlines8         z,enablerlcompleter..register_readlineN)r__interactivehook__)rr r r enablerlcompleters 0rcCsZtj}tjdkrd|vrtjd}t_ntj}tjtj|\}}tj |}dt_ d}ddtj ||tj ||fD}|r|d}d} t |dd 3} | D](} d | vr{| d \} }} | } | } | d krt| } qS| d kr{| t_ qSWdn1swY|t_t_t|tjg| dkrtdtj|Stjgad a|S)Nrh__PYVENV_LAUNCHER__z pyvenv.cfgcSsg|] }tj|r|qSr )rrisfile)rQconffiler r r rR s  zvenv..rtruezutf-8r4=zinclude-system-site-packageshomeF)rrkrrm_base_executable executablersplitrr_homeropen partitionr>lowerr exec_prefixrrinsertr})r*envrexe_dirr0 site_prefix conf_basenamecandidate_confs virtual_conf system_siterKrMkeyvaluer r r venvsJ      rc Cz$zddl}WWdSty$}z|jdkrnWYd}~WdSd}~wwtyV}z&tjjr8tjtntj d|j j |fWYd}~dSWYd}~dSd}~ww)z,Run custom site specific code, if available.rN sitecustomizez@Error in sitecustomize; set PYTHONVERBOSE for traceback: %s: %s ) rrrHrArrr excepthookrErwrite __class____name__)rexcerrr r r execsitecustomize4*  rc Cr)z,Run custom user specific code, if available.rN usercustomizez@Error in usercustomize; set PYTHONVERBOSE for traceback: %s: %s ) rrrHrArrrrrErrrr)rrrr r r execusercustomizeHrrcCstjdd}t}|tjkrtt|}tdurtat|}t|}t t t tj j s5tttr?tdSdS)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)rrr,r&rr}r^rrrrrrisolatedrrr) orig_pathr*r r r main\s$  rcCs\d}tjdd}|sPt}t}tdtjD] }td|fqtddd}td|d ||d td |d ||d td ttd g}d|vr[|t d|vrd|t |rtt j |trwtd dStdurtddStdurtddStddSd dl}t||tjd t j ftddS)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 - user site directory is disabled by super user or for security reasons >2 - unknown error r8z sys.path = [z %r,]cSs|dur tj|r dSdS)Nr-z doesn't exist)rrr)rr r r r-sz_script..existsz USER_BASE: z ()z USER_SITE: zENABLE_USER_SITE: rz --user-basez --user-siteFrj )rargvr{r~rrr}rr'rzr|rpathseprtextwrapdedent)rrb user_baserrr-bufferrr r r _script~s>    r__main__r )'rrrrrr9rrrr}r|rzr rr&r,r2rOrWr^rrryr{r~rrrrrrrrrrrrno_siterrr r r r sNM   /     1 ;46