-
<c       s  d  k  Td k Z d GHd GHd GHd d Z e d j o e d  n d Z e d j o e d	  n d
 GHd GHd d j o e d  n d d j o e d  n d d j o e d  n y d k l Z Wn e j
 o d Z n Xe d j o d d d j o e d  n d d j o e d  n d d j o e d  n xG d d d f D]6 Z y e e  Z Wn e j
 o d e GHn XqWWn e d  o e d  o e d  n e d  d j o e d  n e d  d j o e d  n xG d  d! d" f D]6 Z y e e  Z Wn e j
 o d e GHn XqWn
 d# Ge GHd$ GHd% Z d% Z d& Z d& Z d' Z d' Z d( Z d( Z d) GHd* Z d+ Z d, Z d, Z d- Z d- Z d. Z d- Z d- Z d/ Z d0 Z d1 GHd2 Z d2 Z	 e
 e e  d j o
 e e	 j  d3 Z d3 Z	 e
 e e  d j o e e	 j o e e  d4 j  d5 Z d5 Z	 e
 e e  d j o e e	 j o e e  d6 j  d7 Z d7 Z	 e
 e e  d8 j o
 e e	 j  d9 Z d9 Z	 e
 e e  d8 j o
 e e	 j  d: Z d: Z	 e
 e e	 j  d: Z	 e
 e e	 j  d: Z	 e
 e e	 j  d: Z	 e
 e e	 j  d; GHd< GHd= GHd> GHd? GHe d@  Z dA GHdB   Z e   e f    e f  h    dC   Z dD   Z dE   Z dF   Z e
 e i i dG f j  e
 e i i dH dI f j  e i i dJ  oK e
 e i i dH dK dL dM dN f j  e
 e i i dO dH dL dP f j  nH e
 e i i dH dQ dL dM dN f j  e
 e i i dR dH dL dP f j  dS   Z dT   Z dU   Z dV   Z dW   Z dX   Z e i i dJ  o) e
 e i i dY dZ d[ d\ d] f j  n& e
 e i i dY dQ d[ d\ d] f j  e
 e d d d^ f d_  d d d^ d_ f f j  d d`  Z e   e d  e d f   e h  d dY <  d da  Z e d  e d d  e d h  d d\ < d db  Z e d d  e d d d^  e d d d^ f   e d d d^ f  e d d d^ f  e d d h  d^ d] < d d dc  Z e   e d  e d d  e d d f   e d d f  e d h  d d\ < e h  d dY <d d\ <  d d dd  Z  e  d  e  d d  e  d d d^  d d de  Z! e! d d  e! d d d^  e! d d d^ d_  d df  Z" e"   e" d  e" d d  e" d d d^ d_ f   e" d f   e" h  d dY <  d dg  Z# e# d  e# d d  e# d d d^  d dh  Z$ e$ d d  e$ d d d^  e$ d d d^ d_  e$ d d d^ d_ f   e$ d d h  d^ d] < d d di  Z% e%   e% d  e% d d  e% d d d^  e% d d d^ d_ f  e% h  d dY <d d\ <  d d dj  Z& e& d  e& d d  e& d d d^  e& d d d^ d_  e& d d d^ d_ f   e& d d d^ d_ dk f  e& d d f h  d^ d] < d d dl  Z' e' d d  e' d d d^  e' d d d^ d_  e' d d d^ d_ dk  e' d d d^ d_ f   e' d d d^ d_ dk f  e' d d d^ f h  d_ dm < dn GHdo   Z( e
 e(   d j  dp   Z) dq   Z* e
 e*   d d d g j  d dr  ds  dt  Z+ e
 e+   d j  d du  Z, e
 e, d d  dk j  e
 e, d d d^  dv j  e- dw  dx GHd Z [ dy GHd d d d^ f d Z d d d^ f Z d d d^ f Z Z	 Z. d d d^ f \ Z Z	 Z. d d d^ d_ f f Z/ \ a0 a1 Z2 \ Z Z	 Z. Z3 e- dz  e- d{  d| GHd Gd Gd^ GHd Gd Gd^ GHd p d Gd p d Gd p d GHd} GHd k Z e i4 d Id Id^ IJe i4 d Id Id^ Ie i4 Je i4 d p d Id p d Ie i4 d p d IJd~ f  d     YZ5 e5   Z6 e6 d Id Id^ IJe6 d Id Id^ Ie6 Je6 d p d Id p d Ie6 d p d IJd   Z7 e i4 d  Z8 e7   e9 d  Z8 e7   e- d  e- d  d GH[/ [ [	 [. [3 d GHd GHd GHx d o PqWd GHd Z: x e: o d Z: qqWd2 Z; x0 e; o' d Z; y w4d Z; Wn d Z; n Xq4We; GHd2 Z; x$ e; o d Z; z wrWd d Z; XqrWe; GHd GHd d d  Z< e<   d GHd   Z= d   Z> e=   e>   Z d GHy e? d  Wn e? j
 o n Xy
 e@  Wn e@ j
 o n Xd GHd k Z d kA ZA d k Z d kA lA ZA d  k Td k lB ZB lC ZC d GHd   ZD d GHd   ZD eD   h  ZE d eE UeE iF d  o eE d =n eE h  d d <j o e d  n h  ZE h  ZG d kH ZH eH iI d d d d d eE eG UeE iF d  o eE d =n eG iF d  o eG d =n eE eG f h  d dY <h  d d\ <f j o e d eE eG f  n d GHd GHd o n d o n d GHx d o qWx d o qWd GHx d d d^ f D] Z: qWx f  D] \ Z: ZJ ZK qWd f  d     YZL d ZM x eL d  D] Z eM e ZM q*WeM d j o e d  n d GHy d d Wn eN j
 o n Xy d d WnA eO j
 o n0 eP j
 o	 Z; n e? j
 o	 Z; n n Xy d d Wn eO eP eN f j
 o n Xy d d Wn eO eP eN f j
 o	 Z; n Xz Wd Xd GHd o n d o n d o n d GHd o n d o d o n d p d o n d o n d o d o d o n d o d p! d o d o d p d o d o n d GHd o n d d j Z d d j o n d d j o n d d j o n d d j  o n d d j o n d d j o n d d j o n d d j o n d d j	 o n d f  j o n d f  j o n d d j  ov d j oj d j o^ d j oR d j oF d j o: d j o. d j o" d j o d j o
 d j	 n o n d GHd d @Z d d AZ d d BZ d GHd d >Z d d ?Z d d >d ?Z d GHd Z d d Z d d d Z d d d d d Z d GHd d Z d d Z d d Z d d d d Z d GHd Z d Z d Z d d d @Ad d @d ABZ d d d d d d d Z d GHe   e d  e d  e d d  e d d  e d d d^ d_ f f  e   e d  e d  e d d  e d d d^ d_ dk dv d d d d 
 e d  e d  e d d  e d d d^  e d d d^ d_ dk dv d d d d 
 e d d  e d d d^  e d d d^ d_  e d d d^ d_ dk dv d d d d 
 e d d d^ f  e d d d^ f d_  e d d d^ f d_ dk dv d d d d 	 Hd k Z d kA ZA e iB d Z2 eA iA   Z e iQ d iA   Z d a0 t0 d Z2 t0 d Z2 t0 d dk !Z t0 dk  Z t0 d Z t0 Z t0 d Z t0 d  Z t0 d d !Z d GHd Z d p d p d^ Z d p d p d^ d d^ f Z g  Z d g Z d p d p d^ g Z d p d p d^ d d^ g Z g  Z h  Z h  d d <Z h  d d <Z h  d p d d p dH <Z h  d d <d dH <Z h  d d <d dH <Z h  d d <d dH <d^ d <d_ d <dk d <dv d <Z e Z d p d p d^ Z e Z d Z d Z d GHd f  d     YZR d eR f d     YZS d eR f d     YZT d eS eT eR f d     YZU d f  d     YZV d d d^ d_ dk g ZW d d d g ZX d d d g ZY g  iZ Z[ eY D] Z e[ e i\    q[[ GHg  iZ Z[ eW D] Z e[ d^ e  q[[ GHg  iZ Z[ eW D]! Z e d j o e[ e  n q[[ GHg  iZ Z[ eW D]# Z: eX D] Z e[ e: e f  q?q5[[ GHg  iZ Z[ eW D]U Z: g  iZ Z] eX D]! ZD d eD j o e] eD  n q[] D] Z e[ e: e f  qqn[[ GHd   Z^ e^ eW  GHd   Z_ e_   e- d  e- d  d d f d d f d^ d f g Z` d d f d d f d d f g Za d d f d d f d d f d^ d f g Zb g  iZ Z[ e` D]` \ Zc Zd ea D]M \ Ze Zf eb D]: \ Zg Zh ec eg j o
 ee eh j o e[ ed ef f  n qqq}[[ GHd S(   (   s   *Ns	   1. Parsers
   1.1 Tokenss   1.1.1 Backslashesi   i   s   backslash for line continuationi    s   backslash ending comments   1.1.2 Numeric literalss   1.1.2.1 Plain integersi   s   hex ints	   octal intis   large positive int(   s   maxinti  i   s   max negative intis   oct -1s   hex -1s
   2147483648s   040000000000s   0x100000000s&   OverflowError on huge integer literal s   maxint == 9223372036854775807s1   -9223372036854775807-1 != 01000000000000000000000s   01777777777777777777777s   0xffffffffffffffffs   9223372036854775808s   02000000000000000000000s   0x10000000000000000s   Weird maxint values   1.1.2.2 Long integersl    l    l   ? l   
~l!]c s   1.1.2.3 Floating pointf3.1400000000000001f314.0f0.314f300000000000000.0f2.9999999999999998e-14f30000000000000.0f31000.0s   1.1.3 String literalss    s   'i'   s   "i"   s   doesn't "shrink" does iti   s   does "shrink" doesn't its2   
The "quick"
brown fox
jumps over
the 'lazy' dog.
s   1.2 Grammars   single_inputs
   file_inputs
   expr_inputs
   eval_inputs	   1, 0 or 1s   funcdefc      s   d  S(   N(    (    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   f1 s    c    s   d  S(   N(    (   s   one_argument(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   f2 s    c    s   d  S(   N(    (   s   twos	   arguments(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   f3 s    c    s   | \ } \ } } d  S(   N(   s   compounds   arguments   list(   s   twos   .2s   compounds   arguments   list(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   f4 s    c    s   |  \ } } d  S(   N(   s   compounds   first(   s   .0s   twos   compounds   first(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   f5 s    s   one_arguments   twos	   argumentss   javas   (compound, (argument, list))s   compounds   arguments   lists   (compound, first)s   firsts   .2s   .0c    s   d  S(   N(    (   s   one_arg(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   a1 s    c    s   d  S(   N(    (   s   twos   args(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   a2 s    c     s   d  S(   N(    (   s   rest(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   v0 s    c    s   d  S(   N(    (   s   as   rest(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   v1 s    c    s   d  S(   N(    (   s   as   bs   rest(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   v2 s    c    s    | \ } } |  | | | f Sd  S(   N(   s   bs   cs   as   rest(   s   as   .2s   rests   bs   c(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   v3 s    s   as   (b, c)s   rests   bs   ci   i   c    s   d  S(   N(    (   s   a(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d01 s    c    s   d  S(   N(    (   s   as   b(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d11 s    c    s   d  S(   N(    (   s   as   bs   c(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d21 s    c    s   d  S(   N(    (   s   as   b(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d02 s    c    s   d  S(   N(    (   s   as   bs   c(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d12 s    c    s   d  S(   N(    (   s   as   bs   cs   d(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d22 s    c    s   d  S(   N(    (   s   as   rest(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d01v s    c    s   d  S(   N(    (   s   as   bs   rest(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d11v s    c    s   d  S(   N(    (   s   as   bs   cs   rest(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d21v s    c    s   d  S(   N(    (   s   as   bs   rest(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d02v s    c    s   d  S(   N(    (   s   as   bs   cs   rest(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d12v s    i   c    s   d  S(   N(    (   s   as   bs   cs   ds   rest(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   d22v s    s   ds   lambdefc      s   d S(   Ni    (    (    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   <lambda> s    c      s   t  t S(   N(   s   as   d(    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   <lambda> s    c     s4   g  i  }  d d d g D] } |  d | j   q ~  S(   Nii   l    i   (   s   appends   _[1]s   x(   s   _[1]s   x(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   <lambda> s    c    s   |  S(   N(   s   z(   s   z(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   <lambda> s    c    s   |    S(   N(   s   y(   s   y(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   <lambda> s    c    s   |    S(   N(   s   x(   s   x(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   <lambda> s    c    s   |  | | S(   N(   s   xs   ys   z(   s   xs   ys   z(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   <lambda> s    i   s   lambda x: x = 2s   simple_stmts	   expr_stmts	   x + 1 = 1s   a + 1 = b + 2s
   print_stmts   extended print_stmts   Gulpc      s   t  Z d   Z RS(   Nc    s   d  S(   N(    (   s   selfs   msg(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   write-s    (   s   __name__s
   __module__s   write(    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   Gulp,s   c     s>   t  i }  t   t  _ z t t    t   Wd  |  t  _ Xd  S(   N(   s   syss   stdouts	   oldstdouts   Gulps   tellme(   s	   oldstdout(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   driver7s    	 c    s   |  d IJd  S(   Ns   hello world(   s   file(   s   file(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   tellmeAs    c    s   |  d IJd  S(   Ns   goodbye universe(   s   file(   s   file(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   tellmeGs    s   print ,s   print >> x,s   del_stmts	   pass_stmts	   flow_stmts
   break_stmts   continue_stmts   continue + try/except oks&   continue failed to continue inside trys'   continue inside try called except blocks   finally block not calleds   continue + try/finally oks0   testing continue and break in try/except in loopc    s   d } xW | oO | d 7} y4 |  o
 | d j o |  d 8}  Pn | d 8} w	 Wn
   n Xq	 W| d j p
 | d j o	 d GHn d  S(   Ni   i   s1   continue then break in try/except in loop broken!(   s	   big_hippos   counts   extra_burning_oil(   s   extra_burning_oils   counts	   big_hippo(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   test_break_continue_loops     


s   return_stmtc      s   d  Sd  S(   N(    (    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   g1s    c      s   d Sd  S(   Ni   (    (    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   g2s    s
   raise_stmts   just testings   import_stmt(   s   time(   s   paths   argvs   global_stmtc      s   d  S(   N(    (    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   fs      s	   exec_stmtc     s   e  }  ~  d d  U|  d j o e d  n ~  d d  U|  d j o e d  n e  }  ~  d  k } e | d  o d d  Un d  S(   Ns   z=1+1
i   s   exec 'z=1+1'\ns   z=1+1s   exec 'z=1+1's   UnicodeTypes   if 1:
    exec u'z=1+1\n'
    if z != 2: raise TestFailed, 'exec u\'z=1+1\'\\n'
    del z
    exec u'z=1+1'
    if z != 2: raise TestFailed, 'exec u\'z=1+1\''
(   s   Nones   zs
   TestFaileds   typess   hasattr(   s   zs   types(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   fs      	s   z = 1s   __builtins__s   zs   exec 'z = 1' in gs   ignores   global statements   modules   <string>s   global a; a = 1; b = 2s   exec ... in g (%s), l (%s)s   assert_stmts   if_stmts
   while_stmts   for_stmts   Squaresc      s#   t  Z d   Z d   Z d   Z RS(   Nc    s   | |  _  g  |  _ d  S(   N(   s   maxs   selfs   sofar(   s   selfs   max(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   __init__s    	c    s   t  |  i  Sd  S(   N(   s   lens   selfs   sofar(   s   self(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   __len__s    c    s}   d | j o |  i j  n o
 t  n t |  i  } x0 | | j o" |  i i | |  | d } q> W|  i | Sd  S(   Ni    i   (   s   is   selfs   maxs
   IndexErrors   lens   sofars   ns   append(   s   selfs   is   n(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   __getitem__s    " 
 (   s   __name__s
   __module__s   __init__s   __len__s   __getitem__(    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   Squaress   		i
   i  s   for over growing sequences   try_stmts   suites   tests
   comparisons   binary mask opss	   shift opss   additive opss   multiplicative opss	   unary opsis	   selectorsi   i   i	   s   times   01234iiis   atomss   ones   threes   fours   fives   sixs   xi{   s   classdefs   Bc      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   Bs    s   C1c      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   C1s    s   C2c      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   C2s    s   Dc      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   Ds    s   Cc      s#   t  Z d   Z d   Z d   Z RS(   Nc    s   d  S(   N(    (   s   self(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   meth1s    c    s   d  S(   N(    (   s   selfs   arg(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   meth2s    c    s   d  S(   N(    (   s   selfs   a1s   a2(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   meth3s    (   s   __name__s
   __module__s   meth1s   meth2s   meth3(    (    (    s'   /usr/lib/python2.2/test/test_grammar.pys   Cs   		s   Apples   Bananas   Coconuts     Apples    Banana s   Coco  nut  s   nc    sQ   g  i  } |  D]8 } | d j o% | t | j  o
 d j  n  n q ~ Sd  S(   Ni   i   (   s   appends   _[1]s   ls   xs   None(   s   ls   _[1]s   x(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   test_in_funcs      c     s^   g  i  }  d d d g D]; } |  g  i  } | | d g D] } | |  q8 ~  q ~  GHd  S(   Ni   i   i   (   s   appends   _[1]s   xs   _[2]s   y(   s   _[1]s   xs   ys   _[2](    (    s'   /usr/lib/python2.2/test/test_grammar.pys   test_nested_fronts     ! s"   [i, s for i in nums for s in strs]s   [x if y]s   Boeings   Fords
   Macdonaldss   Airlineri   s   Enginei   s   Cheeseburger(i   s   test_supports   syss   xs
   TestFaileds   maxints   ImportErrors   ss   evals   OverflowErrors   ys   verifys   lens   ords   f1s   f2s   f3s   f4s   f5s	   func_codes   co_varnamess   platforms
   startswiths   a1s   a2s   v0s   v1s   v2s   v3s   d01s   d11s   d21s   d02s   d12s   d22s   d01vs   d11vs   d21vs   d02vs   d12vs   d22vs   l1s   l2s   l3s   l4s   l5s   check_syntaxs   zs   abcs   as   bs   cs   xyzs   stdouts   Gulps   gulps   drivers   tellmes   Nones   is   msgs   test_break_continue_loops   g1s   g2s   RuntimeErrors   KeyboardInterrupts   times   paths   argvs   fs   gs   has_keys   ls   warningss   filterwarningss   js   ks   Squaress   ns   ZeroDivisionErrors   EOFErrors	   TypeErrors   moduless   Bs   C1s   C2s   Ds   Cs   numss   strss   spcss   appends   _[1]s   strips   _[2]s   test_in_funcs   test_nested_fronts	   supplierss   partss   supparts   snos   snames   pnos   pnames   sp_snos   sp_pno(O   s   d11vs   xyzs   maxints   d01vs   strss   sp_pnos   gulps   partss   msgs   C2s   C1s   numss   Bs   g2s   g1s   pnos   _[2]s   test_break_continue_loops   d12vs   d02s   d01s   fs	   supplierss   js   ls   ns   is   l4s   l5s   l2s   l3s   l1s   xs   _[3]s   zs   f1s   f2s   f3s   f4s   f5s   Cs   Gulps   test_nested_fronts   Squaress   Ds   sp_snos   abcs   supparts   d11s   d12s   tellmes   d21vs   test_in_funcs   spcss   d02vs   snames   warningss   snos   d22vs   drivers   syss   v1s   v2s   a2s   argvs   paths   v0s   cs   a1s   gs   d21s   ks   d22s   _[1]s   ss   v3s   times   ys   pname(    (    s'   /usr/lib/python2.2/test/test_grammar.pys   ? sZ  	
            	/BB##
	
				%&%"						)%1







			
	3

	!		


      
  			   
 			  	
  +                                          
  2              








 



%

%%(





	<    # 
 !   " !		

!!*