| 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/compiler/ |
Upload File : |
ó
—|_c @ sÑ d Z d d l m Z m Z d „ Z d d
d „ ƒ YZ d d d „ ƒ YZ d „ Z e d k rÍ d d
l Z d d l m
Z
m Z xH e j d D]6 Z e GHe
e ƒ Z
e ƒ Z e e
e ƒ e j GHHq Wn d
S( s Parser for future statements
iÿÿÿÿ( t astt walkc C s1 t | t j ƒ s d S| j d k r) d Sd Sd S( s: Return true if statement is a well-formed future statementi t
__future__i N( t
isinstanceR t Fromt modname( t stmt( ( s% /usr/lib/python2.7/compiler/future.pyt is_future s
t FutureParserc B s2 e Z d Z d „ Z d „ Z d „ Z d
„ Z RS( t
nested_scopest
generatorst divisiont absolute_importt with_statementt print_functiont unicode_literalsc C s
i | _ d S( N( t found( t self( ( s% /usr/lib/python2.7/compiler/future.pyt __init__ s c C s4 | j } x$ | j D] } | j | ƒ s Pq q Wd S( N( t nodet nodest
check_stmt( R R R t s( ( s% /usr/lib/python2.7/compiler/future.pyt visitModule s c C sc t | ƒ r_ xC | j D]8 \ } } | | j k rA d | j | <q t d | ‚ q Wd | _ d Sd S( Ni s future feature %s is not definedi ( R t namest featuresR t SyntaxErrort valid_future( R R t namet asname( ( s% /usr/lib/python2.7/compiler/future.pyR s c C s
| j j ƒ S( s4 Return list of features enabled by future statements( R t keys( R ( ( s% /usr/lib/python2.7/compiler/future.pyt get_features+ s ( R R
R R R
R R ( t __name__t
__module__R R R R R ( ( ( s% /usr/lib/python2.7/compiler/future.pyR s t BadFutureParserc B s e Z d Z d „ Z RS( s# Check for invalid future statementsc C s= t | d ƒ r d S| j d k r&