bpo-38008: Move builtin protocol whitelist to mapping instead of list (GH-15647)


Fixes https://bugs.python.org/issue38008
(cherry picked from commit 692a0dc91597b7fb350383b633dc4d044cbd360e)

Co-authored-by: Divij Rajkumar <drajkuma1@gmail.com>
3 files changed