From the python 3 reference: New in version 3.3: The 'rb' prefix of raw bytes literals has been added as a synonym of 'br'.
Simon, can you try replacing that occurrent of rb by br and see whether that fixes it? Just the one on the line it complained about. Regards, Reid Barton On Fri, Jan 20, 2017 at 10:50 AM, Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> wrote: > I can’t use arc. At the end of ‘arc diff’ it says > > Exception > > Some linters failed: > > - CommandException: Command failed with error #1! > > COMMAND > > python3 .arc-linters/check-cpp.py 'compiler/basicTypes/Id.hs' > > > > STDOUT > > (empty) > > > > STDERR > > File ".arc-linters/check-cpp.py", line 28 > > r = re.compile(rb'ASSERT\s+\(') > > ^ > > SyntaxError: invalid syntax > > > > (Run with `--trace` for a full exception trace.) > > > > simonpj@cam-05-unx:~/code/HEAD-3$ python3 --version > > python3 --version > > Python 3.2.3 > > Alas. > > Simon > > > _______________________________________________ > ghc-devs mailing list > ghc-devs@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs > _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs