ok
Direktori : /proc/self/root/proc/self/root/proc/self/root/lib/python2.7/site-packages/_markerlib/ |
Current File : //proc/self/root/proc/self/root/proc/self/root/lib/python2.7/site-packages/_markerlib/markers.pyo |
� >��Qc @ s� d Z d d d g Z d d l Z d d l Z d d l Z d d l Z d d l Z e Z y d d l m Z Wn/ e k r� e j d k r� d � Z q� � n Xi e j d 6d e j d d 6e j j d d � d d 6e j d 6e j � d 6e j � d 6e � d 6d d 6Z xC e e j � � D]/ Z d e k r!e e e e j d d � <q!q!Wd � Z d e j f d � � YZ d � Z d � Z e j � Z d � Z d d � Z d S( s� Interpret PEP 345 environment markers. EXPR [in|==|!=|not in] EXPR [or|and] ... where EXPR belongs to any of those: python_version = '%s.%s' % (sys.version_info[0], sys.version_info[1]) python_full_version = sys.version.split()[0] os.name = os.name sys.platform = sys.platform platform.version = platform.version() platform.machine = platform.machine() platform.python_implementation = platform.python_implementation() a free string, like '2.6', or 'win32' t default_environmentt compilet interpreti����N( t python_implementationt javac C s d S( Nt Jython( ( ( ( s6 /usr/lib/python2.7/site-packages/_markerlib/markers.pyR ! s s sys.platforms %s.%si t python_versiont i i t python_full_versions os.names platform.versions platform.machines platform.python_implementationt extrat .t _c C s t t � S( s2 Return copy of default PEP 385 globals dictionary.( t dictt _VARS( ( ( s6 /usr/lib/python2.7/site-packages/_markerlib/markers.pyR 8 s t ASTWhitelistc B s� e Z d � Z e j e j e j e j e j e j f Z e e j e j f 7Z e e j e j e j e j e j e j e j e j e j e j f 7Z d � Z d � Z RS( c C s | | _ d S( N( t statement( t selfR ( ( s6 /usr/lib/python2.7/site-packages/_markerlib/markers.pyt __init__= s c C sL t | | j � s9 t d | j d | j d f � � n t j j | | � S( s- Ensure statement only contains allowed nodes.s) Not allowed in environment markers. %s %sR t ^( t isinstancet ALLOWEDt SyntaxErrorR t col_offsett astt NodeTransformert visit( R t node( ( s6 /usr/lib/python2.7/site-packages/_markerlib/markers.pyR F s c C s8 t j d | j j | j f | j � } t j | | � S( s&