nick coghlan uytankmfgmailcom oleg broytmann wrote wed apr 16 2008 101113pm 1000 nick coghlan wrote atsuo ishimoto wrote ioerror errno 2 file directory u65e5u672cu8a9e starting seem like something addressed sysdisplayhookexcepthook interactive interpreter level problem manifests scripts traceback recent call last file tttpy line 4 openтест filename koi8r encoding ioerror errno 2 file directory xd4xc5xd3xd4 hmm io module along sysstdouterr may better way attack problem given import sys io class parseunicodeescapesiotextiowrapper def writeself text superwritetextencodelatin1decodeunicode_escape args sysstdoutbuffer sysstdoutencoding sysstdouterrors none sysstdoutline_buffering sysstdout parseunicodeescapesargs args sysstderrbuffer sysstderrencoding sysstderrerrors none sysstderrline_buffering sysstderr parseunicodeescapesargs get тест тест openтест traceback recent call last file line 1 file homencoghlandevelpy3klibiopy line 212 __new__ return openargs kwargs file homencoghlandevelpy3klibiopy line 151 open closefd ioerror errno 2 file directory тест cheers nick nick coghlan ncoghlangmailcom brisbane australia httpwwwboredomandlazinessorg _______________________________________________ python3000 mailing list python3000pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom fri 08 aug 2008 024936 1000 python3000 displaying strings containing unicode escapes interactive prompt