From 02ac20a43c35f225910a1236f7d8686f3ea80857 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 10 Dec 2020 13:51:55 -0500 Subject: [PATCH 1/2] Include Python 3.9 in CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e271ff..d2f6237 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python: ['3.7', '3.8'] + python: ['3.7', '3.8', '3.9'] spawn_backend: ['trio', 'mp'] steps: - name: Checkout From b040cdc0c9ebffe4bc0156d94d05a433cc20bc35 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 23 Dec 2020 12:57:05 -0500 Subject: [PATCH 2/2] Add null byte guard from mainline --- tractor/_forkserver_override.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tractor/_forkserver_override.py b/tractor/_forkserver_override.py index c515510..25134ff 100644 --- a/tractor/_forkserver_override.py +++ b/tractor/_forkserver_override.py @@ -120,7 +120,8 @@ class PatchedForkServer(ForkServer): with socket.socket(socket.AF_UNIX) as listener: address = connection.arbitrary_address('AF_UNIX') listener.bind(address) - os.chmod(address, 0o600) + if not util.is_abstract_socket_namespace(address): + os.chmod(address, 0o600) listener.listen() # all client processes own the write end of the "alive" pipe;