From de4597785bb4c901375b7a85763f476cfdeca6e9 Mon Sep 17 00:00:00 2001
From: "Joshua D. Boyd" <jdboyd@jdboyd.net>
Date: Tue, 6 Jun 2023 13:59:25 -0400
Subject: [PATCH 1/2] Remove \ from . in dumps.

Fixes #13 and #9.
---
 sexpdata.py      | 2 +-
 test_sexpdata.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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'\#'),
     ]
 
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'))
 

From b8ff78afff816f81ed6e86b067785c5d9a481ab0 Mon Sep 17 00:00:00 2001
From: "Joshua D. Boyd" <jdboyd@jdboyd.net>
Date: Tue, 6 Jun 2023 14:03:17 -0400
Subject: [PATCH 2/2] Reduce number of test matrix options for macOS.

---
 .github/workflows/tests.yaml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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: