
NWc           @@  s  d  d l  m Z d  d l Z e j d e d e d e d e d e d e d	 e d
 e d e d e d e  d  d l Z d  d l Z d  d l Z d  d l Z d  d l	 Z	 d  d l
 m Z d  d l m Z d  d l m Z d  d l m Z y d  d l Z Wn e k
 rd  d l Z n Xd d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z y d  d l m  Z  Wn! e k
 rd  d l! m" Z  n Xe j# d d f k  Z$ i d d  f d! 6d" d  f d# 6d" d  f d 6d" d$ f d% 6d" d& f d' 6Z% i d( d) 6Z& d* d+ g Z' e( d, d- d. d/ d0 d1 d2 d3 d4 d5 d6 d7 d8 g  Z) i d9 d: 6j* Z+ e j, d;  j- Z. d<   Z/ d= e f d>     YZ0 d? e0 f d@     YZ1 e2 e2 dA  Z3 dB e1 f dC     YZ4 dD e0 f dE     YZ5 dF e f dG     YZ6 dH e f dI     YZ7 dJ e f dK     YZ8 e j dL e dM e dN e dO e  e j, dP j9 dQ  e j:  j- Z; e j, dP j< dR   j- Z= e j, dS  j> Z? e j, dT  j@ ZA dU e f dV     YZB dW e f dX     YZC dY e f dZ     YZD d[   ZE d\ e f d]     YZF d^ e f d_     YZG d` e f da     YZH db e f dc     YZI dd e f de     YZJ d S(f   i    (   t   absolute_importNt   ost   ret   operatort   Namingt   Optionst   StringEncodingt   Utilst   SourceDescriptort   StringIOTreet
   DebugFlagst
   basestring(   t   Template(   t   partial(   t   closing(   t   defaultdicti   (   R   (   R   (   R
   (   R   (   t   Versioni   (   R   (   R   (   R	   (   R   (   t   stri   s   PY_MAJOR_VERSION < 3R   t   bytess   PY_MAJOR_VERSION >= 3t   unicodet   ranget   xranget   inputt	   raw_inputt   PyHeapTypeObjectt   PyTypeObjectt   WindowsErrort   _t	   __cinit__t   __dealloc__t   __richcmp__t   __next__t	   __await__t	   __aiter__t	   __anext__t   __getreadbuffer__t   __getwritebuffer__t   __getsegcount__t   __getcharbuffer__t   __getbuffer__t   __releasebuffer__t   CYTHON_INLINEt   inlines    *(\w+) = (\1);\s*$c          C@  s=   t  j j t  j j t  j j t    }  t  j j |  d  S(   Nt   Utility(   R   t   patht   dirnamet   abspatht   __file__t   join(   t
   Cython_dir(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_utility_dirQ   s    *t   UtilityCodeBasec           B@  s   e  Z d  Z e Z d
 Z i  Z e d
 d   Z	 e d    Z
 e d
 d   Z e d
 i  d   Z e d
 d   Z e j d  j d  Z d   Z d	   Z RS(   s  
    Support for loading utility code from a file.

    Code sections in the file can be specified as follows:

        ##### MyUtility.proto #####

        [proto declarations]

        ##### MyUtility.init #####

        [code run at module initialization]

        ##### MyUtility #####
        #@requires: MyOtherUtility
        #@substitute: naming

        [definitions]

    for prototypes and implementation respectively.  For non-python or
    -cython files backslashes should be used instead.  5 to 30 comment
    characters may be used on either side.

    If the @cname decorator is not used and this is a CythonUtilityCode,
    one should pass in the 'name' keyword argument to be used for name
    mangling of such entries.
    c         C@  s  | d  k r d  Sd j |  } | r d | k r | d t d g  k r | d =y t |  j t t   } Wq t t f k
 r } t	 d | | | f   q Xn  d | | } | d k r | | d <no | j
 d  r | | d <| d | d	 <nE | d
 k r| | d <n, | d } t r4| j d  } n  | | | <| r| d } xQ | j   D]@ \ }	 }
 t r|	 j d  }	 n  | j |	 t    j |
  q[Wn  d  S(   Ns   
t
   substitutet   namings@   Error parsing templated utility code of type '%s' at line %d: %st   protoi    s   proto.i   i   t   impli   i   t   ASCII(   t   NoneR0   t   setR   R4   t   varsR   t   KeyErrort
   ValueErrort   RuntimeErrort
   startswitht   KEYWORDS_MUST_BE_BYTESt   encodet   itemst
   setdefaultt   update(   t   clst   utilityt   typet   linest   begin_linenot   tagst   codet   et   all_tagst   namet   values(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   _add_utilityy   s8    +



c         C@  s  |  j  j |  } | r | St j j t   |  } t j j |  \ } } | d k r d } t t j	 d  j
 d  } t j j } n< d } t t j	 d	  j
 d  } t t j	 d
  j
 d  } t j	 d i | d 6 j }	 t j	 d  j }
 t t j | d d   } | j   } Wd  QXt d    } g  } t t  } d  } } d } xt |  D] \ } } |	 |  } | r;| j d  r|  j | | | | |  | d } | 2| j   | j d  } |
 |  } | r| j   \ } } n d } | | } qT| | j d  j | j d   | j d  qa| j | | |    qaW| d  k rst d   n  |  j | | | | |  t |  } | |  j  | <| S(   Ns   .pyxs   .pys   .pxds   .pxit   #s   ^\s*#.*t    t   /s   ^\s*//.*|/\*[^*]*\*/s	   \s+(\\?)$s   \1sd   ^%(C)s{5,30}\s*(?P<name>(?:\w|\.)+)\s*%(C)s{5,30}|^%(C)s+@(?P<tag>\w+)\s*:\s*(?P<value>(?:\w|[.:])+)t   Cs,   (.+)[.](proto(?:[.]\S+)?|impl|init|cleanup)$t   encodings   UTF-8c           S@  s   d  d  d  i  g S(   N(   R9   (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   <lambda>   s    i    RN   i   R7   t   tagt   values   Empty utility code file(   s   .pyxs   .pys   .pxds   .pxi(   t   _utility_cachet   getR   R,   R0   R2   t   splitextR   R   t   compilet   subR   t   _unicodet   rstript   matchR   R   t   open_source_filet	   readlinesR   R:   R9   t	   enumeratet   groupRP   t   cleart   groupst   addt   appendR=   t   dict(   RE   R,   t	   utilitiest   filenameR   t   extt   commentt   strip_commentsR_   t   match_specialt
   match_typet   ft	   all_linesRH   RJ   RF   RG   RI   t   linenot   linet   mRN   t   mtype(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   load_utilities_from_file   s\    


#c      	   K@  s  d | k r' | j  d d  \ } } n  | s\t   } | d } y t j |  } Wn t k
 r d d l } t } | j }	 t | j	 |	   P }
 g  |
 j
   D]6 } t j j |	 |  j |  r t j j |  ^ q } Wd QXn Xg  | D] } | j |  r | ^ q } | s*t d |   n  t |  d k rOt d |   n  | d } n  |  j |  } | | \ } } } } | rn| j   } x | j   D] \ } } | | k rqn  | d k r/| rg  t |  D] } |  j | | |  ^ q} q]g  t |  D] } |  j | |  ^ q} n. | s>d } n t |  d k r]| d } n  | | | <qWn  | d k	 r| | d	 <n  | d k	 r| | d
 <n  | d k	 r| | d <n  d | k r| | d <n  d | k r| r| | d <n  |  |   S(   s  
        Load utility code from a file specified by from_file (relative to
        Cython/Utility) and name util_code_name.  If from_file is not given,
        load it from the file util_code_name.*.  There should be only one
        file matched by this pattern.
        s   ::i   t   .i    Ns    No match found for utility code s4   More than one filename match found for utility code t   requiresR6   t   proto_blockR7   RN   t   file(   t   rsplitR2   R   t   listdirt   OSErrort   zipfilet
   __loader__t   archiveR   t   ZipFilet   namelistR,   R0   R?   t   basenameR=   t   lenRw   t   copyRB   t   sortedt   loadt   load_cachedR9   (   RE   t   util_code_namet	   from_filet   kwargst   utility_dirt   prefixt   listingR   t   loaderR   t   fileobjRN   Rk   t   filesRj   R6   Rz   R7   RJ   t   orig_kwargsRO   t   dep(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR      sf    	
	@.+	c         C@  sM   |  | | f } y | | SWn t  k
 r. n X|  j | |  } | | <| S(   s`   
        Calls .load(), but using a per-type cache based on utility name and file name.
        (   R<   R   (   RE   t   utility_code_nameR   t   _UtilityCodeBase__cachet   keyRK   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   %  s    c         K@  sD   |  j  | | |  } | j | j } } | j |  | j |  f S(   sR   
        Load a utility code as a string. Returns (proto, implementation)
        (   R   R6   R7   t   format_code(   RE   R   R   R   t   utilR6   R7   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   load_as_string2  s    s   \n\n+c         C@  s&   | r" | d | j     d } n  | S(   s3   
        Format a code section for output.
        s   
s   

(   t   strip(   t   selft   code_stringt   replace_empty_lines(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   ;  s    c         C@  s   d t  |   j |  j f S(   Ns   <%s(%s)>(   RG   t   __name__RN   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   __str__C  s    c         K@  s   d  S(   N(    (   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_treeF  s    N(   R   t
   __module__t   __doc__t   Falset   is_cython_utilityR9   Ry   RY   t   classmethodRP   Rw   R   R   R   R   R\   R]   R   R   R   (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR3   X   s    $@F	t   UtilityCodec        	   B@  sz   e  Z d  Z d d d d d d d d d  Z d   Z d   Z d   Z d d  Z d   Z	 d   Z
 d	   Z d
   Z RS(   sE  
    Stores utility code to add during code generation.

    See GlobalState.put_utility_code.

    hashes/equals by instance

    proto           C prototypes
    impl            implemenation code
    init            code to call on module initialization
    requires        utility code dependencies
    proto_block     the place in the resulting file where the prototype should
                    end up
    name            name of the utility code (or None)
    file            filename of the utility code file this utility was loaded
                    from (or None)
    t   utility_code_protoc	   	      C@  s^   | |  _  | |  _ | |  _ | |  _ | |  _ i  |  _ g  |  _ | |  _ | |  _ | |  _	 d  S(   N(
   R6   R7   t   initt   cleanupRy   t   _cachet   specialize_listRz   RN   R{   (	   R   R6   R7   R   R   Ry   Rz   RN   R{   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   __init__]  s    									c         C@  s   t  |  j |  j f  S(   N(   t   hashR6   R7   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   __hash__k  s    c         C@  s   |  | k r t  St |   t |  } } | | k	 rX t | |  pP t |  |  rX t St |  d d   } t | d d   } | |  j f | | j f k S(   NR6   (   t   TrueRG   t
   isinstanceR   t   getattrR9   R7   (   R   t   othert	   self_typet
   other_typet
   self_protot   other_proto(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   __eq__n  s    +c         C@  s   | d k r d S| | S(   sY   
        Format a string in this utility code with context. If None, do nothing.
        N(   R9   (   R   t   st   context(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   none_or_suby  s    c         K@  s!  | d  k	 r/ | j   | d <| j   | d <n  t t | j     } y |  j | SWn t k
 r|  j d  k r~ d  } n% g  |  j D] } | j	 |  ^ q } t
 |  j |  j |  |  j |  j |  |  j |  j |  |  j |  j |  | |  j  } |  j | <|  j j |  | SXd  S(   NRG   t	   type_name(   R9   t   empty_declaration_codet   specialization_namet   tupleR   RB   R   R<   Ry   t
   specializeR   R   R6   R7   R   R   Rz   R   Rh   (   R   t
   pyrex_typet   dataR   Ry   t   rR   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s&    	%c         @  se   d | k r t  | f Si      f d   } t j d | |  } d | k sU t  t   | f S(   sH   Replace 'PYIDENT("xyz")' by a constant Python identifier cname.
        s   PYIDENT(c         @  sX   |  j  d  } y  | } Wn4 t k
 rS   j t j |   j }  | <n X| S(   Ni   (   Rd   R<   t   get_interned_identifierR   t   EncodedStringt   cname(   t   matchobjRN   R   (   t   outputt   replacements(    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   externalise  s    !s   PYIDENT\("([^"]+)"\)(   R   R   R]   t   AssertionErrort   bool(   R   R7   R   R   (    (   R   R   s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   inject_string_constants  s    
	c         @  s   d | k r t  | f St       f d   } t j d | |  } d | k sX t  x- t   D] }   j t j | d   qe Wt	   | f S(   sV   Replace 'UNBOUND_METHOD(type, "name")' by a constant Python identifier cname.
        s   CALL_UNBOUND_METHOD(c         @  s   |  j    \ } } } g  | d j d  D] } | j   ^ q) } t |  d k ri d }  j d  n: t |  d k r d }  j d  n t s t d     j | | t |   } d	 | | d
 j |  f S(   Ni   t   ,t   __Pyx_CallUnboundCMethod0t   CallUnboundCMethod0i   t   __Pyx_CallUnboundCMethod1t   CallUnboundCMethod1s4   CALL_UNBOUND_METHOD() requires 1 or 2 call argumentss   %s(&%s, %s)s   , (	   Rf   t   splitR   R   Rg   R   R   t   get_cached_unbound_methodR0   (   R   t
   type_cnamet   method_namet   argst   argt   callR   (   R   t   utility_code(    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    ,sA   CALL_UNBOUND_METHOD\(([a-zA-Z_]+),\s*"([^"]+)"((?:,\s*[^),]+)+)\)s   ObjectHandling.c(
   R   R:   R   R]   R   R   t   use_utility_codeR   R   R   (   R   R7   R   R   t   helper(    (   R   R   s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   inject_unbound_methods  s    
	c         C@  sD   d | k r | Sd   } t  j d | |  } d | k s@ t  | S(   s<   Replace CSTRING('''xyz''') by a C compatible string
        s   CSTRING(c         S@  s8   |  j  d  j d d  } d j d   | j   D  S(   Ni   t   "RR   c         s@  sF   |  ]< } | j  d   s( | j  d  r2 d | n d | d  Vq d S(   s   \s   \\s   "%s\n"
s   "%s"
iN(   t   endswith(   t   .0Rt   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pys	   <genexpr>  s   (   Rd   t   replaceR0   t
   splitlines(   R   t   content(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   split_string  s    s)   CSTRING\(\s*"""([^"]*(?:"[^"]+)*)"""\s*\)(   R   R]   R   (   R   R7   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   wrap_c_strings  s    	c         C@  s5  |  j  r- x! |  j  D] } | j |  q Wn  |  j r} | |  j } | j d |  j  | j |  j |  j  d |  j  n  |  j r%|  j |  j	 |  j   } |  j
 | |  \ } } |  j | |  \ } } | d } | j d |  j  | p | s| j | d |  j  q%| j |  n  |  j r| d } | j d |  j  t |  j t  rz| j |  j |  j   n |  j | | j  | j | j | j   | j   n  |  j r1t j r1| d } | j d	 |  j  t |  j t  r| j |  j |  j  d
 |  j  q1|  j | | j  n  d  S(   Ns   /* %s.proto */s   %s_protot   utility_code_defs   /* %s */s   %s_implt   init_globalss   /* %s.init */t   cleanup_globalss   /* %s.cleanup */s
   %s_cleanup(   Ry   R   R6   Rz   t   putlnRN   t   put_or_includeR   R7   R   R   R   t   putR   R   R   t
   module_post   error_goto_if_PyErrR   R   t   generate_cleanup_code(   R   R   t
   dependencyt   writerR7   t   is_specialised1t   is_specialised2(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_code  sB    		 	
	

N(   R   R   R   R9   R   R   R   R   R   R   R   R   R   (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   J  s   						c         C@  sW   |  s
 d S| r' d | | f | d <n | r: | | d <n  d d l m } | |  |  S(   s+   Run tempita on string s with given context.s   %s:%st   __namei   (   R]   N(   R9   t   TempitaR]   (   R   R   R{   RN   R]   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   sub_tempita  s    t   TempitaUtilityCodec           B@  sD   e  Z d d d d d d d   Z e d d i  d   Z d   Z RS(   c      
   K@  s   | d  k r i  } n  t | | | |  } t | | | |  } t | | | |  } t t |   j | | d | d | d | | d  S(   NR   RN   R{   (   R9   R   t   superR   R   (   R   RN   R6   R7   R   R{   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    	c         C@  s   | r t  t | j     n d  } t |  d  k	 s< t  |  | | | f } y | | SWn t k
 rm n X|  j | | d | } | | <| S(   NR   (   R   R   RB   R9   R   R   R<   R   (   RE   R   R   R   t   _TempitaUtilityCode__cachet   context_keyR   RK   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    $ c         C@  s)   | d k r d St | | |  j |  j  S(   sY   
        Format a string in this utility code with context. If None, do nothing.
        N(   R9   R   R{   RN   (   R   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   '  s    N(   R   R   R9   R   R   R   R   (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s   	t   LazyUtilityCodec           B@  s&   e  Z d  Z d Z  d   Z d   Z RS(   s   
    Utility code that calls a callback with the root code writer when
    available. Useful when you only have 'env' but not 'code'.
    s   <lazy>c         C@  s   | |  _  d  S(   N(   t   callback(   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   7  s    c         C@  s#   |  j  | j  } | j |  d  S(   N(   R   t
   rootwriterR   (   R   t   globalstateRF   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   :  s    (   R   R   R   R   R   (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   0  s   	t   FunctionStatec           B@  s   e  Z e   d d   Z d d  Z d   Z d   Z d   Z d   Z	 d   Z
 d   Z d   Z d	   Z d
   Z d   Z e d  Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z RS(   c         C@  s   | |  _  | |  _ | |  _ d  |  _ d |  _ t   |  _ |  j   |  _	 |  j
   d  |  _ d  |  _ g  |  _ d |  _ d  |  _ t |  _ t |  _ g  |  _ i  |  _ i  |  _ d |  _ d  |  _ g  |  _ t |  _ t |  _ d  S(   Ni    (   t   names_takent   ownert   scopeR9   t   error_labelt   label_counterR:   t   labels_usedt	   new_labelt   return_labelt   new_error_labelt   continue_labelt   break_labelt   yield_labelst   in_try_finallyt   exc_varsR   t	   can_traceR   t	   gil_ownedt   temps_allocatedt
   temps_freet   temps_used_typet   temp_countert   closure_tempst   collect_temps_stackt   should_declare_error_indicatort   uses_error_indicator(   R   R  R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   L  s.    					
														c         C@  sJ   |  j  } | d |  _  d t j | f } | d  k	 rF | d | 7} n  | S(   Ni   s   %s%dR   (   R  R   t   label_prefixR9   (   R   RN   t   nt   label(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  r  s    	c         C@  s<   |  j  d  } t |  j  d | f } |  j j |  | S(   Nt   resume_from_yieldi   (   R  R   R  Rh   (   R   R  t   num_and_label(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   new_yield_labelz  s    c         C@  s   |  j  } |  j d  |  _  | S(   Nt   error(   R  R  (   R   t   old_err_lbl(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    	c         C@  s   |  j  |  j f S(   N(   R	  R
  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_loop_labels  s    c         C@  s   | \ |  _  |  _ d  S(   N(   R	  R
  (   R   t   labels(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   set_loop_labels  s    c         C@  s5   |  j    } |  j |  j d  |  j d  f  | S(   Nt   continuet   break(   R   R"  R  (   R   t
   old_labels(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   new_loop_labels  s
    c         C@  s   |  j  |  j |  j |  j f S(   N(   R	  R
  R  R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_all_labels  s    c         C@  s"   | \ |  _  |  _ |  _ |  _ d  S(   N(   R	  R
  R  R  (   R   R!  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   set_all_labels  s    c         C@  s{   |  j    } g  } xU t | d d d d g  D]8 \ } } | rY | j |  j |   q. | j |  q. W|  j |  | S(   NR#  R$  t   returnR  (   R'  t   zipRh   R  R(  (   R   R%  t
   new_labelst	   old_labelRN   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   all_new_labels  s    (c         C@  s   |  j  j |  d  S(   N(   R  Rg   (   R   t   lbl(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt	   use_label  s    c         C@  s   | |  j  k S(   N(   R  (   R   R.  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt
   label_used  s    c         C@  sq  | j  r | j r | j } n | j r> | j r> | j } n  | j r[ | j r[ t } n  |  j j	 | | f  } | d k	 r | d r | d j   } | d j |  na xB t r |  j d 7_ d t j |  j f } | |  j k r Pq q W|  j j | | | | f  | | f |  j | <t j rG|  j j d | | f  n  |  j rm|  j d j | | f  n  | S(   s  
        Allocates a temporary (which may create a new one or get a previously
        allocated and released one of the same type). Type is simply registered
        and handed back, but will usually be a PyrexType.

        If type.is_pyobject, manage_ref comes into play. If manage_ref is set to
        True, the temp will be decref-ed on return statements and in exception
        handling clauses. Otherwise the caller has to deal with any reference
        counting of the variable.

        If not type.is_pyobject, then manage_ref will be ignored, but it
        still has to be passed. It is recommended to pass False by convention
        if it is known that type will never be a Python object.

        static=True marks the temporary declaration with "static".
        This is only used when allocating backing store for a module-level
        C array literals.

        A C string referring to the variable is returned.
        i    i   s   %s%ds   /* %s allocated (%s) */iN(   t   is_constt   is_referencet   const_base_typet   is_fake_referencet   ref_base_typet   is_pyobjectt   is_memoryviewsliceR   R  RZ   R9   t   popt   removeR   R  R   t   codewriter_temp_prefixR   R  Rh   R  R
   t   debug_temp_code_commentsR  R   R  Rg   (   R   RG   t
   manage_reft   statict   freelistt   result(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   allocate_temp  s,    		 		c         C@  s   |  j  | \ } } |  j j | | f  } | d k r\ g  t   f } | |  j | | f <n  | | d k r t d |   n  | d j |  | d j |  t j	 r |  j
 j d |  n  d S(   sv   
        Releases a temporary so that it can be reused by other code needing
        a temp of the same type.
        i   s   Temp %s freed twice!i    s   /* %s released */N(   R  R  RZ   R9   R:   R>   Rh   Rg   R
   R;  R  R   (   R   RN   RG   R<  R>  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   release_temp  s    	c         C@  s   g  } xs |  j  D]h \ } } } } |  j j | | f  } | d k sV | | d k r | j | | | on | j f  q q W| S(   sx   Return a list of (cname,type,manage_ref) tuples of temp names and their type
        that are currently in use.
        i   N(   R  R  RZ   R9   Rh   R6  (   R   t   usedRN   RG   R<  R=  R>  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   temps_in_use  s    &c         C@  s;   g  |  j    D]* \ } } } | r | j r | | f ^ q S(   s   Return a list of (cname,type) tuples of temp names and their type
        that are currently in use. This includes only temps of a
        Python object type which owns its reference.
        (   RC  R6  (   R   RN   RG   R<  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   temps_holding_reference  s    c         C@  s2   g  |  j  D]$ \ } } } } | r
 | | f ^ q
 S(   sR   Return a list of (cname, type) tuples of refcount-managed Python objects.
        (   R  (   R   R   RG   R<  R=  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   all_managed_temps  s    c         C@  sI   g  |  j  j   D]5 \ \ } } } | r | d D] } | | f ^ q0 q S(   s   Return a list of (cname, type) tuples of refcount-managed Python
        objects that are not currently in use.  This is used by
        try-except and try-finally blocks to clean up temps in the
        error case.
        i    (   R  RB   (   R   RG   R<  R>  R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   all_free_managed_temps  s    %c         C@  s   |  j  j t    d S(   sJ   
        Useful to find out which temps were used in a code block
        N(   R  Rh   R:   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   start_collecting_temps  s    c         C@  s   |  j  j   S(   N(   R  R8  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   stop_collecting_temps"  s    c         C@  s   t  |  |  _ d  S(   N(   t   ClosureTempAllocatorR  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   init_closure_temps%  s    N(   R   R   R:   R9   R   R  R  R  R   R"  R&  R'  R(  R-  R/  R0  R   R@  RA  RC  RD  RE  RF  RG  RH  RJ  (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   ?  s*   &										1						
		t   NumConstc           B@  s   e  Z d  Z d d  Z RS(   s   Global info about a Python number constant held by GlobalState.

    cname       string
    value       string
    py_type     string     int, long, float
    value_code  string     evaluation code if different from value
    c         C@  s.   | |  _  | |  _ | |  _ | p$ | |  _ d  S(   N(   R   RX   t   py_typet
   value_code(   R   R   RX   RL  RM  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   2  s    			N(   R   R   R   R9   R   (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRK  )  s   t   PyObjectConstc           B@  s   e  Z d  Z d   Z RS(   s>   Global info about a generic constant held by GlobalState.
    c         C@  s   | |  _  | |  _ d  S(   N(   R   RG   (   R   R   RG   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   ?  s    	(   R   R   R   R   (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRN  9  s   t   possible_unicode_identifiert   possible_bytes_identifiert   replace_identifiert   find_alphanumss   (?![0-9])\w+$t   asciiR8   s   [^a-zA-Z0-9_]+s   ([a-zA-Z0-9]+)t   StringConstc           B@  s2   e  Z d  Z d   Z d   Z d e d d  Z RS(   s?   Global info about a C string constant held by GlobalState.
    c         C@  s:   | |  _  | |  _ t j |  |  _ d  |  _ g  |  _ d  S(   N(   R   t   textR   t   escape_byte_stringt   escaped_valueR9   t
   py_stringst   py_versions(   R   R   RU  t   byte_string(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   R  s
    			c         C@  s>   | s d d g |  _  n" | |  j  k r: |  j  j |  n  d  S(   Ni   i   (   RY  Rh   (   R   t   version(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   add_py_versionY  s    c         C@  s  |  j  } |  j } t | p |  } | d  k o4 | } | d  k rL d  } n< | j   } | d k rs d  } d  } n d j t |   } | | | | f }	 | d  k	 r y | |	 SWq t k
 r q Xn	 i  |  _  | r t }
 nK | d  k r&t	 | t
  rt t |   }
 q,t t |   }
 n t }
 |
 rBt j d } n	 t j } | r^d | } n d } d	 | | rvd
 p| rd pd | |  j t t j  f } t | | | | | |
  } | |  j  |	 <| S(   Nt   utf8s   utf-8RS  t   usasciis   us-asciiRR   R   s   _%ss	   %s%s%s_%sR   t   ut   b(   s   utf8s   utf-8s   asciiR^  s   us-ascii(   RX  RU  R   R9   t   lowerR0   RR  R<   R   R   R   RP  RO  R   R   t   interned_prefixest   py_const_prefixR   R   t   const_prefixt   PyStringConst(   R   RU   t
   identifiert   is_strt   py3str_cstringRX  RU  t
   is_unicodet   encoding_keyR   t   internR   t   encoding_prefixt   pystring_cnamet	   py_string(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_py_string_const_  sP    							N(   R   R   R   R   R\  R9   R   Ro  (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRT  K  s
   		Re  c           B@  s)   e  Z d  Z e d e d  Z d   Z RS(   sD   Global info about a Python string constant held by GlobalState.
    c         C@  s:   | |  _  | |  _ | |  _ | |  _ | |  _ | |  _ d  S(   N(   R   Rh  RU   Rg  Ri  Rk  (   R   R   RU   Ri  Rg  Rh  Rk  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    					c         C@  s   |  j  | j  k  S(   N(   R   (   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   __lt__  s    N(   R   R   R   R   R9   R   Rp  (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRe    s   t   GlobalStatec           B@  s  e  Z i  Z d  d d d d d d d d d	 d
 d d d d d d d d d d d d d g Z d: d  Z d   Z d   Z d   Z d   Z	 d   Z
 d   Z e d  Z d    Z d! d: d"  Z d: d#  Z d$   Z d: e d: d%  Z d&   Z d'   Z d: d(  Z d! d)  Z d*   Z d+   Z d! d! d,  Z d-   Z d.   Z d/   Z d0   Z d1   Z d2   Z d3   Z  d4   Z! d5   Z" d6   Z# d7   Z$ d8   Z% d9   Z& RS(;   t   h_codet   filename_tablet   utility_code_proto_before_typest   numeric_typedefst   complex_type_declarationst   type_declarationsR   t   module_declarationst   typeinfot   before_global_vart
   global_vart   string_declst   declst   all_the_restt   pystring_tablet   cached_builtinst   cached_constantsR   t   init_moduleR   t   cleanup_modulet   main_methodR   t   endc         C@  s   i  |  _  g  |  _ i  |  _ t   |  _ i  |  _ t |  _ | |  _ | |  _	 i  |  _
 | |  _ i  |  _ i  |  _ i  |  _ i  |  _ g  |  _ i  |  _ | j |   | |  _ d  S(   N(   Rs  t   filename_listt   input_file_contentsR:   t   utility_codest   declared_cnamesR   t   in_utility_code_generationt   code_configt   common_utility_include_dirt   partst   module_nodet   const_cnames_usedt   string_const_indext   pyunicode_ptr_const_indext   num_const_indext   py_constantst   cached_cmethodst   set_global_stateR   (   R   R   R  R  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s$    															c         C@  s  |  j  } x$ |  j D] } | j   |  j | <q Wt j sF |  j d =n$ |  j d } | j   | j d  |  j d } | j   | j d  | j d  | j   | j	 d  |  j d } | j   | j d  | j d  t j
 s |  j d	 =n1 |  j d	 } | j   | j d  | j d
  |  j d } | j d  | j d  |  j d } |  j j rz| j d  n  | j d  | j d  d  S(   NR  s+   static int __Pyx_InitCachedBuiltins(void) {R  RR   s,   static int __Pyx_InitCachedConstants(void) {t   __Pyx_InitCachedConstantsR   s$   static int __Pyx_InitGlobals(void) {R   s(   static void __Pyx_CleanupGlobals(void) {R   s)   /* --- Runtime support code (head) --- */R   s   
#line 1 "cython_utility"
s"   /* --- Runtime support code --- */(   R   t   code_layoutt   insertion_pointR  R   t   cache_builtinst   enter_cfunc_scopeR   t   put_declare_refcount_contextt   put_setup_refcount_contextR   R  t   emit_linenumst   write(   R   R   t   partt   wRK   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   initialize_main_c_code  s@    		



	
c         C@  sS   |  j    |  j d } t j d d  } | j | j | j   | j d  d  S(   NR   t   TypeConversionss   TypeConversion.cRR   (   t   close_global_declsR  R   R   R   R   R7   R   (   R   RK   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   finalize_main_c_code-  s
    
c         C@  s   |  j  | S(   N(   R  (   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   __getitem__8  s    c         C@  s  |  j    t j ry |  j d } | j d  | j | j  r_ | j | j  | j d  n  | j d  | j   n  |  j d } | j	   | j d  | j | j  r | j | j  | j	   | j d  n  | j d  | j   |  j d } | j d  | j | j  r<| j | j  | j d  n  | j d  | j   t j
 r|  j d } | j d  | j   n  t j
 r|  j d } | j d  | j   n  d  S(	   NR  s	   return 0;s
   return -1;t   }R  R   R   R  (   t   generate_const_declarationsR   R  R  R   R0  R  t	   put_labelt   exit_cfunc_scopet   put_finish_refcount_contextR   (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  >  sB    
	



		c         C@  s   |  d j  d | j  d  S(   NR{  s   static PyObject *%s;(   R   R   (   R   t   entry(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_pyobject_declg  s    c         C@  s   |  j  d S(   NR  (   R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_cached_constants_writerl  s    c         C@  sS   | r d p d } y |  j  | | f } Wn# t k
 rN |  j | |  } n X| S(   Nt   longt   int(   R  R<   t   new_num_const(   R   t	   str_valuet   longnessRL  t   c(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_int_consto  s    c         C@  sD   y |  j  | d f } Wn& t k
 r? |  j | d |  } n X| S(   Nt   float(   R  R<   R  (   R   R  RM  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_float_constw  s
    RR   c         C@  sU   |  j  | |  } | d  k	 rQ | t j k rQ |  j d } | j d | j  n  | S(   NR   s   Py_CLEAR(%s);(   t   new_py_constR9   R   R   R  R   R   (   R   RG   R   t   cleanup_levelt   constt   cleanup_writer(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_py_const~  s    c         C@  sl   | j  r | j   } n | j   } y |  j | } Wn# t k
 rZ |  j | |  } n X| j |  | S(   N(   Ri  t
   utf8encodet
   byteencodeR  R<   t   new_string_constR\  (   R   RU  t
   py_versionRZ  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_string_const  s    	c         C@  sO   | j  s t  y |  j | } Wn( t k
 rJ |  j   } |  j | <n X| S(   N(   Ri  R   R  R<   t   new_const_cname(   R   RU  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_pyunicode_ptr_const  s    c         C@  s   d  } | r] | d  k	 r] | j   | j   k r] |  j | d d } |  j | d d } n |  j |  } | j | j | | |  } | S(   NR  i   i   (   R9   R  R  R  Ro  RU   (   R   RU  Rf  Rg  t   unicode_valueRh  t   c_stringRn  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRo    s    c         C@  s   |  j  | d t S(   NRf  (   Ro  R   (   R   RU  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    c         C@  s2   |  j  |  } t | | |  } | |  j | <| S(   N(   t   new_string_const_cnameRT  R  (   R   RU  RZ  R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  s>   |  j  | |  } t | | | |  } | |  j | | f <| S(   N(   t   new_num_const_cnameRK  R  (   R   RX   RL  RM  R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  s2   |  j  |  } t | |  } |  j j |  | S(   N(   R  RN  R  Rh   (   R   RG   R   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  s"   | j  d d  } |  j d |  S(   NR8   t   ignoreRX   (   t   decodeR  (   R   t   bytes_valueRX   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  sj   | d k r | d 7} d } n  t  j | } d | | f } | j d d  j d d  j d	 d  } | S(
   NR  t   LR  s   %s%st   +R   t   -t   neg_Rx   (   R   Rb  R   (   R   RX   RL  R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    
	*c         C@  s   t  d |  d  j d  } |  j } | } x6 | | k rc | | d } | | <d | | f } q. Wd | | <| r t j | } n	 t j } d | | f S(   NR   i    i   s   %s_%ds   %s%s(   RQ  R   R  R   Rb  Rd  (   R   R   RX   RB  t   name_suffixt   counter(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    	
	c         C@  s_   | | | f } y |  j  | } Wn8 t k
 rZ |  j d d | | f  } |  j  | <n X| S(   Nt   umethods   %s_%s(   R  R<   R  (   R   R   R   t
   args_countR   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    %c         C@  s   | j  r | j r |  j | j |  r |  j |  |  j d } d  } | j t k r t | j \ } } | j	 d |  |  j
 | j t j |  | j  | j	 d  n  |  j
 | j t j | j  | j  | r | j	 d  q q n  d  S(   NR  s   #if %ss   #elses   #endif(   t
   is_builtinR1  t   should_declareR   R  R  R9   RN   t   non_portable_builtins_mapR   t   put_cached_builtin_initt   posR   R   (   R   R  R  t	   conditiont   replacement(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   add_cached_builtin_decl  s"    

c         C@  sb   |  j  d } |  j |  j } |  j t j d d   | j d | | | | j |  f  d  S(   NR  t   GetBuiltinNames   ObjectHandling.cs*   %s = __Pyx_GetBuiltinName(%s); if (!%s) %s(   R  R   R   R   R   R   R   t
   error_goto(   R   R  RN   R   R  t   interned_cname(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    	c         C@  s,   |  j    |  j   |  j   |  j   d  S(   N(   t   generate_cached_methods_declst   generate_string_constantst   generate_num_constantst   generate_object_constant_decls(   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    


c         C@  s   g  |  j  D]! } t | j  | j | f ^ q
 } | j   |  j d } x4 | D], \ } } } | j d | j j |   qO Wd  S(   NR}  s
   static %s;(   R  R   R   t   sortR  R   RG   t   declaration_code(   R   R  t   constst   decls_writerR   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  	  s    .
c   
      C@  s   |  j  s d  S|  j d } |  j d } g  } x t |  j  j    D]k \ \ } } } } | j |  |  j t j |   j } | j	 d | | f  | j	 d | | f  qC Wt
 j r |  j d }	 x" | D] } |	 j	 d |  q Wn  d  S(   NR}  R   s4   static __Pyx_CachedCFunction %s = {0, &%s, 0, 0, 0};s   %s.type = (PyObject*)&%s;R   s   Py_CLEAR(%s.method);(   R  R  R   RB   Rh   R   R   R   R   R   R   R   (
   R   t   declR   t   cnamesR   R   R   R   t   method_name_cnameR   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s     	+			c      
   C@  s  g  |  j  j   D]! } t | j  | j | f ^ q } | j   g  } |  j d } x | D] \ } } } t } | j r d | j k s d | j k r t } | j	 d d | j k r d p d  n  | j	 d | t
 j | j  f  | r | j	 d  n  | j d  k	 r[ x< | j j   D]( } | j | j t | j  | f  qWq[ q[ Wx t |  j j    D] \ } } t
 j |  \ }	 }
 |	 r| j	 d	  n  | j	 d
 | |
 f  |	 rg| j	 d  | j	 d
 | |	 f  | j	 d  qgqgW| r|  j t j d d   | j   |  j d } | j	 d  | j	 d t j  x| D]\ } } } | j s| j s| j d! k rd } n d | j j   } | j	 d | j  | j r| j	 d  | j	 d | j | j j | j j d d d | j f  | j	 d  n  | j	 d | j | | | | j | j | j f  | j rQ| j	 d  qQqQW| j	 d  | j	 d  |  j d } | j	 d  t j | j |  j   f  n  d  S("   NR|  i   i   s   #if PY_MAJOR_VERSION %s 3t   <s   >=s   static const char %s[] = "%s";s   #endifs   #ifdef Py_UNICODE_WIDEs    static Py_UNICODE %s[] = { %s };s   #elset   InitStringss   StringTools.cR  RR   s$   static __Pyx_StringTabEntry %s[] = {R8   t   USASCIIs   US-ASCIIt   UTF8s   UTF-8t   0s   "%s"s   static PyObject *%s;s   #if PY_MAJOR_VERSION >= 3s&   {&%s, %s, sizeof(%s), %s, %d, %d, %d},i   i    s   {0, 0, 0, 0, 0, 0, 0}s   };R   s"   if (__Pyx_InitStrings(%s) < 0) %s;(   s   ASCIIR  s   US-ASCIIR  s   UTF-8(!   R  RO   R   R   R  R  R   RY  R   R   R   t   split_string_literalRW  RX  R9   Rh   R   R  RB   t   encode_pyunicode_stringR   R   R   R   t   stringtab_cnameRg  RU   Ra  Rh  Rk  Ri  R  R   (   R   R  t   c_constsRX  R  R   R   t   conditionalRn  t   utf16_arrayt   utf32_arrayR  t   c_cnameRU   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  '  s    7
'	 	-"
									c         C@  sQ  g  |  j  j   D]= } | j | j d d k t | j  | j | j | f ^ q } | j   |  j d } |  j d } x | D] \ } } } } } } | j }	 | j	 d |	  | d k r d }
 nW | d k r d	 }
 nB t
 j |  r d
 }
 n* t | j d   d k rd }
 n d }
 | j	 d |	 |
 | | j |	 |  j  f  q~ Wd  S(   Ni    R  R}  R   s   static PyObject *%s;R  s   PyFloat_FromDouble(%s)R  s%   PyLong_FromString((char *)"%s", 0, 0)s$   PyInt_FromString((char *)"%s", 0, 0)i   s   PyInt_FromLong(%sL)s   PyInt_FromLong(%s)s   %s = %s; %s(   R  RO   RL  RX   R   RM  R  R  R   R   R   t   long_literalt   lstript   error_goto_if_nullR   (   R   R  R  R  R   RL  R   RX   RM  R   t   function(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  t  s(    P
						
c         C@  sq   | |  j  k r\ |  j  | } t | j  t | j  k s@ t  | j | j k sX t  t S| |  j  | <t Sd  S(   N(   R  R   RG   R   R   R   R   (   R   R   R  R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    $c         C@  sa   y |  j  | j   } WnC t k
 r\ t |  j  } |  j j |  | |  j  | j   <n X| S(   N(   Rs  t   get_filenametable_entryR<   R   R  Rh   (   R   t   source_desct   index(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   lookup_filename  s    c         C@  s   y |  j  | SWn t k
 r" n X| j d d d d  } z? g  | D]. } d | j   j d d  j d d	  ^ qE } Wd  t | d
  r | j   n  X| s | j d  n  | |  j  | <| S(   NRU   R8   t   error_handlingR  u    * u   */u.   *[inserted by cython to avoid comment closer]/u   /*u-   /[inserted by cython to avoid comment start]*t   closeu    (   R  R<   t	   get_linesR_   R   t   hasattrR  Rh   (   R   R  t   source_fileRt   t   F(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   commented_file_contents  s    	< c         C@  s3   | |  j  k r/ |  j  j |  | j |   n  d S(   s  
        Adds code to the C file. utility_code should
        a) implement __eq__/__hash__ for the purpose of knowing whether the same
           code has already been included
        b) implement put_code, which takes a globalstate instance

        See UtilityCode.
        N(   R  Rg   R   (   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    	c         C@  sL   | d  k r d  S| j r, |  j | j  n  | j rH |  j | j  n  d  S(   N(   R9   R   R   t   utility_code_definition(   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   use_entry_utility_code  s    		N('   R   R   t
   directivesR  R9   R   R  R  R  R  R  R  R   R  R  R  R  R  Ro  R   R  R  R  R  R  R  R   R  R  R  R  R  R  R  R  R  R  R   R  (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRq    sv   		*			)																				M						c         @  s:   t  j       f d   }  f d   } t | |  S(   Nc         @  s     |  j   S(   N(   t	   funcstate(   R   (   t   attribute_of(    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRZ     s    c         @  s   t  |  j   |  d  S(   N(   t   setattrR  (   R   RX   (   RN   (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR:     s    (   R   t
   attrgettert   property(   RN   RZ   R:   (    (   R  RN   s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   funccontext_property  s    t   CCodeConfigc           B@  s   e  Z e e e d   Z RS(   c         C@  s   | |  _  | |  _ | |  _ d  S(   N(   t   emit_code_commentsR  t   c_line_in_traceback(   R   R  R  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    		(   R   R   R   R   (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s   t   CCodeWriterc           B@  s  e  Z d  Z d Z Z d d e d  Z d   Z d   Z	 d   Z
 d   Z d   Z d   Z d   Z d	   Z e d
  Z e d  Z e d  Z e d  Z e d  Z e d  Z e d  Z e d  Z d d  Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z  d   Z! d   Z" d   Z# d d  Z$ d   Z% d   Z& d    Z' d! d d"  Z( d#   Z) d$   Z* d e d d%  Z+ d&   Z, d'   Z- d(   Z. d)   Z/ d! e d*  Z0 e1 d+  Z2 d,   Z3 d-   Z4 d.   Z5 d/   Z6 d0   Z7 d1   Z8 d2   Z9 d3   Z: d4   Z; d5   Z< d6   Z= d7   Z> d8   Z? d9   Z@ d:   ZA d! d e1 d;  ZB d<   ZC d=   ZD d>   ZE d?   ZF eG d@  ZH dA   ZI dB   ZJ dC   ZK dD   ZL dE   ZM dF   ZN e1 dG  ZO e1 dH  ZP dI   ZQ dJ   ZR dK   ZS dL   ZT dM   ZU dN   ZV e1 e dO  ZW e1 e1 dP  ZX e1 e dQ  ZY e1 e e1 e e dR  ZZ dS   Z[ dT   Z\ dU   Z] dV   Z^ dW   Z_ dX   Z` dY   Za dZ d[  Zb d\   Zc d]   Zd e d^  Ze e d_  Zf d`   Zg e1 da  Zh db e1 dc  Zi e1 dd  Zj e1 d de  Zk d df  Zl d dg  Zm d dh  Zn di   Zo dj   Zp e dk  Zq e dl  Zr dm   Zs dn   Zt do   Zu dp   Zv dq   Zw dr   Zx ds   Zy e dt  Zz du   Z{ dv   Z| e dw  Z} dx   Z~ d dy  Z e dz  Z d{   Z e d|  Z d}   Z d~   Z d   Z RS(   s  
    Utility class to output C code.

    When creating an insertion point one must care about the state that is
    kept:
    - formatting state (level, bol) is cloned and used in insertion points
      as well
    - labels, temps, exc_vars: One must construct a scope in which these can
      exist by calling enter_cfunc_scope/exit_cfunc_scope (these are for
      sanity checking and forward compatabilty). Created insertion points
      looses this scope and cannot access it.
    - marker: Not copied to insertion point
    - filename_table, filename_list, input_file_contents: All codewriters
      coming from the same root share the same instances simultaneously.
    c         C@  s   | d  k r t   } n  | |  _ d  |  _ d  |  _ g  |  _ d  |  _ d |  _ d |  _ d |  _	 | d  k	 r |  j
 | j  | j |  _ | r | j |  _ | j	 |  _	 | j |  _ n  | j |  _ | j |  _ n  d  S(   Ni    i   (   R9   R	   t   buffert   last_post   last_marked_post   pyclass_stackR  t   levelt
   call_levelt   bolR  R   (   R   t   create_fromR  t   copy_formatting(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s&     								c         C@  s   t  | | |  } | S(   N(   R  (   R   R  R  R  R?  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt
   create_new#  s    c         C@  s.   |  j  d  k s t  | |  _  | j |  _ d  S(   N(   R   R9   R   R  (   R   t   global_state(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  )  s    	c         C@  s   |  j  j |  d  S(   N(   R  t   copyto(   R   Rq   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  .  s    c         C@  s   |  j  j   S(   N(   R  t   getvalue(   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  1  s    c         C@  sS   |  j  r |  j  d n d } |  j j j | g | j d   |  j j |  d  S(   Ni   i    s   
(   R  R  t   markerst   extendt   countR  (   R   R   t   cython_lineno(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  4  s    #c         C@  s+   |  j  d |  d |  j j   d t  } | S(   NR  R  R  (   R  R  R  R   (   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  ;  s    'c         C@  s   t  d |   S(   s   
        Creates a new CCodeWriter connected to the same global state, which
        can later be inserted using insert.
        R  (   R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt
   new_writer?  s    c         C@  s/   | j  |  j  k s t  |  j j | j  d S(   s   
        Inserts the contents of another code writer (created with
        the same global state) in the current location.

        It is ok to write to the inserted writer also after insertion.
        N(   R   R   R  t   insert(   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR#  F  s    R  R  R  R  R	  R
  t   return_from_error_cleanup_labelR  c         C@  s   |  j  j |  S(   N(   R  R  (   R   RN   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  [  s    c         C@  s   |  j  j   S(   N(   R  R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  \  s    c         C@  s   |  j  j   S(   N(   R  R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  ]  s    c         C@  s   |  j  j   S(   N(   R  R   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   ^  s    c         C@  s   |  j  j |  S(   N(   R  R"  (   R   R!  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR"  _  s    c         C@  s   |  j  j   S(   N(   R  R&  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR&  `  s    c         C@  s   |  j  j   S(   N(   R  R'  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR'  a  s    c         C@  s   |  j  j |  S(   N(   R  R(  (   R   R!  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR(  b  s    c         C@  s   |  j  j   S(   N(   R  R-  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR-  c  s    c         C@  s   |  j  j |  S(   N(   R  R/  (   R   R.  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR/  d  s    c         C@  s   |  j  j |  S(   N(   R  R0  (   R   R.  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR0  e  s    c         C@  s   t  |  d | |  _ d  S(   NR  (   R   R  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  h  s    c         C@  s   d  |  _ d  S(   N(   R9   R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  k  s    c         C@  s   |  j  j | |  j S(   N(   R   R  R   (   R   R  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt
   get_py_intp  s    c         C@  s   |  j  j | |  j S(   N(   R   R  R   (   R   R  RM  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_py_floats  s    RR   c         C@  s   |  j  j | | |  j S(   N(   R   R  R   (   R   RG   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  v  s    c         C@  s   |  j  j |  j S(   N(   R   R  R   (   R   RU  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  y  s    c         C@  s   |  j  j |  S(   N(   R   R  (   R   RU  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  |  s    c         C@  s   |  j  j | | | |  j S(   N(   R   Ro  R   (   R   RU  Rf  Rg  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRo    s    	c         C@  s   |  j  j |  j S(   N(   R   R  R   (   R   RG   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_argument_default_const  s    c         C@  s   |  j  |  S(   N(   Ro  (   R   RU  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRk    s    c         C@  s   |  j  | d t S(   NRf  (   Ro  R   (   R   RU  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   intern_identifier  s    c         C@  s   |  j  j   S(   N(   R   R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  s   |  j  r |  j r |  j   n  |  j j rf |  j rf |  j \ } } } |  j d | | j   f  n  | r | r |  j |  q |  j	 |  n  |  j d  d |  _ d  S(   Ns   
#line %s "%s"
s   
i   (
   R  R  t   emit_markerR  R  R  R  t   get_escaped_descriptiont   put_safeR   (   R   RK   t   safeR  Rt   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s     c         C@  sG   | d  k r d  S|  j r4 |  j d  | d  k r4 d  S| | f |  _ d  S(   Ni   (   R9   R  R  (   R   R  t   trace(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   mark_pos  s
     c         C@  s   |  j  \ } } | |  _ d  |  _  |  j d  |  j j ra |  j   |  j d |  j |   n  | r |  j r |  j j	 r |  j
 j d r |  j   |  j d | d |  j j |  j |  f  n  d  S(   Ns   
s	   /* %s */
t	   linetraces   __Pyx_TraceLine(%d,%d,%s)
i   (   R  R  R9   R  R  R  t   indentt   _build_markerR  R  R   R  R  R  (   R   R  R-  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR)    s    		
+
	c         C@  s   | \ } } } t  | t  s$ t  |  j j |  } | t d | d  | !} | d c d 7<| | | | d !7} d | j   | d j |  f S(   Ni    i   iu                # <<<<<<<<<<<<<<i   u   "%s":%d
%s
u   
(   R   R   R   R   R  t   maxR*  R0   (   R   R  R  Rt   t   colt   contentsRH   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR1    s    c         C@  s   |  j  |  d |  _ d  S(   Ni    (   R  R  (   R   RK   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR+    s    c         C@  s   |  j  j } | r t |  d k r d | t j | j d   j   f } t j j	 | |  } t j j
 |  s d | t j   f } t t j |    } | j |  Wd  QXt j | |  n  d | } n  |  j |  d  S(   Ni   s   %s_%s.hR]  s   %s.tmp%ss   #include "%s"
(   R   R  R   t   hashlibt   md5RA   t	   hexdigestR   R,   R0   t   existst   getpidR   R   t   open_new_fileR  t   renameR   (   R   RK   RN   t   include_dirt   include_fileR,   t   tmp_pathRq   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    %c         C@  s  t  |  r d  St } d | k r4 | j d  } n d } d | k r | | j d  8} | d k  rw |  j | 7_ q | d k r | d d k r t } |  j d 8_ q n  |  j r |  j   n  |  j |  d |  _ | d k r |  j | 7_ n | r|  j d 7_ n  d  S(   Nt   {i    R  i   (   t   is_self_assignmentR   R   R  R   R  R0  R  (   R   RK   t
   fix_indentt   dl(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s*    		c         K@  s*   d d l  m } |  j | | |   d  S(   Ni   (   R]   (   R   R]   R   (   R   RK   R   R]   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   putln_tempita  s    c         K@  s*   d d l  m } |  j | | |   d  S(   Ni   (   R]   (   R   R]   R   (   R   RK   R   R]   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_tempita  s    c         C@  s   |  j  d 7_  d  S(   Ni   (   R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   increase_indent  s    c         C@  s   |  j  d 8_  d  S(   Ni   (   R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   decrease_indent  s    c         C@  s   |  j  d  |  j   d  S(   NR?  (   R   RE  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   begin_block  s    c         C@  s   |  j    |  j d  d  S(   NR  (   RF  R   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt	   end_block  s    
c         C@  s   |  j  d |  j  d  S(   Ns     (   R  R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR0    s    c         C@  s   d t  |  d d  S(   Ns   0x%02X%02X%02X%02Xi    i   (   i    i    i    i    (   R   (   R   t	   pyversion(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   get_py_version_hex  s    c         C@  s*   | |  j  j k r& |  j d |  n  d  S(   Ns   %s:;(   R  R  R   (   R   R.  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  s%   |  j  j |  |  j d |  d  S(   Ns   goto %s;(   R  R/  R   (   R   R.  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_goto	  s    c         C@  s   | j  d k r# | p | j r# d  S| j  d k r@ | j r@ d  S| rZ |  j d |  n  | j ss |  j d  n  |  j | j j | j d |  | j d  k	 r |  j
 d | j j | j   n | j j r |  j d  n  |  j d  d  S(   Nt   privates   %s s   CYTHON_UNUSED t   dll_linkages    = %ss    = NULLt   ;(   t
   visibilityt   defined_in_pxdRB  R   t   cf_usedRG   R  R   R   R9   R+  t   literal_codeR6  R   (   R   R  t   storage_classRM  t
   definition(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_declaration  s    	#c   	      C@  s  x | j  D] \ } } } } | j |  } | j rH |  j d |  q
 | j r~ d d l m } |  j d | | j f  q
 |  j d | r d p d | f  q
 W| j r|  j	 j
 r d } n d } |  j d	 | t j f  |  j d
 | t j f  |  j d	 | t j f  n  d  S(   Ns
   %s = NULL;i   (   t
   MemoryViews   %s = %s;s   %s%s;s   static RR   s   CYTHON_UNUSED s   %sint %s = 0;s   %sconst char *%s = NULL;(   R  R  R6  R   R7  RR   RV  t   memslice_entry_initR  R  R  R   t   lineno_cnamet   filename_cnamet   clineno_cname(	   R   t   func_contextRN   RG   R<  R=  R  RV  t   unused(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_temp_declarations"  s    		'		c         C@  s%   |  j  d t j  |  j  d  d  S(   Ns   /* Generated by Cython %s */RR   (   R   R   t	   watermark(   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_generated_by7  s    c         C@  s&   |  j  d |  |  j  d |  d  S(   Ns
   #ifndef %ss
   #define %s(   R   (   R   t   guard(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_h_guard;  s    c         C@  s   t  j r d | S| Sd  S(   Ns   unlikely(%s)(   R   t   gcc_branch_hints(   R   t   cond(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   unlikely?  s    	c         C@  s7   | s
 d Sd d j  g  | D] } | | |  ^ q  S(   NRR   s   %s t    (   R0   (   R   t	   modifierst   mapperRu   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   build_function_modifiersE  s    c         C@  sE   | j  } | j r# | j  j   s/ | j  j r: d | j S| j Sd  S(   Ns   (PyObject *)(   RG   t   is_self_argt   is_completet   is_extension_typeR   (   R   R  RG   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   entry_as_pyobjectL  s
    	c         C@  s&   d d l  m } m } | | | |  S(   Ni   (   t   py_object_typet   typecast(   t
   PyrexTypesRm  Rn  (   R   R   RG   Rm  Rn  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   as_pyobjectT  s    c         C@  s   |  j  d |  d  S(   Ns   __Pyx_GOTREF(%s);(   R   (   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt
   put_gotrefX  s    c         C@  s   |  j  d |  d  S(   Ns   __Pyx_GIVEREF(%s);(   R   (   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_giveref[  s    c         C@  s   |  j  d |  d  S(   Ns   __Pyx_XGIVEREF(%s);(   R   (   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_xgiveref^  s    c         C@  s   |  j  d |  d  S(   Ns   __Pyx_XGOTREF(%s);(   R   (   R   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_xgotrefa  s    c         C@  sG   | r& |  j  d |  j | |   n |  j  d |  j | |   d  S(   Ns   __Pyx_INCREF(%s);s   Py_INCREF(%s);(   R   Rp  (   R   R   RG   t   nanny(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt
   put_increfd  s     c         C@  s#   |  j  | | | d t d t d  S(   Nt
   null_checkRe   (   t   _put_decrefR   (   R   R   RG   Ru  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt
   put_decrefj  s    c         C@  s-   | j  j r) |  j d |  j |   n  d  S(   Ns   __Pyx_GOTREF(%s);(   RG   R6  R   Rl  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_gotrefm  s    c         C@  s-   | j  j r) |  j d |  j |   n  d  S(   Ns   __Pyx_GIVEREF(%s);(   RG   R6  R   Rl  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_giverefq  s    c         C@  s-   | j  j r) |  j d |  j |   n  d  S(   Ns   __Pyx_XGOTREF(%s);(   RG   R6  R   Rl  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_xgotrefu  s    c         C@  s-   | j  j r) |  j d |  j |   n  d  S(   Ns   __Pyx_XGIVEREF(%s);(   RG   R6  R   Rl  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_xgiverefy  s    c         C@  s-   | j  j r) |  j d |  j |   n  d  S(   Ns   __Pyx_INCREF(%s);(   RG   R6  R   Rl  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_incref}  s    c         C@  s-   | j  j r) |  j d |  j |   n  d  S(   Ns   __Pyx_XINCREF(%s);(   RG   R6  R   Rl  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_xincref  s    c      
   C@  s)   |  j  | | | d t d t d | d  S(   NRw  Re   t   clear_before_decref(   Rx  R   R   (   R   R   RG   Ru  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_decref_clear  s    c      
   C@  s)   |  j  | | | d t d | d t d  S(   NRw  t   have_gilRe   (   Rx  R   R   (   R   R   RG   Ru  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_xdecref  s    c      
   C@  s)   |  j  | | | d t d t d | d  S(   NRw  Re   R  (   Rx  R   (   R   R   RG   Ru  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_xdecref_clear  s    c   
      C@  s   | j  r  |  j | d | d  S| r, d p/ d } | r> d pA d }	 | r | r| | s_ d }	 n  |  j d | |	 | f  q |  j d | |	 |  j | |  | f  n& |  j d | |	 |  j | |  f  d  S(	   NR  t   __Pyxt   Pyt   XRR   s   %s_%sCLEAR(%s);s   %s_%sDECREF(%s); %s = 0;s   %s_%sDECREF(%s);(   R7  t   put_xdecref_memoryviewsliceR   Rp  (
   R   R   RG   Ru  Rw  R  Re   R  R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRx    s    			#	c         C@  s   |  j  d | | f  d  S(   Ns   __Pyx_DECREF_SET(%s, %s);(   R   (   R   R   t	   rhs_cname(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_decref_set  s    c         C@  s   |  j  d | | f  d  S(   Ns   __Pyx_XDECREF_SET(%s, %s);(   R   (   R   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_xdecref_set  s    c         C@  s-   | j  j r) |  j d |  j |   n  d  S(   Ns   __Pyx_XDECREF(%s);(   RG   R6  R   Rl  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_decref  s    c         C@  s-   | j  j r) |  j d |  j |   n  d  S(   Ns   __Pyx_XDECREF(%s);(   RG   R6  R   Rl  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_xdecref  s    c         C@  s   |  j  | d t d  S(   NRw  (   t   _put_var_decref_clearR   (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_decref_clear  s    c         C@  s   |  j  | d t d  S(   NRw  (   R  R   (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_xdecref_clear  s    c         C@  sw   | j  j rs | j r> |  j d | r* d p- d | j f  qs |  j d | rS d pV d |  j |  | j f  n  d  S(   Ns   __Pyx_%sCLEAR(%s);R  RR   s   __Pyx_%sDECREF(%s); %s = 0;(   RG   R6  t
   in_closureR   R   Rl  (   R   R  Rw  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    			i    c         C@  sN   xG | D]? } | s | j  r | j r6 |  j |  qF |  j |  q q Wd  S(   N(   RB  t   xdecref_cleanupR  R  (   R   t   entriest	   used_onlyR  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_decrefs  s
    	c         C@  s"   x | D] } |  j  |  q Wd  S(   N(   R  (   R   R  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_xdecrefs  s    c         C@  s"   x | D] } |  j  |  q Wd  S(   N(   R  (   R   R  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_var_xdecrefs_clear  s    c         C@  sD   d d l  m } |  j j | j  |  j d | t |  f  d  S(   Ni   (   RV  s   __PYX_INC_MEMVIEW(&%s, %d);(   RR   RV  R   R   t   memviewslice_init_codeR   R  (   R   t   slice_cnameR  RV  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_incref_memoryviewslice  s    c         C@  sD   d d l  m } |  j j | j  |  j d | t |  f  d  S(   Ni   (   RV  s   __PYX_XDEC_MEMVIEW(&%s, %d);(   RR   RV  R   R   R  R   R  (   R   R  R  RV  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  s   |  j  d |  d  S(   Ns
   %s.memview(   Rs  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_xgiveref_memoryviewslice  s    c         C@  sc   d d l  m } m } | | | d  } | rH |  j d | | f  n |  j d | | f  d  S(   Ni   (   Rm  Rn  t   Py_Nones   %s = %s; __Pyx_INCREF(Py_None);s   %s = %s; Py_INCREF(Py_None);(   Ro  Rm  Rn  R   (   R   R   RG   Ru  Rm  Rn  t   py_none(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_init_to_py_none  s
    s   %sc         C@  s@   | | j  } |  j | | j |  | j r< |  j d  n  d  S(   NR  (   R   R  RG   R  Rr  (   R   R  t   templateRu  RK   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_init_var_to_py_none  s    	c         C@  s   | j  s | j d k rZ | j t k rZ | j d k rJ |  j j d rJ qW | rW d  SqZ n  d d l m } | j r | j } n d } | j	 j
   } | r | j  r | | g 7} n  |  j d | j | j d j |  | | f  n  d  S(	   Nt   __getattribute__t   __getattr__t   fast_getattri   (   t   method_coexisti    s!   {"%s", (PyCFunction)%s, %s, %s}%st   |(   t
   is_specialRN   t   special_py_methodsR   R  t	   TypeSlotsR  t   doct	   doc_cnamet	   signaturet   method_flagsR   t
   func_cnameR0   (   R   R  t   termt
   allow_skipR  t   doc_codeR  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_pymethoddef  s*     
		c         C@  sp   |  j  j t j d d   |  j d  | sN d } | rN |  j d  qN n  |  j d |  |  j d  d S(	   s  
        Acquire the GIL. The generated code is safe even when no PyThreadState
        has been allocated for this thread (for threads not initialized by
        using the Python API). Additionally, the code generated by this method
        may be called recursively.
        t   ForceInitThreadss   ModuleSetupCode.cs   #ifdef WITH_THREADt   __pyx_gilstate_saves   PyGILState_STATE s   %s = PyGILState_Ensure();s   #endifN(   R   R   R   R   R   R   (   R   t   declare_gilstatet   variable(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_ensure_gil  s    	c         C@  s>   | s d } n  |  j  d  |  j  d |  |  j  d  d S(   sD   
        Releases the GIL, corresponds to `put_ensure_gil`.
        R  s   #ifdef WITH_THREADs   PyGILState_Release(%s);s   #endifN(   R   (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_release_ensured_gil#  s
    	c         C@  sE   |  j  d  | r' |  j  d |  n  |  j  d  |  j  d  d S(   s   
        Acquire the GIL. The thread's thread state must have been initialized
        by a previous `put_release_gil`
        s   #ifdef WITH_THREADs   _save = %s;t   Py_BLOCK_THREADSs   #endifN(   R   (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_acquire_gil-  s
    c         C@  sR   |  j  d  |  j  d  |  j  d  | rA |  j  d |  n  |  j  d  d S(   s2   Release the GIL, corresponds to `put_acquire_gil`.s   #ifdef WITH_THREADs   PyThreadState *_save;t   Py_UNBLOCK_THREADSs   %s = _save;s   #endifN(   R   (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_release_gil8  s    c         C@  s+   |  j  d  |  j  d  |  j  d  d  S(   Ns   #ifdef WITH_THREADs%   PyGILState_STATE __pyx_gilstate_save;s   #endif(   R   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  A  s    c         C@  s    |  j  d | |  j |  f  S(   Ns   if (%s < 0) %s(   R   R  (   R   R  RX   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_error_if_negH  s    c         C@  s   d d l  m } | j r5 d } |  j j | j  nG | j j rc | rc d } |  j j | j  n d } |  j j | j	  |  j
 d | j j | j  | | j |  j |  f  d  S(   Ni   (   t	   ExprNodest   __Pyx_RaiseClosureNameErrort&   __Pyx_RaiseUnboundMemoryviewSliceNogilt   __Pyx_RaiseUnboundLocalErrors#   if (unlikely(!%s)) { %s("%s"); %s }(   RR   R  t   from_closureR   R   t%   raise_closure_name_error_utility_codeRG   R7  t+   raise_unbound_memoryview_utility_code_nogilt&   raise_unbound_local_error_utility_codeR   t   check_for_null_codeR   RN   R  (   R   R  R  t   in_nogil_contextR  t   func(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_error_if_unboundL  s"    				
	c         C@  s   t  |  j _ | r! t  |  j _ n  |  j j rF d t j t j f } n d } d t j	 t j
 |  j | d  t j | d | f S(   Ns	    %s = %s;RR   s   %s = %s[%s]; %s = %s;%si    i   (   R   R  R  R  R  R  R   RZ  t   line_c_macroRY  t   filetable_cnameR  RX  (   R   R  RB  t   cinfo(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   set_error_infoa  s    c         C@  s>   |  j  j } |  j  j |  d |  j | d  | d | f S(   Ns   __PYX_ERR(%s, %s, %s)i    i   (   R  R  R/  R  (   R   R  R.  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  r  s    c         C@  s    d |  j  |  |  j |  f S(   Ns
   if (%s) %s(   Rd  R  (   R   Rc  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   error_goto_ifz  s    c         C@  s   |  j  d | |  S(   Ns   !%s(   R  (   R   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  }  s    c         C@  s   |  j  d | |  S(   Ns   %s < 0(   R  (   R   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   error_goto_if_neg  s    c         C@  s   |  j  d |  S(   Ns   PyErr_Occurred()(   R  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    c         C@  s   |  j  j |  S(   N(   R   R  (   R   Rk   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  s   |  j  d  d  S(   Nt   __Pyx_RefNannyDeclarations(   R   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  sL   | r% |  j  j t j d d   n  |  j d | | r= d p@ d f  d  S(   NR  s   ModuleSetupCode.cs%   __Pyx_RefNannySetupContext("%s", %d);i   i    (   R   R   R   R   R   (   R   RN   t   acquire_gil(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    	c         C@  s   |  j  d  d  S(   Ns   __Pyx_RefNannyFinishContext();(   R   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s    c         C@  s<   | t  j t  j t  j f } t |  j _ |  j d |  d S(   s   
        Build a Python traceback for propagating exceptions.

        qualified_name should be the qualified name of the function.
        s%   __Pyx_AddTraceback("%s", %s, %s, %s);N(   R   RZ  RX  RY  R   R  R  R   (   R   t   qualified_namet   format_tuple(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_add_traceback  s    c         C@  sh   | t  j t  j t  j |  j j d | f } t |  j _ |  j	 d |  |  j j
 t j d d   d S(   s   
        Generate code to print a Python warning for an unraisable exception.

        qualified_name should be the qualified name of the function.
        t   unraisable_tracebackss0   __Pyx_WriteUnraisable("%s", %s, %s, %s, %d, %d);t   WriteUnraisableExceptions   Exceptions.cN(   R   RZ  RX  RY  R   R  R   R  R  R   R   R   R   (   R   R  t   nogilR  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_unraisable  s    		c         C@  s   |  j  d  d  S(   Nt   __Pyx_TraceDeclarations(   R   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_trace_declarations  s    c         C@  s   | r |  j  d |  n  d  S(   Ns   __Pyx_TraceFrameInit(%s)(   R   (   R   t   codeobj(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_trace_frame_init  s    c      	   C@  sD   |  j  d | t j |  j | d  | d | |  j |  f  d  S(   Ns*   __Pyx_TraceCall("%s", %s[%s], %s, %d, %s);i    i   (   R   R   R  R  R  (   R   RN   R  R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_trace_call  s    	c         C@  s   |  j  d  d  S(   Ns   __Pyx_TraceException();(   R   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_trace_exception  s    c         C@  s   |  j  d | | f  d  S(   Ns   __Pyx_TraceReturn(%s, %d);(   R   (   R   t   retvalue_cnameR  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   put_trace_return  s    c         C@  s+   |  j  d  |  j  |  |  j  d  d  S(   Ns   #ifdef _OPENMPs   #endif /* _OPENMP */(   R   (   R   t   string(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   putln_openmp  s    c         C@  sV   |  j  d |  |  j  d  |  j  d  |  j  d  |  j  d  |  j  d  d S(   sl   
        Redefine the macros likely() and unlikely to no-ops, depending on
        condition 'cond'
        s   #if %ss       #undef likelys       #undef unlikelys       #define likely(x)   (x)s       #define unlikely(x) (x)s   #endifN(   R   (   R   Rc  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   undef_builtin_expect  s    c         C@  sV   |  j  d |  |  j  d  |  j  d  |  j  d  |  j  d  |  j  d  d  S(   Ns   #if %ss       #undef likelys       #undef unlikelys2       #define likely(x)   __builtin_expect(!!(x), 1)s2       #define unlikely(x) __builtin_expect(!!(x), 0)s   #endif(   R   (   R   Rc  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   redef_builtin_expect  s    N(   R   R   R   R9   R   R  R   R   R  R  R  R  R  R  R"  R#  R  R  R  R  R  R	  R
  R$  R  R  R  R  R   R"  R&  R'  R(  R-  R/  R0  R  R  R%  R&  R  R  R  Ro  R'  Rk  R(  R  R   R   R.  R)  R1  R+  R   R   RC  RD  RE  RF  RG  RH  R0  RJ  R  RK  RU  R]  R_  Ra  Rd  t   modifier_output_mapperRh  Rl  Rp  Rq  Rr  Rs  Rt  Rv  Ry  Rz  R{  R|  R}  R~  R  R  R  R  Rx  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R   R  R  R  R  R  R  R  R  R  R  R  R  R  R  (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s  
																																																																					
																t   PyrexCodeWriterc           B@  s,   e  Z d    Z d   Z d   Z d   Z RS(   c         C@  s   t  j |  |  _ d |  _ d  S(   Ni    (   R   R:  Rq   R  (   R   t   outfile_name(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    c         C@  s%   |  j  j d d |  j | f  d  S(   Ns   %s%s
Re  (   Rq   R  R  (   R   RK   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    c         C@  s   |  j  d 7_  d  S(   Ni   (   R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR0    s    c         C@  s   |  j  d 8_  d  S(   Ni   (   R  (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   dedent  s    (   R   R   R   R   R0  R  (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s   			t   PyxCodeWriterc           B@  s   e  Z d  Z d d d d d  Z d d  Z d d  Z d   Z d   Z d d	  Z	 d
   Z
 d d  Z d   Z d   Z RS(   s   
    Can be used for writing out some Cython code. To use the indenter
    functionality, the Cython.Compiler.Importer module will have to be used
    to load the code to support python 2.4
    i    RS  c         C@  s1   | p t    |  _ | |  _ | |  _ | |  _ d  S(   N(   R	   R  R  R   RU   (   R   R  t   indent_levelR   RU   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR     s    		i   c         C@  s   |  j  | 7_  t S(   N(   R  R   (   R   t   levels(    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR0    s    c         C@  s   |  j  | 8_  d  S(   N(   R  (   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  	  s    c         C@  s   |  j  |  |  j   t S(   s  
        Instead of

            with pyx_code.indenter("for i in range(10):"):
                pyx_code.putln("print i")

        write

            if pyx_code.indenter("for i in range(10);"):
                pyx_code.putln("print i")
                pyx_code.dedent()
        (   R   R0  R   (   R   Rt   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   indenter	  s    
c         C@  s7   |  j  j   } t | t  r3 | j |  j  } n  | S(   N(   R  R  R   R   R  RU   (   R   R?  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  	  s    c         C@  s8   | p |  j  } | r' t | |  } n  |  j |  d  S(   N(   R   R   t   _putln(   R   Rt   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   	  s    c         C@  s%   |  j  j d |  j d | f  d  S(   Ns   %s%s
s       (   R  R  R  (   R   Rt   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  #	  s    c         C@  s^   | p |  j  } | r' t | |  } n  t j |  } x! | j   D] } |  j |  qC Wd  S(   N(   R   R   t   textwrapR  R   R  (   R   t   chunkR   Rt   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt	   put_chunk&	  s    c         C@  s   t  |  j j   |  j |  j  S(   N(   R  R  R  R  R   (   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR  /	  s    c         C@  s   t  |  | |  j    d  S(   N(   R	  R  (   R   RN   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   named_insertion_point3	  s    N(   R   R   R   R9   R   R0  R  R  R  R   R  R  R  R  (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR    s   					RI  c           B@  s#   e  Z d    Z d   Z d   Z RS(   c         C@  s(   | |  _  i  |  _ i  |  _ d |  _ d  S(   Ni    (   t   klassR  R  t   temps_count(   R   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR   8	  s    			c         C@  s7   x0 |  j  j   D] \ } } t |  |  j | <q Wd  S(   N(   R  RB   t   listR  (   R   RG   R  (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   reset>	  s    c         C@  s   | |  j  k r, g  |  j  | <g  |  j | <n! |  j | rM |  j | j d  Sd t j |  j f } |  j j d d  d | d | d | d t	  |  j  | j
 |  |  j d 7_ | S(	   Ni    s   %s%dR  RN   R   RG   t   is_cdefi   (   R  R  R8  R   R:  R  R  t   declare_varR9   R   Rh   (   R   RG   R   (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyR@  B	  s    +(   R   R   R   R  R@  (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyRI  7	  s   		(K   t
   __future__R    t   cythont   declaret   objectR   R   t   sysR   R  R  R   t	   functoolsR   t
   contextlibR   t   collectionsR   R5  t   ImportErrorR6  RR   R   R   R
   R   R   R   t   ScanningR   R	   t   __builtin__R   t   builtinsR   t   version_infoR@   R  t   basicsize_builtins_mapt   uncachable_builtinsR:   R  RZ   R  R\   R`   R@  R2   R3   R   R9   R   R   R   R   RK  RN  R  t   URO  RA   RP  R]   RQ  t   findallRR  RT  Re  Rq  R  R  R  R  R  RI  (    (    (    s7   /bar/jli/Chip-seq/script/cython/Cython/Compiler/Code.pyt   <module>   s   
				!O  '		  E