Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_compile.pyc |
³ò h”Rc @ sr d d k Z d d k Z d d k Z d d k l Z d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( iÿÿÿÿN( t test_supportt TestSpecificsc B sâ e 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 e i d j o d „ Z n d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C sR | i t t d d d ƒ d d k } | i } t | d d ƒ t | d | ƒ d S( Ns __debug__ = 1t ?t singleiÿÿÿÿt __debug__t sure( t assertRaisest SyntaxErrort compilet __builtin__R t setattr( t selfR t prev( ( s- /usr/local/lib/python2.5/test/test_compile.pyt test_debug_assignment s c B sÊ | i e e d ƒ | i e e d ƒ | i e e d ƒ y d d U| i d ƒ Wn e j o n Xy d d U| i d ƒ Wn e j o n Xy d d U| i d ƒ Wn e j o n Xd S( Ns lambda a,a:0s lambda a,a=1:0s lambda a=1,a=1:0s def f(a, a): passs duplicate argumentss def f(a = 0, a = 1): passs duplicate keyword argumentss def f(a): global a; a = 1s variable is global and local( R R t evalt fail( R ( ( s- /usr/local/lib/python2.5/test/test_compile.pyt test_argument_handling s$ c C s | i t t d d d ƒ d S( Ns 1+*3t filenamet exec( R R R ( R ( ( s- /usr/local/lib/python2.5/test/test_compile.pyt test_syntax_error% s c C s | i t t d d d ƒ d S( Ns f(None=1)s <string>R ( R R R ( R ( ( s- /usr/local/lib/python2.5/test/test_compile.pyt test_none_keyword_arg( s c B s3 y d d U| i d ƒ Wn e j o n Xd S( Ns def f(a): global a; a = 1s variable is global and local( R R ( R ( ( s- /usr/local/lib/python2.5/test/test_compile.pyt test_duplicate_global_local+ s c B sŸ d d d „ ƒ Y} | ƒ } e ƒ } d | | U| i | i d ƒ y d | | UWn e j o n X| i d ƒ d | | U| i | i d e d ƒ f ƒ d | | U| i | i d | f ƒ d | | U| i | i d | f ƒ y d | UWn e j o n X| i d ƒ d d d „ ƒ Y} | ƒ } y d | | UWn e j o n X| i d ƒ d e f d „ ƒ Y} | ƒ } d | | U| i | d d ƒ d S( Nt Mc B s) e Z d Z d „ Z d „ Z d „ Z RS( s9 Test mapping interface versus possible calls from eval().c S s | d j o d Sn t ‚ d S( Nt ai ( t KeyError( R t key( ( s- /usr/local/lib/python2.5/test/test_compile.pyt __getitem__6 s c S s | | f | _ d S( N( t results( R R t value( ( s- /usr/local/lib/python2.5/test/test_compile.pyt __setitem__: s c S s t d ƒ S( Nt xyz( t list( R ( ( s- /usr/local/lib/python2.5/test/test_compile.pyt keys<