On Sun, Jan 26, 2014 at 1:04 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > If there's a bug, it is that Python 2.7 doesn't > raise SyntaxError when called with -c and there are non-ASCII literals in > the source. Instead, it seems to be defaulting to Latin-1, hence the moji- > bake.
That might well be a bug! I was reading the PEP, which was pretty clear about it needing to be ASCII by default. It's not so clear about -c but I would expect it to do the same. ChrisA -- https://mail.python.org/mailman/listinfo/python-list