Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3945
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <danger@rulez.sk> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.036 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'bug': 0.02; 'indicates': 0.09; 'newline': 0.09; 'wrote:': 0.14; 'seems': 0.21; 'header:In- Reply-To:1': 0.22; 'tests': 0.26; 'daniel': 0.29; 'fine.': 0.29; 'universal': 0.29; 'to:addr:python-list': 0.32; 'module': 0.33; 'there': 0.35; 'header:User-Agent:1': 0.35; 'module.': 0.35; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'best': 0.60; 'received:188': 0.75; 'received:188.40': 0.84 |
| X-Virus-Scanned | amavisd-new at rulez.sk |
| Date | Sun, 24 Apr 2011 10:21:45 +0200 |
| From | Daniel Geržo <danger@rulez.sk> |
| User-Agent | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17pre) Gecko/20110414 Lanikai/3.1.10pre |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| 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> |
| In-Reply-To | <4d21a2c2-ff43-488f-8d12-b17f0bb94da1@q21g2000vbs.googlegroups.com> |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.791.1303633309.9059.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1303633309 news.xs4all.nl 32470 [::ffff:82.94.164.166]:59609 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3945 |
Show key headers only | View raw
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