Repository: jd-boyd/sexpdata (language: python)

Issue:
More "\" in dumps 
Hi, can we disable ```'\'``` before ```'.'``` in the result?
```
>> print(dumps([Symbol('a.c'), Symbol('b')]))
(a\.c b)
```
I want to get the result ```a.c b```
Thanks,


Discussion / hints:
Having same issue here.
Same here.
You would have to remove `('.', r'\.')` from `Symbol._lisp_quoted_specials`. I don't know why this even exists in the first place

Fix patch:
diff --git a/sexpdata.py b/sexpdata.py
index 2cb77b8..99671f7 100644
--- a/sexpdata.py
+++ b/sexpdata.py
@@ -493,7 +493,7 @@ class Symbol(String):
         ('\\', '\\\\'),    # must come first to avoid doubly quoting "\"
         ("'", r"\'"), ("`", r"\`"), ('"', r'\"'),
         ('(', r'\('), (')', r'\)'), ('[', r'\['), (']', r'\]'),
-        (' ', r'\ '), ('.', r'\.'), (',', r'\,'), ('?', r'\?'),
+        (' ', r'\ '), (',', r'\,'), ('?', r'\?'),
         (';', r'\;'), ('#', r'\#'),
     ]
 


Test patch:
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index d2eaeec..db21f0d 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -20,6 +20,19 @@ jobs:
           - ubuntu-latest
           - macos-latest
           - windows-latest
+        exclude:
+          # Macos runner is slowest, so reduce how many of the cases
+          # it does.
+          - os: macos-latest
+            python-version: 'pypy-3.8'
+          - os: macos-latest
+            python-version: 'pypy-3.9'
+          - os: macos-latest
+            python-version: 3.8
+          - os: macos-latest
+            python-version: 3.9
+          - os: macos-latest
+            python-version: "3.10"
     runs-on:  ${{ matrix.os }}
     name: ${{ matrix.os }} @ ${{ matrix.python-version }}
     steps:
diff --git a/test_sexpdata.py b/test_sexpdata.py
index 30dde73..53bbca9 100644
--- a/test_sexpdata.py
+++ b/test_sexpdata.py
@@ -70,7 +70,7 @@ def assert_parse(self, string, obj):
 class TestSymbol(BaseTestCase):
 
     def test_parse_symbol_with_backslash(self):
-        self.assert_parse(r'path\.join', Symbol(r'path.join'))
+        self.assert_parse(r'path.join', Symbol(r'path.join'))
         self.assert_parse(r'path\ join', Symbol(r'path join'))
         self.assert_parse(r'path\\join', Symbol(r'path\join'))