#NEWLINE# def __init__( self , stream ) : #NEWLINE# #INDENT# self . name = None #NEWLINE# self . stream = None #NEWLINE# self . stream_pointer = 0 #NEWLINE# self . eof = True #NEWLINE# self . buffer = '' #NEWLINE# self . pointer = 0 #NEWLINE# self . full_buffer = unicode ( '' ) #NEWLINE# self . full_pointer = 0 #NEWLINE# self . raw_buffer = None #NEWLINE# self . raw_decode = codecs . utf_8_decode #NEWLINE# self . encoding = 'utf-8' #NEWLINE# self . index = 0 #NEWLINE# self . line = 0 #NEWLINE# self . column = 0 #NEWLINE# self . stream = stream #NEWLINE# self . name = getattr ( stream , 'name' , '<file>' ) #NEWLINE# self . eof = False #NEWLINE# self . raw_buffer = None #NEWLINE# while ( ( not self . eof ) and ( ( self . raw_buffer is None ) or ( len ( self . raw_buffer ) < 2 ) ) ) : #NEWLINE# #INDENT# self . update_raw ( ) #NEWLINE# #UNINDENT# self . update ( 1 )