
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

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
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

Yes that worked! THanks
https://phabricator.haskell.org/D2995
Will you make that change?
S
| -----Original Message-----
| From: Reid Barton [mailto:rwbarton@gmail.com]
| Sent: 20 January 2017 17:23
| To: Simon Peyton Jones

On Fri, Jan 20, 2017 at 12:50 PM, Simon Peyton Jones
Yes that worked! THanks https://phabricator.haskell.org/D2995
Will you make that change?
I have done so, in commit 5ff812c14594f507c48121f16be4752eee6e3c88. Regards, Reid Barton
S
| -----Original Message----- | From: Reid Barton [mailto:rwbarton@gmail.com] | Sent: 20 January 2017 17:23 | To: Simon Peyton Jones
| Cc: ghc-devs@haskell.org | Subject: Re: Arc doesn't work | | 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 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 | > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.h | > askell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc- | devs&data=02%7C01%7Csimonpj%40microsoft.com%7Cff94b190c13e4417c34808d44158fa | c2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636205297797264731&sdata=xYh | IGsBacpdYRuWbYB%2BYTc8Uh%2B0KfufpQbXM7gXfI4Q%3D&reserved=0 | >
participants (2)
-
Reid Barton
-
Simon Peyton Jones