Re: [sage-devel] Problem with mercurial-2.2.2.p0

2012-10-06 Thread Jeroen Demeyer
On 2012-10-05 23:59, Dan Drake wrote: > Someone (us? Mercurial people?) need to get an encoding line into those > source files. I think it's quite a challenge to get an encoding in the file *before* the #! line. -- You received this message because you are subscribed to the Google Groups "sage-d

Re: [sage-devel] Problem with mercurial-2.2.2.p0

2012-10-05 Thread Dan Drake
On Fri, 05 Oct 2012 at 08:46PM +0200, Jeroen Demeyer wrote: > I'd say it's a problem with Python. Python works fine with non-ASCII characters -- if you declare the encoding. I suppose you could say that needing to declare the encoding is the problem, but then Python would have to figure out the en

Re: [sage-devel] Problem with mercurial-2.2.2.p0

2012-10-05 Thread Volker Braun
Maybe time to upgrade to Python 3? Much improved unicode seems to be one of the major selling points... On Friday, October 5, 2012 7:46:56 PM UTC+1, Jeroen Demeyer wrote: > > On 2012-10-05 19:56, Dan Drake wrote: > > On Fri, 05 Oct 2012 at 10:32AM -0700, Aleksandar Markovic wrote: > >> SyntaxE

Re: [sage-devel] Problem with mercurial-2.2.2.p0

2012-10-05 Thread Jeroen Demeyer
On 2012-10-05 19:56, Dan Drake wrote: > On Fri, 05 Oct 2012 at 10:32AM -0700, Aleksandar Markovic wrote: >> SyntaxError: Non-ASCII character '\xc3' in file >> /home/aleksandar/Téléchargements/sage-5.3/local/bin/hg on line 1, but >> no encoding declared; see http://www.python.org/peps/pep-0263.html

Re: [sage-devel] Problem with mercurial-2.2.2.p0

2012-10-05 Thread Aleksandar Markovic
Thanks. It seems to work. I forgot those stupid french 'é' and 'è'! Aleks -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel

Re: [sage-devel] Problem with mercurial-2.2.2.p0

2012-10-05 Thread Dan Drake
On Fri, 05 Oct 2012 at 10:32AM -0700, Aleksandar Markovic wrote: > SyntaxError: Non-ASCII character '\xc3' in file > /home/aleksandar/Téléchargements/sage-5.3/local/bin/hg on line 1, but > no encoding declared; see http://www.python.org/peps/pep-0263.html for > details Mercurial is complaining bec

[sage-devel] Problem with mercurial-2.2.2.p0

2012-10-05 Thread Aleksandar Markovic
Hi, I am trying to install sage from source (since from binary it does not work), and I have a problem with mercurial-2.2.2.p0. I am working on fedora 17, on an Asus Ul-something. Here is the last part of the installation: SyntaxError: Non-ASCII character '\xc3' in file /home/aleksandar/Télé