Martin <gzl...@googlemail.com> added the comment:
Our production system hit this issue using Python 3.6.7 once a few days ago, so presumably the race is still possible with the applied patch, just less likely? ``` RuntimeError: dictionary changed size during iteration at _decompose (/usr/lib/python3.6/enum.py:858) at _create_pseudo_member_ (/usr/lib/python3.6/enum.py:773) at _missing_ (/usr/lib/python3.6/enum.py:764) at __new__ (/usr/lib/python3.6/enum.py:535) at __call__ (/usr/lib/python3.6/enum.py:293) at __or__ (/usr/lib/python3.6/enum.py:800) at create_urllib3_context (/usr/local/lib/python3.6/dist-packages/urllib3/util/ssl_.py:279) at connect (/usr/local/lib/python3.6/dist-packages/urllib3/connection.py:332) at _validate_conn (/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py:839) at _make_request (/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py:343) at urlopen (/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py:600) at send (/usr/local/lib/python3.6/dist-packages/requests/adapters.py:449) at send (/usr/local/lib/python3.6/dist-packages/requests/sessions.py:646) at request (/usr/local/lib/python3.6/dist-packages/requests/sessions.py:533) at __call__ (/usr/local/lib/python3.6/dist-packages/google/auth/transport/requests.py:120) at _token_endpoint_request (/usr/local/lib/python3.6/dist-packages/google/oauth2/_client.py:106) at jwt_grant (/usr/local/lib/python3.6/dist-packages/google/oauth2/_client.py:145) at refresh (/usr/local/lib/python3.6/dist-packages/google/oauth2/service_account.py:322) at before_request (/usr/local/lib/python3.6/dist-packages/google/auth/credentials.py:122) at request (/usr/local/lib/python3.6/dist-packages/google/auth/transport/requests.py:198) at wait_and_retry (/usr/local/lib/python3.6/dist-packages/google/resumable_media/_helpers.py:146) at http_request (/usr/local/lib/python3.6/dist-packages/google/resumable_media/requests/_helpers.py:101) at consume (/usr/local/lib/python3.6/dist-packages/google/resumable_media/requests/download.py:169) at _do_download (/usr/local/lib/python3.6/dist-packages/google/cloud/storage/blob.py:498) at download_to_file (/usr/local/lib/python3.6/dist-packages/google/cloud/storage/blob.py:560) ``` ---------- nosy: +gz _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue29167> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com