| Server IP : 104.21.4.30 / Your IP : 104.23.197.167 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.7/compiler/ |
Upload File : |
�
xFWgc @ 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&