On 24.4.2011 9:05, jmfauth wrote: > Use the io module. For the record, when I use io.open(file=self.path, mode="rt", encoding=enc)) as fobj: my tests are passing and everything seems to work fine. That indicates there is a bug with codecs module and universal newline support. -- S pozdravom / Best regards Daniel Gerzo