<s> import sys <EOL> PY3 = False <EOL> PY2 = False <EOL> PY25 = False <EOL> PY27 = False <EOL> PY3 = False <EOL> PY32 = False <EOL> if sys . version_info >= ( <NUM_LIT:2> , <NUM_LIT:0> ) and sys . version_info < ( <NUM_LIT:3> , <NUM_LIT:0> ) : <EOL> PY2 = True <EOL> if sys . version_info >= ( <NUM_LIT:2> , <NUM_LIT:5> ) and sys . version_info <= ( <NUM_LIT:2> , <NUM_LIT:6> ) : <EOL> PY25 = True <EOL> if sys . version_info >= ( <NUM_LIT:2> , <NUM_LIT:7> ) and sys . version_info <= ( <NUM_LIT:2> , <NUM_LIT:8> ) : <EOL> PY27 = True <EOL> if sys . version_info >= ( <NUM_LIT:3> , <NUM_LIT:0> ) : <EOL> PY3 = True <EOL> if sys . version_info >= ( <NUM_LIT:3> , <NUM_LIT:2> ) and sys . version_info < ( <NUM_LIT:3> , <NUM_LIT:3> ) : <EOL> PY32 = True <EOL> if PY3 : <EOL> from urllib . parse import urlencode as urlencode <EOL> from urllib . parse import unquote as unquote <EOL> u = str <EOL> def b ( s ) : <EOL> if isinstance ( s , str ) : <EOL> return s . encode ( '<STR_LIT:utf-8>' ) <EOL> elif isinstance ( s , bytes ) : <EOL> return s <EOL> else : <EOL> raise TypeError ( "<STR_LIT>" % ( s , ) ) <EOL> else : <EOL> from urllib import urlencode as urlencode <EOL> from urllib import unquote as unquote <EOL> u = unicode <EOL> b = bytes = str <EOL> if PY27 or PY3 : <EOL> unittest2_required = False <EOL> else : <EOL> unittest2_required = True </s>
