martin v löwis qpnyslvloewisde typeresponse str str im taking literally writes tool wont touch anything strbytesunicodestr move assumed meant wouldnt touch unicode snippet gave right definitely replaces unicodestr fragment tool also make following work correctly types str unicodes utf8 outputs types str strs utf8 probably correct however 26 could write types bytes unicodes utf8 bytes str 26 want support even older versions try bytes except nameerror bytes str somewhere write code proposed regards martin _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom wed 06 aug 2008 124101 0500 pythondev breaking distutils pypi python 3000