Thanks -- I thought that a while ago we agreed not to have non-7-bit characters (e.g. in names of Authors). But it is weird that sage-main runs fine whlie the clone does not.
John 2009/2/27 mabshoff <[email protected]>: > > > > On Feb 27, 1:26 pm, John Cremona <[email protected]> wrote: > > Hi John, > >> From my newly built 3.4.alpha0 I made a clone but it will not run, >> complaining about things like this: >> >> SyntaxError: Non-ASCII character '\xc3' in file >> /home/john/sage-3.4.alpha0/local/lib/python2.5/site-packages/sage/combinat/ >> sloane_functions.py >> on line 6381, but no encoding declared; >> seehttp://www.python.org/peps/pep-0263.htmlfor details >> (sloane_functions.py, line 6380) >> >> That one is Mobius, spelled Mo"bius (with an o-umlaut character). And >> before that I had a problem with Gro"bner in interfaces/singular.py. >> >> Is this somehow caused by the ReST/Sphinx stuff? It is hard to review >> patches when clones don't run... > > Yes, in Python files we deal with this by setting an encoding. It > might be time to get rid of non-7 bit ASCII characters in the > documentation - I complained about this a while ago in sage-combinat- > devel. > > If we cannot set encoding in ReST files I will fix the problem before > 3.4.rc0 is out tonight. I made this a 3.4 blocker at #5398. > >> John > > Cheers, > > Michael > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
