Merge pull request #169 from goodboy/py3.9

Py3.9
deprecate_rpcmodpaths
goodboy 2020-12-27 14:30:39 -05:00 committed by GitHub
commit 3a5daa5b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
python: ['3.7', '3.8'] python: ['3.7', '3.8', '3.9']
spawn_backend: ['trio', 'mp'] spawn_backend: ['trio', 'mp']
steps: steps:
- name: Checkout - name: Checkout

View File

@ -120,7 +120,8 @@ class PatchedForkServer(ForkServer):
with socket.socket(socket.AF_UNIX) as listener: with socket.socket(socket.AF_UNIX) as listener:
address = connection.arbitrary_address('AF_UNIX') address = connection.arbitrary_address('AF_UNIX')
listener.bind(address) listener.bind(address)
os.chmod(address, 0o600) if not util.is_abstract_socket_namespace(address):
os.chmod(address, 0o600)
listener.listen() listener.listen()
# all client processes own the write end of the "alive" pipe; # all client processes own the write end of the "alive" pipe;