<s> """<STR_LIT>""" <EOL> import io <EOL> import sys <EOL> PY3 = sys . version_info [ <NUM_LIT:0> ] == <NUM_LIT:3> <EOL> if PY3 : <EOL> StringIO = io . StringIO <EOL> BytesIO = io . BytesIO <EOL> import codecs <EOL> open_with_encoding = codecs . open <EOL> range = range <EOL> ifilter = filter <EOL> raw_input = input <EOL> import configparser <EOL> CONFIGPARSER_BOOLEAN_STATES = configparser . ConfigParser . BOOLEAN_STATES <EOL> else : <EOL> import __builtin__ <EOL> import cStringIO <EOL> StringIO = BytesIO = cStringIO . StringIO <EOL> open_with_encoding = io . open <EOL> range = xrange <EOL> from itertools import ifilter <EOL> raw_input = raw_input <EOL> import ConfigParser as configparser <EOL> CONFIGPARSER_BOOLEAN_STATES = configparser . ConfigParser . _boolean_states <EOL> def EncodeAndWriteToStdout ( s , encoding ) : <EOL> """<STR_LIT>""" <EOL> if PY3 : <EOL> sys . stdout . buffer . write ( codecs . encode ( s , encoding ) ) <EOL> else : <EOL> sys . stdout . write ( s . encode ( encoding ) ) <EOL> def unicode ( s ) : <EOL> """<STR_LIT>""" <EOL> if PY3 : <EOL> return s <EOL> else : <EOL> return __builtin__ . unicode ( s , '<STR_LIT:utf-8>' ) <EOL> class ConfigParser ( configparser . ConfigParser ) : <EOL> if not PY3 : <EOL> def read_file ( self , fp , source = None ) : <EOL> self . readfp ( fp , filename = source ) </s>
