Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2267

Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.05; '2.x': 0.05; 'terry': 0.07; 'python': 0.07; '3.x': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'pm,': 0.11; 'subject:error': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'osx': 0.16; 'reedy': 0.16; 'subject:file': 0.16; 'happening': 0.19; "subject:' ": 0.19; 'jan': 0.22; 'code': 0.22; 'header:In-Reply-To:1': 0.22; 'right.': 0.22; 'trying': 0.23; 'installed': 0.29; 'to:addr :python-list': 0.32; 'header:X-Complaints-To:1': 0.34; 'header :User-Agent:1': 0.35; 'some': 0.37; 'exactly': 0.37; 'run': 0.37; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'comes': 0.39; 'header:Mime-Version:1': 0.39; 'header:Received:5': 0.40; 'mar': 0.64; 'believe': 0.66; '30,': 0.80
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file
Date Wed, 30 Mar 2011 22:36:43 -0400
References <f87a430c-2385-4731-9dfb-ecdfb07af0e5@i35g2000prd.googlegroups.com> <imvi69$d45$01$1@news.t-online.com> <2851a17f-cac9-43a5-bbf4-dcb2e22520ad@o15g2000prn.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host rain.gmane.org
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
In-Reply-To <2851a17f-cac9-43a5-bbf4-dcb2e22520ad@o15g2000prn.googlegroups.com>
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.24.1301539016.2990.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 82.94.164.166
X-Trace 1301539016 news.xs4all.nl 41102 [::ffff:82.94.164.166]:52773
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:2267

Show key headers only | View raw


On 3/30/2011 7:58 PM, Gnarlodious wrote:
> On Mar 30, 9:28 am, Peter Otten wrote:
>
>> You are trying to run your 3.x code with Python 2.x...
>
> You're right. Exactly why this started happening I don't know.

I believe recent Mac OSX comes with some 2.x installed as the default 
Python.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Gnarlodious <gnarlodious@gmail.com> - 2011-03-30 07:34 -0700
  Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-03-30 10:52 -0400
    Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Peter Otten <__peter__@web.de> - 2011-03-30 17:30 +0200
  Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Peter Otten <__peter__@web.de> - 2011-03-30 17:28 +0200
    Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Gnarlodious <gnarlodious@gmail.com> - 2011-03-30 16:58 -0700
      Re: Sudden error: SyntaxError: Non-ASCII character '\xc2' in file Terry Reedy <tjreedy@udel.edu> - 2011-03-30 22:36 -0400

csiph-web