
[d:c    	   s     d  k  Z   d  k Z  d  k Z  d  k Z  d  k Z 	 d  k Z 
 d k l Z  d k T d  k	 Z	  d k
 l
 Z
 l Z  d k l Z  d k l Z  d k l Z  d k l Z  d k l Z  d  k Z  e i d	  Z # e e _ G d
 e
 f d     YZ \ d e f d     YZ m d e f d     YZ  d e f d     YZ  d e f d     YZ d e f d     YZ d f  d     YZ d Z d   Z e d j o e   n d  S(   N(   s   InteractiveInterpreter(   s   *(   s   EditorWindows   fixwordbreaks(   s   FileList(   s   ColorDelegator(   s   UndoDelegator(   s   OutputWindow(   s   idleconfc    s     t  i }  h  }  xK | i   d  r8 }  | d  | d d j o   | | | | <n q* W! |    " | i |  d  S(   Ni    i   s   <>(   s	   linecaches   caches   saves   keyss   filenames   orig_checkcaches   update(   s   orig_checkcaches   caches   saves   filenames+   /mit/python/share/python2.0/idle/PyShell.pys   linecache_checkcache s   	 	
s   PyShellEditorWindowc      s2   G L d   Z  Q d d f g Z U e d  Z RS(   Nc    sV   L M t  t i |  f |  N |  i i d |  i  O |  i i d |  i i	  d  S(   Ns   <<set-breakpoint-here>>s   <<open-python-shell>>(
   s   applys   EditorWindows   __init__s   selfs   argss   texts   binds   set_breakpoint_heres   flists
   open_shell(   s   selfs   argss+   /mit/python/share/python2.0/idle/PyShell.pys   __init__L s   s   Set breakpoint heres   <<set-breakpoint-here>>c    sc   U V |  i i p |  i i i i o W |  i i   X d  Sn Y |  i i i i i |   d  S(   N(   s   selfs   flists   pyshells   interps   debuggers   texts   bells   set_breakpoint_here(   s   selfs   events+   /mit/python/share/python2.0/idle/PyShell.pys   set_breakpoint_hereU s   %(   s   __init__s   rmenu_specss   Nones   set_breakpoint_here(    s+   /mit/python/share/python2.0/idle/PyShell.pys   PyShellEditorWindowG s   s   PyShellFileListc      s&   \ ` e  Z b e Z d e d  Z RS(   Nc    sT   d e |  i o f |  i i   n# h t |   |  _ i |  i i   j |  i Sd  S(   N(   s   selfs   pyshells   wakeups   PyShells   begin(   s   selfs   events+   /mit/python/share/python2.0/idle/PyShell.pys
   open_shelld s
   (   s   PyShellEditorWindows   EditorWindows   Nones   pyshells
   open_shell(    s+   /mit/python/share/python2.0/idle/PyShell.pys   PyShellFileList\ s   		s   ModifiedColorDelegatorc      s   m q d   Z  v e i i   Z w e i d  Z y e i h  e i d  d <e i d  d <e i d  d <e i d  d <e i d  d <e i d  e	 < RS(	   Nc    sC   q r |  i d d d  s |  i d d d  t t i |   d  S(   Ns   TODOs   1.0s   iomarks   SYNC(   s   selfs
   tag_removes   tag_adds   ColorDelegators   recolorize_main(   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   recolorize_mainq s   s   Colorss   stdins   stdouts   stderrs   consoles   ERRORs   normal(
   s   recolorize_mains   ColorDelegators   tagdefss   copys   idleconfs
   getsections   cconfs   updates   getcolors   None(    s+   /mit/python/share/python2.0/idle/PyShell.pys   ModifiedColorDelegatorm s   s   ModifiedUndoDelegatorc      s#     e  d  Z  e  d  Z RS(   Nc    sz     y;  |  i i | d d  o  |  i i    d  Sn Wn  t j
 o
  n X t i |  | | |  d  S(   Ns   <s   iomark(
   s   selfs   delegates   compares   indexs   bells   TclErrors   UndoDelegators   inserts   charss   tags(   s   selfs   indexs   charss   tagss+   /mit/python/share/python2.0/idle/PyShell.pys   insert s   c    sw     y;  |  i i | d d  o  |  i i    d  Sn Wn  t j
 o
  n X t i |  | |  d  S(   Ns   <s   iomark(	   s   selfs   delegates   compares   index1s   bells   TclErrors   UndoDelegators   deletes   index2(   s   selfs   index1s   index2s+   /mit/python/share/python2.0/idle/PyShell.pys   delete s   (   s   Nones   inserts   delete(    s+   /mit/python/share/python2.0/idle/PyShell.pys   ModifiedUndoDelegator s   	s   ModifiedInterpreterc      s     d   Z   d Z  d   Z  e d  Z  d   Z  d   Z  e d  Z  d   Z  d	   Z	  d
   Z
  e Z  d   Z  d   Z  d   Z d   Z RS(   Nc    s<     | |  _   t i d i }  t i |  d | d  S(   Ns   __main__s   locals(   s	   tkconsoles   selfs   syss   moduless   __dict__s   localss   InteractiveInterpreters   __init__(   s   selfs	   tkconsoles   localss+   /mit/python/share/python2.0/idle/PyShell.pys   __init__ s   i    c    s,     |  i |  }  |  i | |  d  S(   N(   s   selfs   stuffsources   sources   filenames   execfile(   s   selfs   sources   filenames+   /mit/python/share/python2.0/idle/PyShell.pys
   execsource s   c    s     | t j o  t | d  i   } n  y  t | | d  } Wn?  t t f j
 o*  |  i
 i    t i |  |  n X |  i |  d  S(   Ns   rs   exec(   s   sources   Nones   opens   filenames   reads   compiles   codes   OverflowErrors   SyntaxErrors   selfs	   tkconsoles   resetoutputs   InteractiveInterpreters   showsyntaxerrors   runcode(   s   selfs   filenames   sources   codes+   /mit/python/share/python2.0/idle/PyShell.pys   execfile s   c    s;     |  i |  }  d |  _  t i |  | |  Sd  S(   Ni    (   s   selfs   stuffsources   sources   filenames   mores   InteractiveInterpreters	   runsource(   s   selfs   sources   filenames+   /mit/python/share/python2.0/idle/PyShell.pys	   runsource s   c    sl     d |  i }  |  i d |  _  t i | d  }  t |  d d | | f t i	 | < | Sd  S(   Ns   <pyshell#%d>i   s   
i    (
   s   selfs   gids   filenames   strings   splits   sources   liness   lens	   linecaches   cache(   s   selfs   sources   filenames   liness+   /mit/python/share/python2.0/idle/PyShell.pys   stuffsource s
   &c 
   sU    |  i i }  |  i   }  | o.  |  i i    t i |  |   d  Sn  | \ } } } }  | d j o  d | d } n  d | d | d f }  | i d |   | i |   | i |  }	  |	 o |	 t i t i d j o  | i d | d |  n  |  i i    |  i d t |   d  S(   Ni   s   iomark + %d charss&   iomark linestart + %d lines + %d charss   ERRORs   _s
    wordstarts   SyntaxError: %s
(   s   selfs	   tkconsoles   texts   unpackerrors   stuffs   resetoutputs   InteractiveInterpreters   showsyntaxerrors   filenames   msgs   linenos   offsets   lines   poss   tag_adds   sees   gets   chars   strings   letterss   digitss   writes   str(
   s   selfs   filenames   texts   stuffs   msgs   linenos   offsets   lines   poss   chars+   /mit/python/share/python2.0/idle/PyShell.pys   showsyntaxerror s"   %c 
   s     t  i   \ } } }  | t j }  | o<  y  | \ } \ } } } }	 Wn   d } n Xn  | o  | | | |	 f Sn  t Sd  S(   Ni    (   s   syss   exc_infos   types   values   tbs   SyntaxErrors   oks   msgs   dummy_filenames   linenos   offsets   lines   None(
   s   selfs   types   values   tbs   oks   msgs   dummy_filenames   linenos   offsets   lines+   /mit/python/share/python2.0/idle/PyShell.pys   unpackerror s   

c    sC     |  i i }  |  i i    |  i    t i |   d  S(   N(   s   selfs	   tkconsoles   texts   resetoutputs   checklinecaches   InteractiveInterpreters   showtraceback(   s   selfs   texts+   /mit/python/share/python2.0/idle/PyShell.pys   showtraceback s   c    s]     t  i }  xD | i   d  r1 }  | d  | d d j o  | | =n q! Wd  S(   Ni    i   s   <>(   s	   linecaches   caches   cs   keyss   key(   s   selfs   cs   keys+   /mit/python/share/python2.0/idle/PyShell.pys   checklinecache s
    	c    s     | |  _  d  S(   N(   s   debuggers   self(   s   selfs   debuggers+   /mit/python/share/python2.0/idle/PyShell.pys   setdebugger s   c    s     |  i Sd  S(   N(   s   selfs   debugger(   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   getdebugger s   c    sE    |  i }  z |  i i    y6  | o | i | |  i  n | |  i UWn e j
 oy e i	 d d d d 	d |  i i
 o
 
  n8 |  i   |  i i d  o |  i i   n nB |  i   |  i i d  o |  i i   n n XWd  |  i i   Xd  S(   Ns   Exit?s   Do you want to exit altogether?s   defaults   yess   masters   <<toggle-jit-stack-viewer>>(   s   selfs   debuggers	   tkconsoles   beginexecutings   runs   codes   localss
   SystemExits   tkMessageBoxs   askyesnos   texts   showtracebacks   getvars   open_stack_viewers   endexecuting(   s   selfs   codes   debuggers+   /mit/python/share/python2.0/idle/PyShell.pys   runcode s,   
	
c    s   |  i i i |  d  S(   N(   s   selfs	   tkconsoles   consoles   writes   s(   s   selfs   ss+   /mit/python/share/python2.0/idle/PyShell.pys   writes   (   s   __init__s   gids
   execsources   Nones   execfiles	   runsources   stuffsources   showsyntaxerrors   unpackerrors   showtracebacks   checklinecaches   debuggers   setdebuggers   getdebuggers   runcodes   write(    s+   /mit/python/share/python2.0/idle/PyShell.pys   ModifiedInterpreter s   		s   PyShellc      s  d Z  !e Z "e Z %e i Z &e i e e  d d d f  )d k	 l
 Z
 +e d  Z Qd Z Rd Z Sd Z Td Z Ve d  Z dd	   Z he d
  Z kd   Z vd   Z }d   Z d   Z d   Z d   Z d   Z d   Z d Z d   Z d   Z d   Z d   Z  d   Z! d   Z" d   Z# d   Z$ d   Z% Fd   Z& Jd   Z' Ze( i) e( i* d  Z+ ke d   Z, wd!   Z- d"   Z. f  d#  Z/ RS($   Ns   Python Shelli   s   debugs   _Debug(   s   Historyc    sG  +,t  |   |  _ -| t j o9 .t   } /t |  0| i   1t	 |  } n 3t
 i |  | t t  5d  k } 6d | _ | _ 8|  i d |  _ 9|  i i d d d d d d  ;|  i } <| i d d	  =| i d
 |  i  >| i d |  i  ?| i d |  i  @| i d |  i  A| i d |  i  B| i d |  i  C| i d |  i  D| i d |  i i  E| i d |  i  Gt i |  _  Ht i! |  _" It i# |  _$ Jt% |  d  t _ Kt% |  d  t _! L|  t _# Mt% |  d  |  _& O|  i' |  i  |  _( d  S(   Ns   To exit, type Ctrl-D.s
   AutoIndents   usetabsi   s   indentwidthi   s   context_use_ps1s   wraps   chars   <<newline-and-indent>>s   <<plain-newline-and-indent>>s   <<interrupt-execution>>s   <<beginning-of-line>>s   <<end-of-file>>s   <<open-stack-viewer>>s   <<toggle-debugger>>s   <<open-python-shell>>s   <<toggle-jit-stack-viewer>>s   stdouts   stderrs   console()   s   ModifiedInterpreters   selfs   interps   flists   Nones   Tks   roots   fixwordbreakss   withdraws   PyShellFileLists   OutputWindows   __init__s   __builtin__s   quits   exits
   extensionss   autos   configs   texts	   configures   binds   enter_callbacks   linefeed_callbacks   cancel_callbacks   home_callbacks   eof_callbacks   open_stack_viewers   toggle_debuggers
   open_shells   toggle_jit_stack_viewers   syss   stdouts   save_stdouts   stderrs   save_stderrs   stdins
   save_stdins
   PseudoFiles   consoles   Historys   history(   s   selfs   flists   roots   __builtin__s   texts+   /mit/python/share/python2.0/idle/PyShell.pys   __init__+s<   "i    c    s   VW|  i o: Xt i d Yd Zd |  i [|  i   \d Sn; ^|  i i   } _| o `|  i	   n b|  i
   d  S(   Ns   Don't debug nows*   You can only toggle the debugger when idles   masters   break(   s   selfs	   executings   tkMessageBoxs	   showerrors   texts   set_debugger_indicators   interps   getdebuggers   dbs   close_debuggers   open_debugger(   s   selfs   events   dbs+   /mit/python/share/python2.0/idle/PyShell.pys   toggle_debuggerVs   
c    s.   de|  i i   } f|  i d |  d  S(   Ns   <<toggle-debugger>>(   s   selfs   interps   getdebuggers   dbs   setvar(   s   selfs   dbs+   /mit/python/share/python2.0/idle/PyShell.pys   set_debugger_indicatords   c    s
   hid  S(   N(    (   s   selfs   events+   /mit/python/share/python2.0/idle/PyShell.pys   toggle_jit_stack_viewerhs   c    s   kl|  i i   } m| o] n|  i i t  o| i   p|  i   q|  i i	 d  rd t
 _ s|  i   n t|  i   d  S(   Ns   [DEBUG OFF]
s   >>> (   s   selfs   interps   getdebuggers   dbs   setdebuggers   Nones   closes   resetoutputs   consoles   writes   syss   ps1s
   showprompts   set_debugger_indicator(   s   selfs   dbs+   /mit/python/share/python2.0/idle/PyShell.pys   close_debuggerks   
c    sU   vwd  k  } x|  i i | i  |    yd t _ z|  i   {|  i   d  S(   Ns   [DEBUG ON]
>>> (   s   Debuggers   selfs   interps   setdebuggers   syss   ps1s
   showprompts   set_debugger_indicator(   s   selfs   Debuggers+   /mit/python/share/python2.0/idle/PyShell.pys   open_debuggervs
   c    s    }|  i   d |  _ d  S(   Ni   (   s   selfs   resetoutputs	   executing(   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   beginexecuting}s   c    s   d |  _ d |  _ d  S(   Ni    (   s   selfs	   executings   canceled(   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   endexecutings   c    s   |  i or t i d d d d d |  i o d Sn d |  _ |  i o |  i i   n d Sn t	 i
 |   Sd  S(   Ns   Kill?s5   The program is still running; do you want to kill it?s   defaults   oks   masters   canceli   (   s   selfs	   executings   tkMessageBoxs   askokcancels   texts   canceleds   readings   tops   quits   PyShellEditorWindows   close(   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   closes   	c    s   |  i   |  i t _ |  i t _ |  i t _ t	 |  _
 t	 |  _ t	 |  _ t	 |  i _ t	 |  _ t i |   d  S(   N(   s   selfs   close_debuggers   save_stdouts   syss   stdouts   save_stderrs   stderrs
   save_stdins   stdins   Nones   interps   consoles   autos   flists   pyshells   historys   OutputWindows   _close(   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   _closes   c    s   d Sd  S(   Ni   (    (   s   selfs   filenames+   /mit/python/share/python2.0/idle/PyShell.pys   ispythonsources   c    s   |  i Sd  S(   N(   s   selfs   shell_title(   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   short_titles   s>   Type "copyright", "credits" or "license" for more information.c    s   |  i   |  i d t i t i |  i t i f  y t i	 Wn" t
 j
 o d t _	 n X|  i   d  k } t | _ d  S(   Ns0   Python %s on %s
%s
IDLE %s -- press F1 for help
s   >>> (   s   selfs   resetoutputs   writes   syss   versions   platforms	   COPYRIGHTs   idlevers   IDLE_VERSIONs   ps1s   AttributeErrors
   showprompts   Tkinters   Nones   _default_root(   s   selfs   Tkinters+   /mit/python/share/python2.0/idle/PyShell.pys   begins   ,c    s$   |  i   |  i i   d  S(   N(   s   selfs   begins   tops   mainloop(   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   interacts   c    s   |  i } z  d |  _ |  i i   Wd  | |  _ X|  i i d d  } |  i   |  i	 o d |  _	 t
  n |  i o d |  _ d Sn | Sd  S(   Ni   s   iomarks   end-1ci    s    (   s   selfs   readings   saves   tops   mainloops   texts   gets   lines   resetoutputs   canceleds   KeyboardInterrupts	   endoffile(   s   selfs   saves   lines+   /mit/python/share/python2.0/idle/PyShell.pys   readlines   c    s   d Sd  S(   Ni   (    (   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   isattys   c    s   y+ |  i i d d d  o d  Sn Wn n X|  i p |  i o5 |  i   |  i d  |  i   d Sn d |  _ d |  _	 |  i o |  i
 i   n d Sd  S(   Ns	   sel.firsts   !=s   sel.lasts   KeyboardInterrupt
s   breaki    i   (   s   selfs   texts   compares	   executings   readings   resetoutputs   writes
   showprompts	   endoffiles   canceleds   tops   quit(   s   selfs   events+   /mit/python/share/python2.0/idle/PyShell.pys   cancel_callbacks   c    s   |  i o |  i o d  Sn |  i i d d d  o |  i i d d d  o d  Sn |  i o |  i   |  i   n) d |  _ d |  _ |  i	 i
   d Sd  S(   Ns   iomarks   ==s   inserts   end-1ci    i   s   break(   s   selfs	   executings   readings   texts   compares   resetoutputs   closes   canceleds	   endoffiles   tops   quit(   s   selfs   events+   /mit/python/share/python2.0/idle/PyShell.pys   eof_callbacks   6c    s   | i d j o | i d j o d  Sn  |  i i d d d  o |  i i d d d  oM |  i i d d  |  i i d d d	  |  i i d  d
 Sn d  S(   Ni    s   Homes   iomarks   <=s   inserts   insert linestarts   sels   1.0s   ends   break(	   s   events   states   keysyms   selfs   texts   compares   mark_sets
   tag_removes   see(   s   selfs   events+   /mit/python/share/python2.0/idle/PyShell.pys   home_callbacks   #5c    s[   	|  i o- 
|  i i d d  |  i i d  n |  i i |  d Sd  S(   Ns   inserts   
s   break(   s   selfs   readings   texts   inserts   sees   autos   auto_indents   event(   s   selfs   events+   /mit/python/share/python2.0/idle/PyShell.pys   linefeed_callbacks
   c    s  |  i o |  i o d  Sn ya |  i i d d  } | o; |  i i d d d  o |  i |  d Sn n Wn n X |  i i d d d  o"|  i i d	 d  } #| o |  i i d d | d
  o2 $|  i |  i i | d | d
   %d Sn &|  i i
 d	 d  } '| o |  i i d d | d  o2 (|  i |  i i | d | d
   )d Sn +|  i |  i i d d   ,d Sn /|  i i d d  } 0| o t i |  o 1|  i i d d  n 4|  i i d d d  o 5|  i i |  6d Sn 8|  i i d d  9|  i o- :|  i i d d  ;|  i i d  n =|  i i |  >|  i i d	 d d  ?|  i i   @|  i o A|  i i   n C|  i   Dd Sd  S(   Ns	   sel.firsts   sel.lasts   <=s   iomarks   breaks   inserts   <s   iomark linestarts   stdini   i    s   insert lineends   >=s   insert linestarts   end-1cs   end-1c linestarts   
(   s   selfs	   executings   readings   texts   gets   sels   compares   recalls   tag_prevranges   prevs   tag_nextranges   nexts   ss   strings   strips   deletes   autos   auto_indents   events   mark_sets   inserts   sees   tag_adds   update_idletaskss   tops   quits   runit(   s   selfs   events   sels   prevs   nexts   ss+   /mit/python/share/python2.0/idle/PyShell.pys   enter_callbacksL   
''''c    s+   FG|  i o H|  i i |  n d  S(   N(   s   selfs   historys   recalls   s(   s   selfs   ss+   /mit/python/share/python2.0/idle/PyShell.pys   recallFs   c    s  JK|  i i d d  } Nt |  } Ox7 O| d j o | | d d j o P| d } q0 WQ| d j o | | d d j o R| d } n Sx7 S| d j o | | d d j o T| d } q WU| |  } V|  i i |  } W| o X|  i	   n d  S(   Ns   iomarks   end-1ci    i   s    	s   
(
   s   selfs   texts   gets   lines   lens   is   interps	   runsources   mores
   showprompt(   s   selfs   lines   is   mores+   /mit/python/share/python2.0/idle/PyShell.pys   runitJs    %% %c    s\   Zc|  i o dd  Sn e| |  f|  i o gd |  _ ht  n i|  i Sd  S(   Ni    (   s   selfs   canceleds
   dooneevents   dontwaits   KeyboardInterrupts   _cancel_check(   s   selfs   frames   whats   argss
   dooneevents   dontwaits+   /mit/python/share/python2.0/idle/PyShell.pys   cancel_checkZs   	c    sv   kly mt  i Wn3 not i d pd rd |  i sd  Sn Xtd k l } u| |  i |  i	  } d  S(   Ns   No stack traces@   There is no stack trace yet.
(sys.last_traceback is not defined)s   master(   s   StackBrowser(   s   syss   last_tracebacks   tkMessageBoxs	   showerrors   selfs   texts   StackViewers   StackBrowsers   roots   flists   sv(   s   selfs   events   StackBrowsers   svs+   /mit/python/share/python2.0/idle/PyShell.pys   open_stack_viewerks   c    sl   wx|  i   yy zt t i  } Wn {|d } n X}|  i i |  ~|  i i	 d d  d  S(   Ns    s   inserts   end-1c(
   s   selfs   resetoutputs   strs   syss   ps1s   ss   consoles   writes   texts   mark_set(   s   selfs   ss+   /mit/python/share/python2.0/idle/PyShell.pys
   showpromptws   c    s   |  i i d d  } |  i o |  i i |  n |  i i d  d j o |  i i d d  n |  i i d d  d t i	 _
 d  S(   Ns   iomarks   end-1cs   end-2cs   
i    (   s   selfs   texts   gets   sources   historys   history_stores   inserts   mark_sets   syss   stdouts	   softspace(   s   selfs   sources+   /mit/python/share/python2.0/idle/PyShell.pys   resetoutputs   c    sr   |  i i d d  t i |  | | d  |  i i d d  |  i o d |  _ t  n d  S(   Ns   iomarks   rights   lefti    (	   s   selfs   texts   mark_gravitys   OutputWindows   writes   ss   tagss   canceleds   KeyboardInterrupt(   s   selfs   ss   tagss+   /mit/python/share/python2.0/idle/PyShell.pys   writes   (0   s   shell_titles   ModifiedColorDelegators   ColorDelegators   ModifiedUndoDelegators   UndoDelegators   PyShellEditorWindows
   menu_specss   inserts   lens   IdleHistorys   Historys   Nones   __init__s   readings	   executings   canceleds	   endoffiles   toggle_debuggers   set_debugger_indicators   toggle_jit_stack_viewers   close_debuggers   open_debuggers   beginexecutings   endexecutings   closes   _closes   ispythonsources   short_titles	   COPYRIGHTs   begins   interacts   readlines   isattys   cancel_callbacks   eof_callbacks   home_callbacks   linefeed_callbacks   enter_callbacks   recalls   runits   tkinters
   dooneevents	   DONT_WAITs   cancel_checks   open_stack_viewers
   showprompts   resetoutputs   write(    s+   /mit/python/share/python2.0/idle/PyShell.pys   PyShellsN   			#&					
	6		s
   PseudoFilec      sA   d   Z  d   Z d   Z d   Z d   Z RS(   Nc    s   | |  _  | |  _ d  S(   N(   s   shells   selfs   tags(   s   selfs   shells   tagss+   /mit/python/share/python2.0/idle/PyShell.pys   __init__s   c    s    |  i i | |  i  d  S(   N(   s   selfs   shells   writes   ss   tags(   s   selfs   ss+   /mit/python/share/python2.0/idle/PyShell.pys   writes   c    s   t  |  i |  d  S(   N(   s   maps   selfs   writes   l(   s   selfs   ls+   /mit/python/share/python2.0/idle/PyShell.pys
   writeliness   c    s
   d  S(   N(    (   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   flushs   c    s   d Sd  S(   Ni   (    (   s   selfs+   /mit/python/share/python2.0/idle/PyShell.pys   isattys   (   s   __init__s   writes
   writeliness   flushs   isatty(    s+   /mit/python/share/python2.0/idle/PyShell.pys
   PseudoFiles
   s  usage: idle.py [-c command] [-d] [-e] [-s] [-t title] [arg] ...

-c command  run this command
-d          enable debugger
-e          edit mode; arguments are files to be edited
-s          run $IDLESTARTUP or $PYTHONSTARTUP before anything else
-t title    set title of shell window

When neither -c nor -e is used, and there are arguments, and the first
argument is not '-', the first argument is run as a script.  Remaining
arguments are arguments to the script or to the command run by -c.
c     s  t  }  d } d } d } y& t i t i d d  \ } } Wn[ t i
 j
 oI } t i i d t |   t i i t  t i d  n Xx | d r \ } } | d j o | }  n | d j o d } n | d j o d } n | d	 j o d } n | d
 j o | t _ n q WxE t t t i   d r) }	 t i i t i |	  t i |	 <q|Wg  }
 | o9 x/ | d r" } |
 i t i i |   qWnS | o | d d j o$ |
 i t i i | d   n |
 i t i  xV |
 d rI } t i i |  } | t i j o t i i! d |  n qVWt" d d  a# t$ t#  t# i%   t& t#  a' | o- x# | d r } t' i( |  qWn8 |  o d g | t _ n | p d g t _ t t'  } | i* } | t' _+ | o] t i, i- d  p t i, i- d  } | o t i i. |  o | i/ |  n n | o | i0   n |  o | i1 |   n< | o | o | d d j o | i/ | d  n | i2   t# i3   t# i4   d  S(   Ni    i   s   c:deist:s
   Error: %s
i   s   -cs   -ds   -es   -ss   -ts   -s	   classNames   Idles    s   IDLESTARTUPs   PYTHONSTARTUP(5   s   Nones   cmds   edits   debugs   startups   getopts   syss   argvs   optss   argss   errors   msgs   stderrs   writes   strs	   usage_msgs   exits   os   as   PyShells   shell_titles   ranges   lens   paths   is   oss   abspaths   pathxs   filenames   appends   dirnames   curdirs   dirs   inserts   Tks   roots   fixwordbreakss   withdraws   PyShellFileLists   flists   opens   shells   interps   pyshells   environs   gets   isfiles   execfiles   open_debuggers
   execsources   begins   mainloops   destroy(   s   cmds   edits   debugs   startups   optss   argss   msgs   os   as   is   pathxs   filenames   dirs   shells   interps+   /mit/python/share/python2.0/idle/PyShell.pys   mains   				&  	'	
 	$$ 	
 	

(

#s   __main__(   s   oss   syss   strings   getopts   res	   linecaches   codes   InteractiveInterpreters   Tkinters   tkMessageBoxs   EditorWindows   fixwordbreakss   FileLists   ColorDelegators   UndoDelegators   OutputWindows   IdleConfs   idleconfs   idlevers
   checkcaches   linecache_checkcaches   PyShellEditorWindows   PyShellFileLists   ModifiedColorDelegators   ModifiedUndoDelegators   ModifiedInterpreters   PyShells
   PseudoFiles	   usage_msgs   mains   __name__(    s+   /mit/python/share/python2.0/idle/PyShell.pys   ? s:   
$ v	O