| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/ |
Upload File : |
ó
˙|_c @ sp d Z d d l Z d d l Z d d d g Z d d Z i a d Z d d Z d d Z d d
Z
d S( sľ Cache lines from 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.
i˙˙˙˙Nt getlinet
clearcachet
checkcachec C sE t | | } d | k o, t | k n r= | | d Sd Sd S( Ni t ( t getlinest len( t filenamet linenot module_globalst lines( ( s /usr/lib/python2.7/linecache.pyR
s "c C s
i a d S( s Clear the cache entirely.N( t cache( ( ( s /usr/lib/python2.7/linecache.pyR s c C s) | t k r t | d St | | Sd S( ss Get the lines for a file from the cache.
Update the cache if it doesn't contain an entry for this file already.i N( R
t updatecache( R R ( ( s /usr/lib/python2.7/linecache.pyR ! s c C sĐ | d k r t j } n | t k r3 | g } n d Sx | D] } t | \ } } } } | d k rl q>