Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3945
| Date | 2011-04-24 10:21 +0200 |
|---|---|
| From | Daniel Geržo <danger@rulez.sk> |
| Subject | Re: detecting newline character |
| References | <4DB315D7.1020405@rulez.sk> <mailman.781.1303585944.9059.python-list@python.org> <1450471.fLXkozyCbt@PointedEars.de> <mailman.784.1303590332.9059.python-list@python.org> <4d21a2c2-ff43-488f-8d12-b17f0bb94da1@q21g2000vbs.googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.791.1303633309.9059.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Re: detecting newline character Chris Rebert <clp2@rebertia.com> - 2011-04-23 12:12 -0700
Re: detecting newline character Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-04-23 21:33 +0200
Re: detecting newline character Daniel Geržo <danger@rulez.sk> - 2011-04-23 22:25 +0200
Re: detecting newline character Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-04-24 01:30 +0200
Re: detecting newline character jmfauth <wxjmfauth@gmail.com> - 2011-04-24 00:05 -0700
Re: detecting newline character Daniel Geržo <danger@rulez.sk> - 2011-04-24 10:21 +0200
Re: detecting newline character Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-04-24 11:19 +0200
Re: detecting newline character Daniel Geržo <danger@rulez.sk> - 2011-04-24 11:49 +0200
Re: detecting newline character Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-04-24 14:50 +0200
csiph-web