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
\οΏ½ οΏ½ @ sn d Z ddlZddlZddlZddlZdddgZdddοΏ½Zi addοΏ½ Zddd οΏ½Z dd
dοΏ½Z
dddοΏ½Zd
dοΏ½ ZdS )zοΏ½Cache lines from Python source files.
This is intended to read lines from modules imported -- hence if a filename
is not found, it will look down the module search path for a file by
that name.
οΏ½ NοΏ½getlineοΏ½
clearcacheοΏ½
checkcachec C s: t | |οΏ½}d| ko t|οΏ½kn r2||d S dS d S )NοΏ½ οΏ½ )οΏ½getlinesοΏ½len)οΏ½filenameοΏ½linenoοΏ½module_globalsοΏ½linesοΏ½ r
οΏ½!/usr/lib64/python3.6/linecache.pyr s
c C s i a dS )zClear the cache entirely.N)οΏ½cacher
r
r
r r s c C sR | t kr(t | }t|οΏ½dkr(t | d S y
t| |οΏ½S tk
rL tοΏ½ g S X dS )zοΏ½Get the lines for a Python source file from the cache.
Update the cache if it doesn't contain an entry for this file already.r οΏ½ N)r r οΏ½updatecacheοΏ½MemoryErrorr )r r οΏ½entryr
r
r r % s
r c C sοΏ½ | dkrt tjοΏ½ οΏ½}n| tkr&| g}ndS x~|D ]v} t| }t|οΏ½dkrJq0|\}}}}|dkr`q0ytj|οΏ½}W n tk
rοΏ½ t| = w0Y nX ||jksοΏ½||jkr0t| = q0W dS )zUDiscard cache entries that are out of date.
(This is not checked upon each call!)Nr ) οΏ½listr οΏ½keysr οΏ½osοΏ½statοΏ½OSErrorοΏ½st_sizeοΏ½st_mtime)r οΏ½ filenamesr οΏ½sizeοΏ½mtimer οΏ½fullnamer r
r
r r 5 s&